<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yeah, mine works now, I've wrapped it up in a shell script. I actually
used<br>
<br>
echo -e "$hostname\t$service\t...."<br>
<br>
since I think it's more clear. Significant whitespace is rubbish, just
don't say that in front of any python programmer.... like all the guys
at my company! <span class="moz-smiley-s1"><span> :-) </span></span><br>
<br>
<br>
<br>
-h<br>
<pre class="moz-signature" cols="72">Hari Sekhon
</pre>
<br>
<br>
Owen Berry wrote:
<blockquote
 cite="mid763ca2a0611281143y4e6a5e91q75c8eee36306bbeb@mail.gmail.com"
 type="cite">
  <pre wrap="">The send_nsca I'm running is expecting tab separated fields on stdin
by default. Try running it without arguments to see what your version
expects. This works for me:

echo "testhost    TestService     0    OK" | bin/send_nsca nagiossvr
-c etc/send_nsca.cfg

The spaces in the echo are actually tabs.

Owen

On 11/28/06, Hari Sekhon <a class="moz-txt-link-rfc2396E" href="mailto:hpsekhon@googlemail.com"><hpsekhon@googlemail.com></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap=""> hmm, the plugin is the check_mailq plugin, which outputs the following:


 /usr/nagios/libexec/check_mailq -M postfix -w 500 -c 1000
 OK: mailq (33) is below threshold (500/1000)|unsent=33;500;1000;0

 Thanks, after pulling my hair out trying to understand this I feel like I
have a lead again... (I also tried echo and got the same thinking it's a
general fault in not sending)

 -h
 Hari Sekhon

    </pre>
  </blockquote>
  <pre wrap=""><!---->
-------------------------------------------------------------------------
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
<a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

  </pre>
</blockquote>
</body>
</html>