NCSA not working, garbage when telnettting

Hari Sekhon hpsekhon at googlemail.com
Tue Nov 28 21:11:30 CET 2006


Yeah, mine works now, I've wrapped it up in a shell script. I actually used

echo -e "$hostname\t$service\t...."

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! :-)



-h

Hari Sekhon



Owen Berry wrote:
> 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 <hpsekhon at googlemail.com> wrote:
>   
>>  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
>>
>>     
>
> -------------------------------------------------------------------------
> 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
> 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
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061128/efe4b53f/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