← Back to team overview

sslug-teknik team mailing list archive

nagios problemer med snmp½

 

Jeg gør et eller andet rigtigt og noget andet forkert med snmp, aix og
nagios på linux.
med snmpwalk kan jeg faa den rigtige information:

$snmpwalk -c public -v 1 172.24.6.18 1.3.6.1.2.1.25.3.3.1.2           
                          HOST-RESOURCES-MIB::hrProcessorLoad.1 =
INTEGER: 69

men check_snmp failer saadan her:
$ libexec/check_snmp -C public -H 172.24.6.18 -o 1.3.6.1.2.1.25.3.3.1.2 -v
/usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public 172.24.6.18:161 
1.3.6.1.2.1.25.3.3.1.2

SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public 172.24.6.18:161 
1.3.6.1.2.1.25.3.3.1.2



$  /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public 172.24.6.18:161 
1.3.6.1.2.1.25.3.3.1.2
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: HOST-RESOURCES-MIB::hrProcessorLoad

Nogle der har nogle hint til hjaelp ?

Mvh
Martin


--
"All general statements are false."
"If atheism is a religion, then not collecting stamps is a hobby."


Follow ups