NSClient++ Help (#1) - nscp to javaEE interface [SOLVED] (#585) - Message List

nscp to javaEE interface [SOLVED]

Hi all, I have a little question about how to manage nscp request with a JavaEE tool.

I'd like to integrate a self generated page in the admin section of a my webapp. The page should read data from a database. I want to write a small Java daemon that send request to nscp and read the replies, saving them on the database.

I don't want to rewrite nagios core :) I want just manage nscp request, cause of the system is windows based.

Hope to being clear enough... Thanks in advance, Diego

  • Message #1784

    Ok, I try to reply to myself:

    I have to "rewrite" check_nrpe with Java... or I have to compile check_nrpe for Windows and use it in such a way.

    right? Diego

    • Message #1785

      There is an NRPE client (and server) written in Java if I recall correctly.

      NRPE is also fairly simple so it should not be a problem I think, but again, I think if you google you will find it on sourceforge or some such...

      Michael Medin

      • Message #1786

        Hi Michael, first: I was to the Nagios and OSS Monitoring conference and I enjoyed your talk. ;)

        second: I just googled and I found a Java NRPE daemon, but not the check_nrpe one. So I decided to download JNRPE daemon sources and look there the NRPE packet structure, so I can develop the jcheck_nrpe code

        Thx, Diego

Subscriptions