Page 3 of 3

Re: Monitoring JMX

Posted: Fri May 18, 2018 6:36 am
by jankogaga
Could you take a look at attached /usr/local/nagios/etc/nrpe.cfg?
I wondered if server_address=127.0.0.1 is ok since with server_address=10.30.30.33
I got the error in /usr/local/nagios/var/nrpe.log when starting nrpe daemon:

Code: Select all

Bind to port 5666 on 10.30.30.33 failed: Cannot assign requested address.

Re: Monitoring JMX

Posted: Fri May 18, 2018 7:59 am
by scottwilkerson
Actually I would comment the server_address out completely, then restart nrpe...

you want it to bind to all interfaces for now.

Re: Monitoring JMX

Posted: Mon May 21, 2018 3:46 am
by jankogaga
That did the trick.
Now, monitoring JMX works as expected.
Since this thread is more related to setting nrpe within docker, I wondered if you can change the title
from Monitoring JMX to something else.
Thank you very much!

Re: Monitoring Docker containers

Posted: Mon May 21, 2018 2:02 pm
by scottwilkerson
I changed the title to "Monitoring Docker containers"

Glad it's working... Locking