[Nagiosplug-devel] snmpv3 plugin ?

John P. Looney valen at tuatha.org
Tue Oct 29 10:08:04 CET 2002


 Hi, I tryed my hand at rolling my own check_snmp_v3 program, from the
source of check_snmp - but it's not going to well. I don't seem to
understand the massaging of the nagios-specific arguments.

 I added four v3 options (username,password,seclevel and auth method), and
it works sometimes. However:

# check_snmp_v3 -H 192.168.2.22 -o  .1.3.6.1.4.1.2021.9.1.7.1,.1.3.6.1.4.1.2021.9.1.9.1 \
  -U jinny -L authNoPriv -a MD5 -A jinnyjinny  
  -w ,80 -c ,90 -u 'kB free (','% used)' -l 'Disk Space'
Disk Space CRITICAL -  kB free ( *26948892* % used) 5
#

 So, somehow the arguments are skewed. I can give source of what I *have*
done to someone, if they have an SNMPv3 server to test it on. (as a diff,
because I was just changing the SRPM).

 Or, if someone knows a version of check_snmp that has v3 support, I'd
love to hear from them.

John





More information about the Devel mailing list