Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
Description
We've just standardized SNMP community across our devices, and this required manually updating the SNMP string for each device in obs.
It would be really useful if there was a way of asking discovery to run and attempt re-auth of any device it can't access.
Thanks!
Attachments
Activity
Comment |
[ _*General questions and device support can be discussed in [our Discord channel, click here to join|https://discord.gg/GjpNXKWm8W].*_ ---- Please make and attach additional information about the device: * full snmp dump from device: {noformat} snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk {noformat} _If device not support SNMP version 2c, replace -v2c with -v1._ * If you have problems with discovery or poller processes, please do and attach these debugs: {noformat} ./discovery.php -d -h <device> ./poller.php -d -h <device> {noformat} * additionally attach device and/or vendor specific MIB files ---- {color:#505F79}_This comment is added automatically._{color} ] |
Status | Original: Open [ 1 ] | New: Pending Response [ 10000 ] |
Specifically the intention here would be to implement some mechanism to test known snmp auth information against devices which are now being marked as down by snmp because they aren't responding with the existing auth.
This might be in poller.php directly, it might be poller.php setting a flag to queue a check in another process, or it might just be a script that can be run which will check reachability to all devices and do an auth-recheck on any devices it can't reach.
If done in poller.php or in another process it should not happen every poller cycle when the device is down. It would probably be best to allow poller.php to fail normally and set a flag in the database for recheck.