WG: check_snmp

Bock, Christian Christian.Bock at liz.lsa-net.de
Wed Apr 14 17:45:21 CEST 2004


  Hi Tom,
 
  have you been able to solve your problem?
  Please let me know, 'cause I just run into
  the same problem.
 
  The details:
 
  #check_snmp -H 1.2.3.4 -o .1.3.6.1.2.1.25.2.3.1.4.4 -C
  community -t 1234 SNMP problem - No data recieved from host
  CMD: /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c
  community 1.2.3.4:161  .1.3.6.1.2.1.25.2.3.1.4.4
 
  executing the CMD-Line give a positive result !!!
 
  what also is strange: -t <whatsoever> is not
  recognized/accepted ( always -t 1 in CMD-Line )
 
 
  Plugin-Version:
 
  check_snmp (nagios-plugins 1.4.0alpha1) 1.36
  ... but doesn't matter 'cause 1.3.1 also does not work :-(
 
 
  OS:
 
  Solaris
 
  Thanks in advance,
 
  chris
 
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: nagios-users-admin at lists.sourceforge.net
>>>> [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von
>>>> Tom Welsh Gesendet: Mittwoch, 25. Februar 2004 13:08
>>>> An: nagios-users at lists.sourceforge.net
>>>> Betreff: [Nagios-users] check_snmp
>>>> 
>>>> 
>>>> Hi All,
>>>> 
>>>> Anyone help me out with a sample snmp check command. I cant seem
>>>> to get mine to return anything. 
>>>> 
>>>> The system specs are as folows
>>>> 
>>>> Solaris 2.8
>>>> Nagios 1.2
>>>> Plugins 1.3.1
>>>> Net-SNMP 5.1
>>>> 
>>>> SNMP is working as if i do
>>>> 
>>>> snmpwalk -v 2c -c community name 10.10.10.10
>>>> 
>>>> I get info returned like the below.
>>>> 
>>>> iso.3.6.1.2.1.25.6.3.1.2.1 = STRING: "Active Ports"
>>>> 
>>>> I want to retrieve MS SQL Server info via SNMP and I have copied
>>>> the relevant MIB to my mib directory.
>>>> 
>>>> When i try a check_snmp command from the command line this is the
>>>> out put i get... 
>>>> 
>>>> ../libexec/check_snmp -H 10.10.10.10 -v 2 -o
>>>> 1.3.6.1.4.1.311.1.4.1.1.8.1.2  -w 2 -c 5 -C communityname -p 161 -m
>>>> ALL /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c communityname
>>>> 10.60.0.100:161  1.3.6.1.4.1.311.1.4.1.1.8.1.2
>>>> 
>>>> SNMP problem - No data recieved from host
>>>> CMD: /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c romobitel
>>>> 10.10.10.10:161  1.3.6.1.4.1.311.1.4.1.1.8.1.2
>>>> 
>>>> Any one see what im doing wrong as this is my first time using
>>>> snmp. 
>>>> 
>>>> Any help greatly recieved.
>>>> 
>>>> Cheers
>>>> 
>>>> Tom Welsh
>>>> 
>>>> 
>>>> -------------------------------------------------------
>>>> SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and
>>>> deploy apps & Web services for Linux with a free DVD software kit
>>>> from IBM. Click Now!
>>> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
>>>> _______________________________________________
>>>> Nagios-users mailing list Nagios-users at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>>>>>> Please include Nagios version, plugin version (-v) and OS when
>>>>>>> reporting any issue. Messages without supporting info will risk
>>>>>>> being sent to /dev/null 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list