NCSA not working, garbage when telnettting
Hari Sekhon
hpsekhon at googlemail.com
Tue Nov 28 20:37:38 CET 2006
that was exactly it, I echoed a line with the exact format and it worked
sending 1 packet. Thanks!
now the question is how to do this check_mailq and get the thing to
send. I guess a simple bash script will take case of this...
-h
Hari Sekhon
Hari Sekhon 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
>
>
>
> Owen Berry wrote:
>> Can we assume that check_test does actually output the check result in
>> the correct format. I can echo "" to send_nsca and it also says:
>>
>> 0 data packet(s) sent to host successfully.
>>
>> Owen
>>
>> On 11/28/06, Hari Sekhon <hpsekhon at googlemail.com> wrote:
>>
>>> I'm trying to implement ncsa which seems simple enough... except it's
>>> not working.
>>>
>>> I have made the passwords for both the client and server the same. The
>>> ports are default. I am using the client as follows
>>>
>>> check_test | send_nsca -H server -c /etc/nagios/send_nsca.cfg
>>> 0 data packet(s) sent to host successfully.
>>>
>>> At first I thought it might be passwords so I've tried 3 different ones
>>> on both sides, matched them exactly and eventually reduced then to 8
>>> chars to be safe.
>>>
>>> Then I put encryption=0 on both sides to try to see if even this would
>>> work, but it didn't, same result.
>>>
>>> So I netcatted the port on the server and got the following junk back:
>>>
>>>
>>> # nc server 5667
>>> ¶DEwu
>>> b àä0Ø»£ß¿á àSE±?ÌCø¥[aà¥åWZb#:FS÷ñÁÙû¢- at SÇ
>>> ffèx
>>> ÍÏ('2Lay?t{?f=qaß?¢3e¯?qµ?×?O(RPzQ?ÜË<PFÔ·?Ecã1/4?Il-º!Ê'>Oáf¡El?k^[[?1;2c
>>>
>>> # telnet server 5667
>>> Trying 192.168.1.89...
>>> Connected to server.mydomain.com
>>> Escape character is '^]'.
>>> 3Æòp??ðK!γ?g?¶ÈI?5tf%U§¬#ZAW
>>> 4X?T,DKNþÖfÊ._idÓÏ?)w6MÑx¥ò¬ý?ý¯EIþXHÔl(r)ë6ÝK
>>> ApÊHç?¹y;«%8.&6ÞlÝÄDz1u?gRx_Q_`çÙ#ÄEl?÷
>>> ]^]
>>> telnet> quit
>>> Connection closed.
>>>
>>>
>>> What on earth is going on with NSCA?
>>>
>>> I thought encryption=0 would send cleartext?
>>>
>>> Any ideas?
>>>
>>>
>>> Thanks
>>>
>>> -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
>>>
>>
>> -------------------------------------------------------------------------
>> 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/a86e82fc/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