check snmp problem and cant find the reason

jgking at packetstorm.org jgking at packetstorm.org
Fri Jan 24 14:03:23 CET 2003


Ok thats strange, the test box the -v switch works and on the production i 
get an invalid switch.

I had downloaded both plugin sets so maybe i have uploaded the wrong one 
to the production system.




On Thu, 23 Jan 2003, Subhendu Ghosh wrote:

> 
> Can you try running the plugin with a "-v" option (verbose mode - not 
> documented) - it prints the command and the output of the command.
> 
> -sg
> 
> 
> On Thu, 23 Jan 2003, Kelly Setzer wrote:
> 
> > > From: jgking at packetstorm.org
> > > 
> > > Ok i have 2 linux systems, one i test on and the other is where i deploy 
> > > after testing. On the test system everything works just fine. On the 
> > > production system nagios cannot get a return value from the snmp daemon.
> > > 
> > > 5. So as the nagios id i then run the libexec/check_snmp program passing 
> > > it the above information. It works as well
> > > 
> > > So what could be causing the nagios client to not be able to connect to 
> > > the snmpdaemon?
> > > 
> > > All im getting back on this box is "SNMP problem - No data recieved from 
> > > host "
> > 
> > I am having the same problem - intermittently.  I recently added SNMP
> > monitoring to a completely functional nagios installation.  I have
> > about 80 services that use check_snmp.  On two hosts, I see recurring
> > errors as above, "No data received from host".  We have 156 services
> > total that we are monitoring.
> > 
> > I've done extensive testing to prove to me that snmpget on the nagios
> > server functions correctly.  I also did some load testing against the
> > two problem hosts and was NEVER able to get snmpget to fail.
> > 
> > However, by putting a shell-script wrapper around snmpget and using that
> > to log all calls from check_snmp, I am seeing cases where check_snmp
> > *apparently* doesn't get any data back from snmpget.  I believe this
> > is an issue with check_snmp.
> > 
> > I have tried several versions of the net-snmp/ucd-snmp package on
> > both the nagios server and the affected hosts.  That had no effect.
> > I have tried both 1.3.0b2 and 1.3b1 of the nagios-plugins.  Persistently
> > "re-scheduling service checks" will cause this problem to disappear,
> > sometimes for several days at a stretch.
> > 
> > Kelly
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> > http://www.vasoftware.com
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 
> 
> 



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list