[Nagiosplug-help] check_snmp

Qiang, Li lqiang at verisign.com
Wed Jul 17 15:35:04 CEST 2002


Hi, 
 
I try to use check_snmp to get the free memory from a network devices, and I
am able to use snmpget, see below:
 
$snmpget -c public 1.1.1.1 .1.3.6.1.4.1.1872.2.1.8.12.2.0 
SNMPv2-SMI::enterprises.1872.2.1.8.12.2.0 = Counter32: 148430761
 
and here's what check_snmp and output
 
$check_snmp -H 1.1.1.1 -o .1.3.6.1.4.1.1872.2.1.8.12.2.0 -w 100000000 -c
50000000 -C public
SNMP problem - No data received from host
CMD: /usr/local/bin/snmpget -m ALL -v 1 1.1.1.1 public
.1.3.6.1.4.1.1872.2.1.8.12.2.0
 
What I want is when the memory less 100000000 set to warning, and less
50000000 set to critical.
 
Any help would be appreciated.
 
Thanks,
 
Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20020717/7e6df03b/attachment.html>


More information about the Help mailing list