I have nsclient++ installed on my windows 8 machine and I have include a custom .net exe to do some application monitoring for me. The nsclient++ has no issues running the exe and send the result to my nagios server. That part works.
I also turned on nsclient web server on the windows machine and that works too. I can run Check_cpu, Check_disk, etc. through the web and it's wonderful (rock'on Michael Medin!).
However, I want to be able to run my custom exe through the web server just like the other modules that you can run like Check_memory, Check_cpu, etc. As it is, my custom exe is not showing up on the web server UI.
I went through nsclient++ website and there is an API document nsclient core functionalities but couldn't find an API specific for the web server part. Since I'm doing this in .Net I'm hoping that all I have to do is to implement an interface (or something like that) to interact with nsclient web server. Or may be even something simpler.
Question How can I include my custom exe to be part of the list of checks that one can perform manually through the web using nsclient++? If there are any code samples out there that would bring tears to my eyes.
Thank you all.