[Nagiosplug-help] check_snmp
    Jackson Sie 
    jsie at quadrix.com
       
    Wed Jul 17 23:45:04 CEST 2002
    
    
  
Li,
I forget, but are you running Linux or Solaris?
If Solaris, the most likely answer is that snmpget, when invoked by
check_snmp, doesn't know where libz.so and libcrypto.so reside.  This is a
library path issue.
With Solaris 8, this can easily be fixed by running "crle" to update your
system-wide library search path. On Solaris 2.6 you may need to create
symlinks to your libz.so and libcrypto.so files in /usr/lib.
Hope this helps,
Jackson Sie
Senior Architect
Quadrix Solutions, Inc.
em: jsie at quadrix.com
  -----Original Message-----
  From: nagiosplug-help-admin at lists.sourceforge.net
[mailto:nagiosplug-help-admin at lists.sourceforge.net]On Behalf Of Qiang, Li
  Sent: Wednesday, July 17, 2002 6:35 PM
  To: 'nagiosplug-help at lists.sourceforge.net'
  Subject: [Nagiosplug-help] check_snmp
  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/a376a186/attachment.html>
    
    
More information about the Help
mailing list