-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Seem to have come across a bug in check_snmp_perfstats that prevents it
from working correctly. It appears to call a subroutine to find the
SNMP community from a nonexistent table and defaults to using the
"public" SNMP community name, bypassing what's entered in the
commandline with the -C option. I fixed the problem by changing the
option in the SNMP session from:
# Create the SNMP session
my ( $s, $e ) = Net::SNMP->session(
-community => return_snmpcommunity($hostname),
-hostname => $hostname,
to
# Create the SNMP session
my ( $s, $e ) = Net::SNMP->session(
-community => $defaultcommunity,
-hostname => $hostname,
- --
Alex Hsia ==============================================================
NOAA/OAR Phone: (303)497-6351
Mailstop R/ESRL Mobile: (303)356-6545
325 Broadway e-mail: [email protected]
Boulder, CO 80305 PGP keyid: 8A482A90
========================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkva+1cACgkQVaMFXopIKpAH6QCgzG4YJ50xxS6EBZ+vUAgUTIG2
eVcAoMQHjKIQKiEkFYAViYvwEFPERBLa
=oLIa
-----END PGP SIGNATURE-----
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users