Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Dec 17, 2018 4:50 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Try again if first SNMP failure
PostPosted: Mon Feb 19, 2018 12:44 pm 
Offline

Joined: Tue Oct 27, 2015 6:59 pm
Posts: 4
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?


Top
 Profile  
 
 Post subject: Re: Try again if first SNMP failure
PostPosted: Thu Feb 22, 2018 5:46 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1818
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.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Try again if first SNMP failure
PostPosted: Wed Mar 14, 2018 4:01 pm 
Offline

Joined: Tue Oct 27, 2015 6:59 pm
Posts: 4
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
https://forums.cacti.net/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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group