Page 1 of 1
Monitoring Docker Containers
Posted: Thu Jan 31, 2019 7:39 am
by mohan23
I can see there is a wizard for monitoring Docker containers and I don't have docker monitoring wizard in my nagios XI.
can someone let me know how to add Docker monitoring wizard into my Nagios XI ?
I have searched for wizard in below link , but I didn't found anything
https://exchange.nagios.org/directory/A ... n-Wizards/
Re: Monitoring Docker Containers
Posted: Thu Jan 31, 2019 9:07 am
by scottwilkerson
This would get installed with the next minor release (5.6.0) or if you run the upgrade using the -f flag
However, I am attaching it to this post and you can install through Admin -> Manage Config Wizards
Re: Monitoring Docker Containers
Posted: Mon Feb 11, 2019 4:02 pm
by mohan23
Thanks for providing information. I have enabled monitoring successfully using Remote Docker API approach. But in regular intervals I nagios is showing message as "UNKNOWN: No container IDs selected" for all the metrics
If containers are really down , plugin has to throw alert for "Docker - Containers Are Running" metric as containers are down.
Can you let me know what is the cause of this alert message.
Re: Monitoring Docker Containers
Posted: Mon Feb 11, 2019 4:29 pm
by swolf
In this case, the "UNKNOWN" message is happening not because the containers are down, but because the plugin doesn't know which containers need to be checked.
A couple of questions for you:
In the wizard, under the "Checks to Run" section, what did you choose for "Monitor:"?
If you chose a list of containers or a list of networks, did you fill in the list of Container Names/IDs (and/or click the "Populate Container/Network List" button)?
It would also be helpful if you could go into Configure -> Core Config Manager -> Services -> Edit for the service that's having issues, and show us $ARG1$ and $ARG2$. If this is confidential then feel free to PM me the info.
Re: Monitoring Docker Containers
Posted: Tue Feb 12, 2019 7:22 am
by mohan23
I have sent you PM , can you please have a look and get this addressed at earliest.
Re: Monitoring Docker Containers
Posted: Wed Feb 13, 2019 11:47 am
by benjaminsmith
Hi
@mohan23
One of our developers is looking into your case right now and we'll update you in a few hours. Thanks for your patience.
Re: Monitoring Docker Containers
Posted: Wed Feb 13, 2019 12:31 pm
by mohan23
Re: Dockers Query In nagios
Sent: Wed Feb 13, 2019 4:25 am
From: mohan23
To: swolf
Thank you for all clarification.. when container is down, I want plugin to show OK state saying OK: 0 containers monitored , Instead it showing me "UNKNOWN: 0 containers monitored" and performance data is not showing when it is in UNKNOWN state. can you also fix this .
When container is down, check for Container Healty should return OK: 0 containers monitored along with performance data as count 0.
Although there is difference between container going down and container is removed. But I don't see much difference from metrics that we are enabling using this plugin. I see critical alert when container going down which is expected, But at the same time for "Container Exists" metrics im seeing critical event with message "CRITICAL: 0 containers found" . can you please clarify me on this?
Appreciate your quick help on this
Re: Monitoring Docker Containers
Posted: Wed Feb 13, 2019 5:25 pm
by swolf
Just so other technicians know, we're continuing to handle this through PMs. (Also posting so that this thread doesn't show in the various dashboards/metrics that other technicians need to worry about)
His most recent post here was responded to, and I'm juggling this with work for upcoming releases, but his most recent set of issues will have a response sometime early tomorrow.
Re: Monitoring Docker Containers
Posted: Tue Feb 26, 2019 11:47 am
by mohan23
Hi swolf,
I have sent you PM, can you please respond to me
Re: Monitoring Docker Containers
Posted: Tue Feb 26, 2019 3:12 pm
by benjaminsmith
Hi
@mohan23,
Swolf is out of the office today but will be back in tomorrow and I will follow up him on this issue. Thank you.