[Nagiosplug-help] check_snmp bugs when using on Solaris

netadm netadm at liz.lsa-net.de
Thu Apr 15 03:38:08 CEST 2004


 Hi,

 I have a problem that has been discusses previously,
 but I still could not figure out the problem.
 
 The details:
 
 #check_snmp -H 1.2.3.4 -o .1.3.6.1.2.1.25.2.3.1.4.4 -C 
 community -t 1234 SNMP problem - No data recieved from host
 CMD: /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c 
 community 1.2.3.4:161  .1.3.6.1.2.1.25.2.3.1.4.4
 
 executing the CMD-Line gives a positive result !!!
 
 what also is strange: -t <whatsoever> is not 
 recognized/accepted ( always -t 1 in CMD-Line )
 

 OS:
 
 Solaris
 

 Plugin-Version:
 
 check_snmp (nagios-plugins 1.4.0alpha1) 1.36
 ... but doesn't matter 'cause 1.3.1 also does not work :-(

 
 SNMP:

 I tried 

 - net-snmp 5.0.? first 

 Next there's been an advisory to use 4.2, but no positive effects


 - ucd-snmp 4.2.6 

 compiling succeded only with changing the lines

        memset(key_sch, 0, sizeof(key_sch));
 to 
        memset(&key_sch, 0, sizeof(key_sch));

 ( see http://sourceforge.net/mailarchive/message.php?msg_id=5368513 )



 
 Thanks in advance,
 
 chris






More information about the Help mailing list