SEND_NSCA mimic login method
Michal Polonski
michal at abuzz.com.au
Mon Nov 8 23:26:14 CET 2004
The problem is that I have to use VB with send_nsca and I can't seem to hold
its open state, anotherwords, when I call send_nsca to connect to nagios, it
connects fine, but I can't seem to hold the terminal window or std_out in
order to send further status checks etc..
if there's another way of embedding send_nsca into VB, I'd be greatful to
hear it. Other than that I'm trying to get VB to connect to Nagios as a
socket connection, the only problem I'm having is authentication, even
without any encryption. How and when to authenticate is the issue.. I've
read through the source code, but it yelds no clues..
Thanks again
Mike
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas
Ericsson
Sent: Monday, 8 November 2004 11:32 PM
To: michal at abuzz.com.au
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] SEND_NSCA mimic login method
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
-------------------------------------------------------
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