summaryrefslogtreecommitdiff
path: root/lib/oxidized
AgeCommit message (Collapse)Author
2018-06-12allow configurable history size in statsSaku Ytti
2018-06-12rubycop fixSaku Ytti
2018-06-12useless branchingSaku Ytti
It will always be MAX_SIZE+1 after push
2018-06-12Honor mtime in statsSaku Ytti
Store N last mtimes
2018-06-12Merge branch 'master' of github.com:ytti/oxidizedSaku Ytti
2018-06-12add mtime and bump up versionSaku Ytti
Fixes performance regression
2018-06-11Add support for frr in new versions of cumulus - closes #1087 (#1375)Brad Searle
2018-06-08Remove more JunOS secrets (#1359)Zmegolaz
* Remove more JunOS secrets * Removed redundant junos secret replacements. Updated changelog. * Moved this change to Master in the changelog.
2018-06-08rc 0.57.1, fixup, todo + drop rails_best_practices (#1372)Wild Kat
2018-06-08We should resolve model firstSaku Ytti
So that input/output can be configured under model
2018-06-07Fix IP address assingmentSaku Ytti
Unsure what problem was being solved here originally, wish I had tests for expected behaviour :)
2018-06-07Updated HPE Comware - Issue #611 Fix (#1305)Adam
This change works for newer HPE Comware model switches and *shouldn't* cause any issues with the previous Comware models although past functionality hasn't been tested as I don't have an older model.
2018-06-07Refactor manager, take2Saku Ytti
Make all the add_* return falsy valuem and make all the callers raise, this has benefit that the caller has more information, like it can tell what node we were trying to load when model failed to load. We were only failing to do this in two places in the code, source and plugin.
2018-06-07oops, actually add the class to sourceSaku Ytti
2018-06-07Fix local file loadingSaku Ytti
Local files could never be loaded, as the name does not contain file extension, so check for their existance would always fail.
2018-06-07make login username/passord detection genericSaku Ytti
2018-06-07Refactor managerSaku Ytti
Main problem we're trying to solve is the silent failures. Requiring files will never fail, one user had problem loading their souce http.rb, which is obviously mandatory for them, but because it didn't fail, it lead to a much harder to understand bug down the line, as we tried to instansiate the 'nil' source. Reason why I did it like this was laziness, because I didn't have to care if or not the file exists, I always tried to load locally defined models, and just return empty hash if I couldn't find any. There may be other reasons and reliances that I've forgotten, but we'll fix them as they come. Such is life without proper testing.
2018-06-05edgecos overly verbose memory and uptime (#1366)Bartek
2018-06-03Add instructions to install ICUSaku Ytti
Since https://github.com/ytti/oxidized-web/commit/1d65a7999a9712b72976abd7a968f3c520d94d96 added charlock_holmes which requires ICU to be installed
2018-06-03bump up versionSaku Ytti
2018-06-03rubycop fixesSaku Ytti
2018-06-03fix testsSaku Ytti
2018-06-03Generalise stats countersSaku Ytti
Related to PR #1333 by @gs-kamnas
2018-06-03Merge pull request #1250 from vppencilsharpener/FortiOS-Pushytti
Rework the Exclusions for FortiOS
2018-06-03Create openbsd.rb (#1356)Albert Martinez
OpenBSD model implementation.
2018-05-30Rubocop fixSaku Ytti
2018-05-30rubocop fixesSaku Ytti
2018-05-30Add support for CambiumSaku Ytti
Initial HTTP support
2018-05-26Merge branch 'master' into FortiOS-PushWild Kat
2018-05-26clean up and rubocop complianceWild Kat
2018-05-26Comnet Microsemi Switch support (#1346)Juho Ylikorpi
* ComnetMicrosemiSwitch support
2018-05-19Update fortios.rb (#1345)benjaminAco
Remove SNMP v3 Auth & Priv Password.
2018-05-17Fix telnet (#1343)Bas van Elburg
* Fixed: fix debug logging (passed @log to telnet) * Fixed: call closed on sock of telnet instead of telnet
2018-05-11Enable 'enable' support for HP ProcurvesRobert (KHobbits)
2018-05-11Merge pull request #1336 from macaty/masterWild Kat
Create stoneos.rb
2018-05-10relax asyncos prompt requirementsWild Kat
2018-05-09reduce logspam - auth methods are debug, not infoWild Kat
2018-05-09tidy up and add references for stoneos modelWild Kat
2018-05-09Create stoneos.rbMarco Li
Add new model of Hillstone Networks StoneOS software
2018-05-07Merge pull request #1334 from gs-kamnas/nxos-refactorytti
Fix debug mode, properly comment NX-OS configs and normalize their line endings.
2018-05-07Convert NX-OS configs to have consistent line endings and comment them ↵Nash Kaminski
properly. Fix typo in launcher script.
2018-05-07Add counters to correctly track the number of runs, successes and failures.Nash Kaminski
2018-05-06Merge pull request #1331 from z00nx/pfsenseWild Kat
Added removal of secrets to pfsense
2018-05-06rubocop fixesytti
much value, wow, very readable
2018-05-06Merge pull request #1266 from ja-frog/masterytti
#1061 Handling devices that only prompt for password via SSH
2018-05-06Added removal of secrets to pfsensez00nx 0
2018-05-04Merge pull request #1318 from wk/resolve-dnsytti
Introduce resolve_dns knob (closes #599)
2018-05-03Merge pull request #1327 from jsynack/qf-nodehooks-desyncytti
Quick-fix: repair some logic for @jobs_done.
2018-05-03Merge pull request #1328 from wk/refactor-telnet-logytti
make telnet input logging same as ssh (closes #1060)
2018-05-02Quick-fix: repair some logic for @jobs_done.Jason Ackley
This small adjustment changes to only increment @jobs_done for a successful pull of a node or when the retries are exceeded and the node is abandoned for that cycle. Previously @jobs_done was incremented as soon as process() was called. The problem is that this incremented @jobs_done before knowing if the node completes OK or fails (And requires a retry). During a retry - the node to be requeued for processing - which would increment @jobs_done multiple times per node (up to retries count per node for a downed node). This causes @jobs_done to become out of sync with reality. One of the main impacts of this is when the :nodes_done hook gets called. This could cause the hook to fire mid-cycle and then not fire at the 'real' end of the interval which is the intent of :nodes_done. The next time it fires would be when the @jobs_done catches back up (in the NEXT cycle) to the @nodes.count.