summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-14release new versionSaku Ytti
bump up gemspec
2015-09-14Merge branch 'master' of github.com:ytti/oxidized0.8.0Saku Ytti
2015-09-14Fix new line removalSaku Ytti
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
2015-09-14Merge pull request #186 from nickhilliard/masterytti
cfg.repo needs to be fixed up with File.expand_path on init
2015-09-14cfg.repo needs to be fixed up with File.expand_path on initNick Hilliard
2015-09-14Merge pull request #185 from nickhilliard/bf-utf8-encodingytti
smooth over ironware broken encoding
2015-09-13smooth over ironware broken encodingNick Hilliard
2015-09-13Merge pull request #182 from nickhilliard/masterytti
broken ironware cli occasionally swallows text
2015-09-13Merge pull request #184 from nickhilliard/bf-ironware-promptytti
ironware prompt matches normal config
2015-09-13ironware prompt matches normal configNick Hilliard
2015-09-13ironware prompt matches normal configNick Hilliard
2015-09-13workaround for broken ironware cli, which occasionally swallows input ↵Nick Hilliard
without trace
2015-09-13Expand repo's path, so that ~ worksSaku Ytti
Also remove trailing whitespaces
2015-09-12Fix FloatDomainError when 0 nodes are foundSaku Ytti
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
2015-09-06Merge pull request #176 from MrRJ45/patch-1ytti
Fix Regex Warning
2015-09-06Fix Regex WarningMrRJ45
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+)?(/
2015-09-06oops, presedence issueSaku Ytti
2015-09-05add support for setting ssh and telnet portSaku Ytti
2015-09-05Merge branch 'feature-hook'Saku Ytti
2015-09-02Merge pull request #172 from fstern/aosw_nonenabled_userytti
Added support for non-enabled users. Also comment out "show slots"
2015-09-02Added support for non-enabled users. Also comment out "show slots"Falk Stern
2015-08-31Add configuration docs for hook systemAnton Aksola
2015-08-29add fenced code blocksSaku Ytti
2015-08-29add docker informationSaku Ytti
2015-08-29Dockerfile from SamerSaku Ytti
closes #169
2015-08-28Initial implementation of the hook featureAnton Aksola
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.
2015-08-27Merge pull request #168 from hggh/add_copyrightytti
added copyright and license information
2015-08-26added copyright and license informationJonas Genannt
2015-08-26update readme about MasterOSSaku Ytti
2015-08-26Merge pull request #167 from kwibbly/masterytti
Add support for MRV Master-OS
2015-08-26Merge pull request #166 from MrRJ45/patch-6ytti
Add Author and Message
2015-08-26Add support for MRV MasterOSHannes Rist
2015-08-26Add Author and MessageMrRJ45
Add Author and Message from a commit to a nodes version list
2015-08-24Merge pull request #165 from MrRJ45/patch-5ytti
Fix Listening on Port
2015-08-24Fix Listening on PortMrRJ45
Forgot to remove the argument from being used, will cause some issues as it seems to listen on a random port otherwise!
2015-08-20fix ZynOS capitalizationSaku Ytti
2015-08-20Added support for Zyxel ZynOSSaku Ytti
Model: SAM1316-22 STU-C ZyNOS version: V3.53(BVE.2)
2015-08-15Merge pull request #163 from MrRJ45/patch-4ytti
Update syslog.rb
2015-08-15Merge pull request #162 from MrRJ45/patch-3ytti
Update nodes.rb
2015-08-15Merge pull request #161 from MrRJ45/patch-2ytti
Update routeros.rb
2015-08-15Update syslog.rbMrRJ45
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 :)
2015-08-15Update nodes.rbMrRJ45
Fixing ability to queue with /node/next/<ip> Was used in Issue #60 to fix the syslog daemon
2015-08-15Update routeros.rbMrRJ45
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.
2015-07-09Merge pull request #146 from laf/edgeosytti
Added support for EdgeOS
2015-07-09Added support for EdgeOSlaf
2015-07-07Merge pull request #145 from jwhited/masterytti
fix fetching when groups are used and single_repo: true
2015-07-06fix fetch for groups when single_repo: truejwhited
2015-07-05fix fetching when groups are used and single_repo: truejwhited
2015-06-24Merge pull request #140 from RichiH/feature/docs-output_typesytti
README.md: Introduce docs for output types
2015-06-24README.md: Introduce docs for output typesRichard Hartmann
Never gonna ytt you up Never gonna let you down