check_snmp hangs
"Broughton, Brian" <[email protected]>
| Newsgroups | gmane.network.nagios.plugins |
|---|---|
| Message-ID | <B7E29EA4D85C634BB53AE0435724CAD90C768EFDFE@SrvExch1.PPHeartland.local> |
I originally posted this issue to Nagios forums but was directed to present this issue to developers of the plugin, see below. Issue Under Host Groups I have the following problem, the uptime on the router is listed as critical, (Service Check Timed Out) Log file has the following entry Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: PROBLEM\n\nService: Uptime\nHost: RD Cisco 8818\nAddress: 192.168.xxx.xxx\nState: CRITICAL\n\nDate/Time: Wed Nov 28 12:49:00 CST 2012\n\nAdditional Info:\n\n(Service Check Timed Out)\n" When I manually run check_snmp it hangs. /usr/local/nagios/libexec# ./check_snmp -H 192.168.xxx.xxx -o iso.3.6.1.2.1.1.3.0 -c comname -p2c While check_snmp is running I ran: ps -aux | grep snmp I get the following output; /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c -c 192.168.xxx.xxx:161 iso.3.6.1.2.1.1.3.0 When I manually run snmpget it will return; snmpget -t 1 -r 5 -m ALL -v 2c -c comname 192.168.xxx.xxx:161 iso.3.6.1.2.1.1.3.0 iso.3.6.1.2.1.1.3.0 = Timeticks: (406909583) 47 days, 2:18:15.83 The community name is not being passed, is this normal? I have the proper community name listed in switch.cfg, not sure what else I can do. This is my first pass at setting up and using nagios. Using Ubuntu 12.10 fresh install. [cid:image001.png-WvXaVym/[email protected]]<http://www.plannedparenthood.org/heartland/> Brian Broughton Network Administrator 1 Planned Parenthood of the Heartland 1171 7th Street, Des Moines, IA 50314 phone: 515.235.0435 fax: 515.280.9525 [email protected]<[email protected]> www.ppheartland.org<http://www.ppheartland.org/> ________________________________ NOTE: Confidential Information - This e-mail is for the sole use of the intended recipients and contains information belonging to Planned Parenthood of the Heartland, which is confidential and/or legally privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking of any action in reliance on the contents of this e-mail information is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by reply e-mail and destroy all copies of the original message. ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
image001.png
(image/png, 7.7 KB) - not displayed