Page 2 of 2
Re: Monitoring via Direct TCP/IP (No External Commands/Plugi
Posted: Wed Nov 05, 2014 4:55 pm
by eloyd
I still think it's a development effort either way and the OP must decide what's going to be the best bang for the buck and how many minute hand sweeps he wants to watch go by while waiting for it to get done.
Either way, I think it's beyond the scope of this forum.

Re: Monitoring via Direct TCP/IP (No External Commands/Plugi
Posted: Wed Nov 05, 2014 5:01 pm
by abrist
True enough. My suggestion will still be to use check_jmx as I would rather have my servers do more work than myself

OP: Can I lock this?
Re: Monitoring via Direct TCP/IP (No External Commands/Plugi
Posted: Mon Nov 10, 2014 6:16 am
by janaka
Thanks
@eloyd, @tmcdonald, @abrist!
eloyd wrote:Write a daemon that does your checking by maintaining an established connection. Run this thing on your Nagios host. Give IT the ability to respond to HTTP requests which you can then query from Nagios in the usual manner. So in essence, you're monitoring a monitoring process.
I finally ended up implementing something similar; a TCP client that maintains a persistent connection to a JMX query handling agent on my remote server, and writes back the query responses as passive monitoring commands into the Nagios external command file (pipe). Currently I can live with that implementation, at the expected level of performance and monitoring detail.
I will catch up with you guys if I happen to need to dig deeper.
Thanks again!
Re: Monitoring via Direct TCP/IP (No External Commands/Plugi
Posted: Mon Nov 10, 2014 6:17 am
by janaka
abrist wrote:OP: Can I lock this?
Sure, thanks!
Re: Monitoring via Direct TCP/IP (No External Commands/Plugi
Posted: Mon Nov 10, 2014 8:38 am
by eloyd
Love the implementation!
Re: Monitoring via Direct TCP/IP (No External Commands/Plugi
Posted: Mon Nov 10, 2014 11:02 am
by tmcdonald
Going to lock this now, but please PM one of the moderators if you want it re-opened.