summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2016-02-19use `OXIDIZED_HOME` env variable for root config directoryDanilo Sousa
this provides a way to isolate the oxidized without touching the user home directory, useful for init.d scripts and others.
2016-02-19fix 'GithubRepo#single_repo?' private methodDanilo Sousa
2016-02-19Merge pull request #324 from roedie/add-motorola-wmytti
Add support for Motorola wireless controllers
2016-02-19Rename to be consistentroedie
2016-02-19Update descriptionroedie
2016-02-19Made the vars stringsroedie
Tested, and is even better.
2016-02-19Add comment marks to metadataroedie
2016-02-19Merge pull request #328 from roedie/fix-sshkexytti
Add support to specify cipher and kex for ssh connections
2016-02-19Add support to specify cipher and kex for ssh connectionsroedie
Some network equipment exists that does not want to play nice with ssh. This adds the vars ssh_encryption and ssh_kex which can be used to make tell oxidized to use certain encryption and key exchange so it can connect to these devices.
2016-02-18create tests for `GithubRepo#validate_cfg!` methodDanilo Sousa
2016-02-18fix `githubrepo` hook for groups repositories remotesDanilo Sousa
when there was a repository per group we could not use the hook for pushing since we only had **one** remote configured. This PR configures each repository its own remote based in the `groups` config, as follows: ``` --- groups: first: remote_repo: git@gitlab.lab:oxidized/first.git second: remote_repo: git@gitlab.lab:oxidized/second.git ```
2016-02-18Fix fortios more promptroedie
To make this work, the timeout must be high as wel. About 120 sec in my tests
2016-02-18`Node#repo` should return the node group repositoryDanilo Sousa
2016-02-18Add support for Motorola wireless controllersroedie
2016-02-18Add support for Ericsson Redbackroedie
2016-02-18Merge pull request #318 from danilopopeye/show-versionytti
show version option
2016-02-17create `-v` and `--version` optionsDanilo Sousa
2016-02-17Added support for "show virtual-chassis" output on Junos EX and QFX switchesBen Cardy
2016-02-15Create http.rbJeff Groom
2016-02-13Sort the config for AirOSTony Murray
Usually the config is sorted, but sometimes modifying the config moves things around. Using sort makes for nicer diffs.
2016-02-09Merge pull request #311 from Shopify/fortios-fixytti
strip the value of conf_file_ver
2016-02-09strip the value of conf_file_verElvin Efendi
2016-02-07additional secrets for IOSnopedial
2016-02-06version 0.12.2nopedial
2016-02-06Didnt handle no match foundNat Morris
2016-02-06bump versionnopedial
2016-02-06Merge pull request #309 from natm/mrv_ignore_datesytti
MRV master-os: Ignore configuration timestamps
2016-02-06ignore configuration datesNat Morris
2016-02-06set TERMnopedial
2016-02-05bump up versionnopedial
2016-02-05version 0.12.00.12.0nopedial
2016-02-04stripe system time value in fortigateElvin Efendi
2016-02-04Another fix for ironware fan speedsMike Bryant
2016-02-03We didn't wait for prompt after enableSaku Ytti
This makes the model racy, some might say broken.
2016-02-02Add EdgeSwitch Line RejectJacob Thomas
Addition of line reject to remove SNTP sync and uptime codes that change consistently into EdgeSwitch model file
2016-02-02Merge pull request #302 from ocadotechnology/add-opengearytti
Add OpenGear model
2016-02-02Add OpenGear modelMike Bryant
2016-02-01EdgeSwitch ModelJacob Thomas
Add model file to suit Ubiquiti EdgeSwitch. Assumes enable password is disabled via SSH.
2016-02-01Add another fan speed to the list of things to ignore for ironware (HI)Mike Bryant
2016-01-29Add F5 TMOS modelMike Bryant
2016-01-28Merge pull request #293 from ocadotechnology/fix-ironware-fanytti
Account for the MED-HI fan speed in ironware
2016-01-28Account for the MED-HI fan speed in ironwareMike Bryant
2016-01-28Added the regex for variable sflow idsSander Wegter
2016-01-28Added a substitue for the changing sflow timeout commandSander Wegter
2016-01-28Enable secret handling for AOSWMike Bryant
2016-01-28Strip more temperature and voltage output from different modelsMike Bryant
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