<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial><FONT size=2><SPAN class=410261822-17072002>Hi,
</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=410261822-17072002></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=410261822-17072002>I try to use
check_snmp to get the free memory from a network devices, and I am able to use
snmpget, see below:</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=410261822-17072002></SPAN></FONT></FONT> </DIV>
<DIV><SPAN class=410261822-17072002></SPAN><FONT face=Arial><FONT size=2><SPAN
class=410261822-17072002>$</SPAN>snmpget -c <SPAN
class=410261822-17072002>public 1.1.1.1</SPAN>
.1.3.6.1.4.1.1872.2.1.8.12.2.0<SPAN class=410261822-17072002>
</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=410261822-17072002>SNMPv2-SMI::enterprises.1872.2.1.8.12.2.0 = Counter32:
148430761</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=410261822-17072002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=410261822-17072002>and here's what
check_snmp and output</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=410261822-17072002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=410261822-17072002>$check_snmp -H
1.1.1.1 -o .1.3.6.1.4.1.1872.2.1.8.12.2.0<SPAN class=410261822-17072002> -w
100000000 -c 50000000 -C public</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=410261822-17072002><SPAN
class=410261822-17072002>SNMP problem - No data received from host<BR>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</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=410261822-17072002><SPAN
class=410261822-17072002></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=410261822-17072002><SPAN
class=410261822-17072002>What I want is when the memory less 100000000 set to
warning, and less 50000000 set to critical.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=410261822-17072002><SPAN
class=410261822-17072002></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=410261822-17072002><SPAN
class=410261822-17072002>Any help would be
appreciated.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=410261822-17072002><SPAN
class=410261822-17072002></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=410261822-17072002><SPAN
class=410261822-17072002>Thanks,</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=410261822-17072002><SPAN
class=410261822-17072002></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=410261822-17072002><SPAN
class=410261822-17072002>Li</SPAN></SPAN></FONT></DIV></BODY></HTML>