Age | Commit message (Collapse) | Author |
|
|
|
bump up gemspec
|
|
|
|
Probably the intention was
cfg.each_line.to_a[1..-3].map(&:rstrip).join("\n")
But as it's just incorrectly removed new line from last line, clearly
the rstrip has not been needed, so not gonna add it unless proven that
it's needed.
Spotted by @nickhilliard
|
|
cfg.repo needs to be fixed up with File.expand_path on init
|
|
|
|
smooth over ironware broken encoding
|
|
|
|
broken ironware cli occasionally swallows text
|
|
ironware prompt matches normal config
|
|
|
|
|
|
without trace
|
|
Also remove trailing whitespaces
|
|
Oxidized would throw:
----
/var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/jobs.rb:36:in `to_i': NaN (FloatDomainError)
from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/jobs.rb:36:in `new_count'
from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/jobs.rb:28:in `duration'
from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/jobs.rb:16:in `initialize'
from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/worker.rb:7:in `new'
from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/worker.rb:7:in `initialize'
from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/core.rb:21:in `new'
from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/core.rb:21:in `initialize'
from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/core.rb:12:in `new'
from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/core.rb:12:in `new'
from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/cli.rb:9:in `run'
from /var/lib/gems/2.1.0/gems/oxidized-0.7.2/bin/oxidized:9:in `<top (required)>'
from /usr/local/bin/oxidized:23:in `load'
from /usr/local/bin/oxidized:23:in `<main>'
---
When nodes.size == 0, this may happen when you have say one node in router.db which has non-existing model. Actual problem happens in jobs.rb:
@duration = @durations.inject(:+).to_f / @nodes.size
...
@want = ((@nodes.size * @duration) / @interval).to_i
Simplified:
a = 0.0 / 0
b = a.to_i
|
|
Fix Regex Warning
|
|
Fixing Regex Warning on Console:
/var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/model/routeros.rb:10: warning: nested repeat operator '+' and '?' was replaced with '*' in regular expression: /\[(?:\d+)?(/
|
|
|
|
|
|
|
|
Added support for non-enabled users. Also comment out "show slots"
|
|
|
|
|
|
|
|
|
|
closes #169
|
|
The current implementation is modular and allows users to define hooks
in several ways:
* Use one of the built-in hook types (currently only 'exec')
* Define their own Hook classes inside ~/.config/oxidized/hook
Exec hook type runs a user defined command with or without shell. It
populates a bunch of environment variables with metadata. The command
can either be run as synchronous or asynchronous. The default is
synchronous.
|
|
added copyright and license information
|
|
|
|
|
|
Add support for MRV Master-OS
|
|
Add Author and Message
|
|
|
|
Add Author and Message from a commit to a nodes version list
|
|
Fix Listening on Port
|
|
Forgot to remove the argument from being used, will cause some issues as it seems to listen on a random port otherwise!
|
|
|
|
Model: SAM1316-22 STU-C
ZyNOS version: V3.53(BVE.2)
|
|
Update syslog.rb
|
|
Update nodes.rb
|
|
Update routeros.rb
|
|
Change syslog.rb to use oxidized config file for options. I have to make these changes with every update to meet our needs (and perhaps others).
Not a big change, but it all appears to work fine for me :)
|
|
Fixing ability to queue with /node/next/<ip>
Was used in Issue #60 to fix the syslog daemon
|
|
Fix Prompt as RouterOS seems to send a lot of rubbish (at least using Telnet)
Add support for Telnet on RouterOS. Strip any colours from the output also.
|
|
Added support for EdgeOS
|
|
|
|
fix fetching when groups are used and single_repo: true
|
|
|
|
|
|
README.md: Introduce docs for output types
|