Monitoring Docker containers

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
jankogaga
Posts: 37
Joined: Thu Apr 19, 2018 8:16 am

Re: Monitoring JMX

Post 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.
Attachments
nrpe.cfg
(12.31 KiB) Downloaded 283 times
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring JMX

Post by scottwilkerson »

Actually I would comment the server_address out completely, then restart nrpe...

you want it to bind to all interfaces for now.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
jankogaga
Posts: 37
Joined: Thu Apr 19, 2018 8:16 am

Re: Monitoring JMX

Post 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!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring Docker containers

Post by scottwilkerson »

I changed the title to "Monitoring Docker containers"

Glad it's working... Locking
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked