Try again if first SNMP failure

Anything that you think should be in Cacti.

Moderators: Moderators, Developers

Post Reply
Author
Message
dsoodak
Posts: 4
Joined: Tue Oct 27, 2015 6:59 pm

Try again if first SNMP failure

#1 Post by dsoodak » Mon Feb 19, 2018 12:44 pm

Since SNMP is often low priority, you won't always get a response from a radio who's upstream or downstream traffic is maxed out. This makes it hard to sort out the devices which are actually having a communication problem. It would be nice to have an option to try again if the device was recently connected.

Does this feature already exist? If not, which function would it be best to modify to add it?

netniV
Cacti Guru User
Posts: 2682
Joined: Sun Aug 27, 2017 12:05 am

Re: Try again if first SNMP failure

#2 Post by netniV » Thu Feb 22, 2018 5:46 pm

There is a retries option under device defaults in settings. The default value is three, though I'm not sure if that applies to every snmp attempt or just how many times it can fail before it considers it down.

dsoodak
Posts: 4
Joined: Tue Oct 27, 2015 6:59 pm

Re: Try again if first SNMP failure

#3 Post by dsoodak » Wed Mar 14, 2018 4:01 pm

netniV wrote:There is a retries option under device defaults in settings. The default value is three, though I'm not sure if that applies to every snmp attempt or just how many times it can fail before it considers it down.
I did a search on that option cross referenced with my original question and found another post
viewtopic.php?f=2&t=55065
where someone experimentally determined that it isn't retries for every snmp attempt like I hoped. He also found that " snmp.c, at line 180, session.retries is hard set to 3" but debug output showed it was only called once before giving up.
I might try increasing the option next to it (SNMP Timeout) to see if that helps in my case.

Post Reply