Hi all

 

The problem could be the pipe “|” in the return code of the command
check_snmp ..

 

OK – 18582  |   iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=18582

 

What can I do not understand is WHY before, the pipe ”|” was read and
processed by nagios without any problem ?!?!?

 

Is it a new features/bug for release 1.4.3 ?

 

Marco

 

  _____  

Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Per conto di Marco
Borsani
Inviato: lunedì 19 marzo 2007 13.43
A: 'Rob Blake'
Cc: 'Evans, Michael'; [email protected]
Oggetto: [Nagios-users] R: R: R: R: No output on check_snmp

 

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:[EMAIL PROTECTED] 
Inviato: lunedì 19 marzo 2007 12.38
A: Marco Borsani
Cc: Luca Fornasari; Evans, Michael; [email protected]
Oggetto: Re: [Nagios-users] R: R: R: No output on check_snmp

 

On 3/19/07, Marco Borsani <[EMAIL PROTECTED]> 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

-------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to