<div>Hi Matt,</div>
<div> </div>
<div>Sorry to let you know your a bit off,</div>
<div> </div>
<div>If you review the Source code of NSCA or NRPE </div>
<div>it is NOT expecting a string, </div>
<div>it is expecting a particular formated byte array.</div>
<div>where the begining of the Array is tested for Version# and Timestamps validation before event thinking about data.</div>
<div> </div>
<div>It is quickest to use an existing NSCA clients with NSCA, </div>
<div>I wrote a NSCA Client in C# and it took a lot longer than a day to get it working.</div>
<div> </div>
<div>TOny</div>
<div>(Author of NC_Net)</div>
<div> </div>
<div class="gmail_quote">On Thu, Jan 15, 2009 at 2:13 PM, Matthew Tice <span dir="ltr"><<a href="mailto:mjtice@gmail.com">mjtice@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I'm interested in using the nsca addon - but only the daemon.  I thought I could just open an tcp connection to the daemon and send my update manually:<br>
<br>echo "3\t1\tmt-ubuntu\tSMTP Availability\tFAIL\n" | netcat nocnag02 5667<br><br>I set the value decryption_method=0 in the server config file (because I'm not doing any encryption on the client end).<br>
<br>Is this possible?  I looked through the source and tried to create the necessary string - but I'm thinking I'm missing something.  Any ideas?  Feel free to tell me I'm way off here.<br><br>Matt<br><br>------------------------------------------------------------------------------<br>
This SF.net email is sponsored by:<br>SourcForge Community<br>SourceForge wants to tell your story.<br><a href="http://p.sf.net/sfu/sf-spreadtheword" target="_blank">http://p.sf.net/sfu/sf-spreadtheword</a><br>_______________________________________________<br>
Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>