Age | Commit message (Collapse) | Author |
|
So that input/output can be configured under model
|
|
Unsure what problem was being solved here originally, wish I had tests
for expected behaviour :)
|
|
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.
|
|
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.
|
|
|
|
Local files could never be loaded, as the name does not contain file
extension, so check for their existance would always fail.
|
|
|
|
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.
|
|
|
|
Since
https://github.com/ytti/oxidized-web/commit/1d65a7999a9712b72976abd7a968f3c520d94d96
added charlock_holmes which requires ICU to be installed
|
|
|
|
|
|
|
|
Related to PR #1333 by @gs-kamnas
|
|
Rework the Exclusions for FortiOS
|
|
OpenBSD model implementation.
|
|
|
|
|
|
Initial HTTP support
|
|
|
|
|
|
* ComnetMicrosemiSwitch support
|
|
Remove SNMP v3 Auth & Priv Password.
|
|
* Fixed: fix debug logging (passed @log to telnet)
* Fixed: call closed on sock of telnet instead of telnet
|
|
|
|
Create stoneos.rb
|
|
|
|
|
|
|
|
Add new model of Hillstone Networks StoneOS software
|
|
Fix debug mode, properly comment NX-OS configs and normalize their line endings.
|
|
properly. Fix typo in launcher script.
|
|
|
|
Added removal of secrets to pfsense
|
|
much value, wow, very readable
|
|
#1061 Handling devices that only prompt for password via SSH
|
|
|
|
Introduce resolve_dns knob (closes #599)
|
|
Quick-fix: repair some logic for @jobs_done.
|
|
make telnet input logging same as ssh (closes #1060)
|
|
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.
|
|
Initial OpenWrt support
|
|
|
|
|
|
|
|
Issues with some older boss switches that have the banner turned off. They still display the banner but it is just scrolls and no pause. The send "c" gets put at the prompt and you are now stuck. An easy fix is to just send new line so you get a new prompt and the next command does not get corrupt. Tested on about 100 BOSS switches and all working now.
|
|
|
|
|
|
|
|
|