<br><br><div><span class="gmail_quote">On 3/19/07, <b class="gmail_sendername">Marco Borsani</b> <<a href="mailto:m.borsani@it.net">m.borsani@it.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="blue" lang="IT">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hi all</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">The problem could be the
pipe "|" in the return code of the command check_snmp ..</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">OK – 18582<b><span style="font-weight: bold;"> |</span></b> <b><span style="font-weight: bold;">
</span></b>iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=18582</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">What can I do not
understand is WHY before, the pipe "|" was read and processed by
nagios without any problem ?!?!?</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Is it a new features/bug for
release 1.4.3 ?</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Marco</span></font></p></div></div></blockquote><div><br><br>The pipe is not the problem. The pipe in the output of the plugin is the delimeter for the plugin output and the plugin perfdata. This is a normal feature of most Nagios plugins.
<br><br>The problem is that Nagios cannot execute the plugin, so I would guess that you have a configuration error somewhere or a permissions issue. The command definition you posted earlier seems ok, but can you post an example service definition. What does ls -l in the $USER1$ macro directory show?
<br></div><br></div>Rob<br>