R: R: R: R: No output on check_snmp

Marco Borsani m.borsani at it.net
Mon Mar 19 13:42:50 CET 2007


Here it is the lines regarding check_snmp:

 

# 'check_snmp' command definition

define command{

        command_name    check_snmp

        command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -C
$ARG2$

        }

 

They have default path

 

Marco

  _____  

Da: Rob Blake [mailto:rob.blake at gmail.com] 
Inviato: lunedì 19 marzo 2007 12.38
A: Marco Borsani
Cc: Luca Fornasari; Evans, Michael; nagios-users at lists.sourceforge.net
Oggetto: Re: [Nagios-users] R: R: R: No output on check_snmp

 

On 3/19/07, Marco Borsani <m.borsani at it.net> wrote:

Luca,

I run as root or nagios user from command line, and receiving same (correct)
answers like:
./check_snmp -H 151.1.XXX.YYY -o .1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6 -C
ABCDEF
SNMP OK - 16788 | iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=16788 ;;;;

Marco



What's your command defintion? Does it have the correct path to the plugin?

Rob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070319/418e27eb/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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