SEND_NSCA mimic login method

Michal Polonski michal at abuzz.com.au
Wed Nov 10 00:15:20 CET 2004



>That's exactly what I've been trying to do, with no success because I 
>haven't been able to figure out how NSCA authenticates with nagios. I 
>can connect, just not authenticate and keep a session opent to send the 
>status through to it..

>IIRC, NSCA *doesn't* authenticate with Nagios.  Because the nsca daemon is
running as the nagios >user, it has write permission the the rw/nagios.cmd
named pipe, and just drops a command into 
>there.

>Note that this is how the web interface works, in part.  You can actually
drop *any* Nagios 
>command in here (eg, schedule downtime, disable monitoring, etc etc) as
well as status 
>notifications.

>Of course I may be totally wrong, in which case someone will surely let me
know in about 0.1usec 
>:)

>Steve

How is that possible when I run send_nsca, I have to declare the config file
that contains a password..

send_nsca.exe -H 0.0.0.0 -p 5667 -c config.txt

??





-------------------------------------------------------
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