SEND_NSCA mimic login method
Andreas Ericsson
ae at op5.se
Mon Nov 8 13:32:27 CET 2004
Michal Polonski wrote:
> Hi All!
>
> I am trying to use passive checks to be able to send events to nagios.. not
> i know send_nsca can do this , but I'm trying to mimick its functionality
> and do it myself..
>
> I have only got as far as connecting to the socket using hostIP and Port,
> but my question is: how do I authenticate to the nagios server? - do I send
> a passsword in a string formatted in a certain way upon connecting? what's
> the syntax?
>
> Searched the net, no help... can anyone here help?
>
Why would you want to mimic it when it seems to work just fine as it is?
For an indepth explanation of how send_nsca works, read its
documentation. If that doesn't help, read its source. It's open, you know.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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