summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-28fixes #202Saku Ytti
2015-09-27Merge pull request #200 from nickhilliard/br-fix-asa-cmd-orderytti
move "show inventory" up
2015-09-27Merge pull request #199 from nickhilliard/br-fix-ironware-show-moduleytti
some ironware devices are fixed config => no modules
2015-09-27Merge pull request #198 from nickhilliard/br-fix-ironware-cmd-orderytti
put "show run" at the bottom of oxidized output
2015-09-26move "show inventory" up to stop "show run" from being sandwiched in between ↵Nick Hilliard
comments
2015-09-26some ironware devices are fixed config => no modulesNick Hilliard
2015-09-26put "show run" at the bottom of oxidized outputNick Hilliard
2015-09-26Merge pull request #197 from nickhilliard/masterytti
fix white space and CR problems on xos model
2015-09-26fix white space and CR problems on xos modelNick Hilliard
2015-09-25Merge pull request #193 from skoef/masterytti
only send username when username is set at all
2015-09-25cleaned up conditionalReinier Schoof
2015-09-25only send username when username is set at allReinier Schoof
Some of my switches don’t expect any username on telnet. This change allows me to leave the username field effectively empty for a switch.
2015-09-24Merge pull request #192 from roock/masterytti
model/comware: ignore lines with uptime (ingore case!) for real
2015-09-24model/comware: ignore lines with uptime (ingore case!) for realRoman Pertl
2015-09-21Merge pull request #188 from skares/patch-1ytti
Update powerconnect.rb
2015-09-21Update powerconnect.rbskares
Add :ssh Username and Password login.
2015-09-17Merge branch 'master' of github.com:ytti/oxidizedSaku Ytti
2015-09-17restore ruby 1.9.3 compatibility0.8.1Saku Ytti
fix some whitespaces bump up gemspec version
2015-09-15Merge pull request #187 from cfiske/masterytti
Add Arista and Cisco Nexus syslog detection
2015-09-14Add Arista and Nexus syslog detectionclay_fiske
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