Question about using the NSCA addon
Anthony Montibello
amontibello at gmail.com
Fri Jan 16 02:55:57 CET 2009
Hi Matt,
Sorry to let you know your a bit off,
If you review the Source code of NSCA or NRPE
it is NOT expecting a string,
it is expecting a particular formated byte array.
where the begining of the Array is tested for Version# and Timestamps
validation before event thinking about data.
It is quickest to use an existing NSCA clients with NSCA,
I wrote a NSCA Client in C# and it took a lot longer than a day to get it
working.
TOny
(Author of NC_Net)
On Thu, Jan 15, 2009 at 2:13 PM, Matthew Tice <mjtice at gmail.com> wrote:
> 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:
>
> echo "3\t1\tmt-ubuntu\tSMTP Availability\tFAIL\n" | netcat nocnag02 5667
>
> I set the value decryption_method=0 in the server config file (because I'm
> not doing any encryption on the client end).
>
> 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.
>
> Matt
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090115/e830a726/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
-------------- next part --------------
_______________________________________________
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