[Nagiosplug-help] snmp_check

Andreas Ericsson ae at op5.se
Thu Dec 8 14:53:00 CET 2005


steding at animedia.de wrote:
> Hi,
> 
> i use nagios version 2.04b and its still working fine. Thanks to all developer !
> But one small problem left.
> I monitor several win and linux servers with check_snmp v 1.57. This works fine.
> But when i try to check our WLAN D-Link Accesspoint by check_snmp i get an
> message in nagios like this: SNMP problem - No data received from host.
> 
> When i use check_snmp by hand its working:
> ./check_snmp -P 1 -H XXX.XXX.XXX.XXX -o sysUpTime.0 -C public
> and the result is
> SNMP OK - Timeticks: (813005800) 94 days, 2:20:58.00 |
> SNMPv2-MIB::sysUpTime.0=Timeticks: (813005800) 94 days, 2:20:58.00;;;;
> 

The only problem I've ever come across that causes this to happen is 
that MIB-files are installed that aren't readable by the Nagios user, 
and the testing is done manually as root.

Is that perhaps the case here too? You should always run the check 
manually as the same user as nagios runs as, and please mention it when 
reporting bugs if that's the case.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231




More information about the Help mailing list