Hi,<br><br>I've been trying to use nagios with snmp version 3.
Unfortunately, it seems that the check_snmp script formats the security
level for version three authentication incorrectly. All of these
commands are run by the nagios user. I also have all the authorization
information saved in an snmp.conf file readable by the nagios user<br>
<br>-----------------------<br><br>$ ./check_snmp -H hostname -o sysUpTime.0 -P 3 -L [authPriv] -v<br><br>yields:<br>/usr/bin/snmpget -t 1 -r 5 -m ALL -v 3 (null) hostname sysUpTime.0<br><br>SNMP problem - No data received from host<br>

CMD: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 3 [authpriv] hostname sysUpTime.0<br><br>-----------------------<br><br>(without seclevel specification): $ ./check_snmp -H hostname -o sysUpTime.0 -P 3 -v<br><br>yields:<br>/usr/bin/snmpget -t 1 -r 5 -m ALL -v 3 -l noAuthNoPriv hostname  sysUpTime.0<br>

<br>SNMP problem - No data received from host<br>CMD: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 3 [authpriv] hostname sysUpTime.<br><br>-----------------------<br><br>But the command:<br><br>snmpget -t 1 -r 5 -m ALL -v 3 tamarind sysUpTime.0 -l authpriv<br>

<br>produces the proper output from snmpget.<br><br>-----------------------<br><br>Basically, I want to know why the brackets are added and how I can get rid of them, or how I could make this command work.<br><br>Thank you,<br>
<font color="#888888">
<br>-Meggie</font>