New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve downed device detection #304
Comments
Going to move this to spine. Try Ping Sys Description or Ping Get next. |
Are you using php-snmp or Net-SNMP? If using php-snmp, u install it and restart Apache. |
What spine version were you using before? |
Previously was on cacti & spine 1.2.21 |
I don't think that spine is the issue here because it will take a response of missing OID as the host responded within ping.c. In poller.c, the other place it reads for these oids, it will assume a value to the polling information only if it gets it, but doesn't stop the process otherwise. I did spot one bug where the uptime OID check only applied to the one of the two uptime OIDs, so I have now applied it to both. |
Can i suggest you run spine in debug mode for this particular host and report the results back to us? |
I made some changes to the Cacti Core as well as spine, see how you get on. |
@netniV, is this resolved now? |
We haven't heard anything back and I believe the changes I made are for the better |
I'm tracking this also, i had noticed the same thing with "ping and" vs "ping or" just didn't have time to chase down the details. I have updated and will let you know tomorrow if i find time to dig in deeper. |
I can only test this issue once the fix push to the main release of cacti. I decided to install cacti-develop and spine-develop into my UAT cacti anyway.
LINE 240
|
@iskandarbasman use 1.2.x branch not develop |
This is working as expected now. If ping or snmp is in use and snmp stops responding the device is not down as long as it still answers a ping. Likewise if ping and snmp is in use if either one stops responding the device is down. |
The ping method "SNMP getnext" is the most compatible with all devices. Use it if you have issues. |
Describe the bug
Upgraded from Cacti 1.2.21 to 1.2.24 and noticed that Nokia Router graphs under VPRN has stopped polling.
After troubleshooting found that Downed Device Detection "Ping or SNMP Time" is causing the issue.
Reconfiguring Downed Device Detection to "Ping" ONLY resolves the problem.
Nokia router VPRN devices do not support SNMP uptime OID and in previous cacti version 1.2.21, Downed Device Detection "Ping or SNMP Time" was working well.
To Reproduce
Steps to reproduce the behavior:
When polling for devices that do not support SNMP uptime OID like Nokia Router using VPRN.
Change Downed Device Detection to "Ping or SNMP Time".
Polling stops for the device.
Expected behavior
Configuration is for "Ping or SNMP Time" and that expectation is that since this is OR statement, when the device is still pingable polling should be working.
Screenshots
The text was updated successfully, but these errors were encountered: