Page 1 of 1

C# check

Posted: Fri Apr 25, 2014 3:39 am
by zamykiller
Hello everybody,

I need to make a .exe file that check of the given up multicast stream is availible.
I need to check this with NRPE.

I am writing in C#. I already make the code for checking if the multicast stream is availble.

This is working fine. But i don't know how or what i need to return so NSClient can return this with NRPE to my Nagios server.

Do you guys know any of this?

Thanks.

Have a nice day,
Zamykiller

Re: C# check

Posted: Fri Apr 25, 2014 9:42 am
by slansing
Yes, the plugin must provide an exit code and status output for each exit, the possible codes are 0,1,2,3. You can see the requirements here:

https://nagios-plugins.org/doc/guidelines.html