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?