Hi
I have a nagios environment setup and monitoring a couple of hosts. But now i need to know if it is possible to connect to one of these hosts with java and to execute my own query against it? So that i could wrap it in a bean.
Any response would be greatly appreciated.
Winston
connect to NRPE with java
Re: connect to NRPE with java
I would try checking exchange.nagios.org and see if someone has already written something that does this. We don't do a whole lot with java here, but I know there are some community tools out there that might get you what you need.
Re: connect to NRPE with java
It does not need to be Java. I could use any code. Just as long as i have an example and know that its possible. Then i could simulate it in java.
Re: connect to NRPE with java
Are you talking about an event handler, that would respond to a state change? Or just a regular check?
Here's a doc on event handlers, and you could most certainly write your own if that would accomplish what you need.
http://nagios.sourceforge.net/docs/3_0/ ... dlers.html
Here's a doc on event handlers, and you could most certainly write your own if that would accomplish what you need.
http://nagios.sourceforge.net/docs/3_0/ ... dlers.html