summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2016-01-27Sort the nodes by last update on reloadMike Bryant
Reloading sets the node queue to the original order. If Oxidized was restarted, collected a couple of nodes, and was then reloaded, the new queue would have a node with a recent last end time. Thus, no new nodes would be collected until the first one passed its interval. Here the nodes are sorted on reload, to maintain the queue invariant.
2016-01-27If a reload operation changes the number of nodes, ensure @durations is updatedMike Bryant
Otherwise the average duration calculation will be wrong
2016-01-27Use the ceiling instead of the floor when calculating the desired number of jobsMike Bryant
If the number of jobs is large enough, using the floor won't guarantee completion within the desired interval. Example: - interval: 3600 - average duration: 5 - number of nodes: 900 This gives 1.25 as the desired number of threads. Flooring it means that nodes will only be collected once every ~75 minutes. By using the ceiling and slightly over-estimating the desired interval is achieved
2016-01-27fixes #288Saku Ytti
2016-01-27release 0.11.0Saku Ytti
2016-01-26Strip CPU Fan SpeedMike Bryant
On a 6000 series `show inventory` contains a line like `M3mk1 CPU Fan Speed 6490 RPMs` that should be stripped
2016-01-25SSH does not prompt for username/passwordSaku Ytti
Some devices, like Cisco WLC do not authenticate using SSH (ssh is noauth) and actually prompt for auth via shell. CiscoSMB is not one of those kits. We probably should do sepearate bug for the error messages this caused. ``` begin @username ? shell_login : expect(@node.prompt) rescue Timeout::Error raise PromptUndetect, [ @output, 'not matching configured prompt', @node.prompt ].join(' ') end ``` Here Timeout:Error is not raised by ```expect(@node-prompt)``` it is raised by ```shell-login```, which is triggered due to @username prompt set. Potential fixes 1. change the error to more generic one, covering both cases 2. add rescue in 'def shell_login' for Timeout::Error and report it there
2016-01-20option to use ssh proxy commandElvin Efendi
2016-01-18Merge pull request #270 from Shopify/fix-issue-268ytti
do not include executed command name in output
2016-01-18do not include executed command name in outputElvin Efendi
2016-01-17Added support for using basic auth in http sourcelaf
2016-01-15fixes issue #264Elvin Efendi
2016-01-06release 0.10.0Saku Ytti
2016-01-04merge versionElvin Efendi
2016-01-04Merge remote-tracking branch 'upstream/master' into merge-upstreamElvin Efendi
2015-12-29Fix groups vars.Tyler Christiansen
Fixes ytti/oxidized#242. Fixes ytti/oxidized-web#38. Added a check to verify the key exists for a group before returning. Might fic a group issue in ytti/oxidized#171.
2015-12-27expose git repo name and commit oid in hook mechanism and environment variablesNick Hilliard
2015-12-21Update fortios.rbasynet
Changing the regex makes possible to backup devices with FortiOS 4.x and long names
2015-12-17Identify Stackable SwitchesMrRJ45
Change how we identify stackable switches using the word "Unit" to identify this. This is more reliable than identifying the Model number.
2015-12-13do not commit when there is no diffElvin Efendi
2015-12-13refactor and fix bugs introduced with new changesElvin Efendi
2015-12-13let user configure which auth method to useElvin Efendi
2015-12-09keep the config output cleanElvin Efendi
2015-12-08warn when there is a conflictElvin Efendi
2015-12-07pull origin/master before pushingElvin Efendi
2015-12-07bug fixElvin Efendi
2015-12-04do not start new instance when there is one runningElvin Efendi
2015-12-04consider local repo mainElvin Efendi
2015-12-04user password username for github apiElvin Efendi
2015-12-03do not do syslogElvin Efendi
2015-12-01meh further hack not to barf on version for filesSaku Ytti
2015-11-25add placeholder 'version' method for file outputSaku Ytti
2015-11-23ignore frequently changing monitoring dataElvin Efendi
2015-11-23include executed command into outputElvin Efendi
2015-11-23use paranthesis for method callElvin Efendi
2015-11-23strip temprature and speed measurement from chassis environment outputElvin Efendi
2015-11-23include health and hardware info into configElvin Efendi
2015-11-23added support for Ciena SOAS 6.x device typeJeff Groom
2015-11-13githubrepo hook specElvin Efendi
2015-11-13do not rescue general exceptionElvin Efendi
2015-11-13raise more specific exception when required key is not presentElvin Efendi
2015-11-13a callback to push config changes to a remote repositoryElvin Efendi
2015-11-13better test framework, more specs and Travis CIElvin Efendi
2015-11-03Revert crash logging on fqdn - seems to crash oxidized...Marno van der Molen
2015-11-03Log crashes on node name instead of ip to ease troubleshootingMarno van der Molen
2015-11-03Adds optional debug output when loading hosts (resolving DNS)Marno van der Molen
2015-10-27Typo in Brocade NOS modelHarm van Tilborg
2015-10-20Merge pull request #122 from SaaldjorMike/remove-inventoryytti
Remove 'show inventory' from Cisco SMB model, since they do not recog…
2015-10-20Merge pull request #206 from skoef/masterytti
use different path for debug logging
2015-10-20Merge pull request #216 from nickhilliard/bf-comware-nul-promptytti
sometimes the comware prompt might have a leading nul char