check_docker.py
Re: check_docker.py
Our server is not connected to the internet. any idea to download those update.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_docker.py
You can download here
https://assets.nagios.com/downloads/nag ... docker.zip
then upload the zip through Admin -> Manage Config Wizards
https://assets.nagios.com/downloads/nag ... docker.zip
then upload the zip through Admin -> Manage Config Wizards
Re: check_docker.py
would you please check why "Containers Are Healthy" check is still in critical?
/usr/local/nagios/libexec/check_docker.py -H http://10.239.128.73:2376/ --check-type 'containers_healthy' --all -t 0 --ignore-no-healthcheck --percentage -l -w '50:' -c '30:'
CRITICAL: 0 containers monitored | total_usage=0%;50:;30:
/usr/local/nagios/libexec/check_docker.py -H http://10.239.128.73:2376/ --check-type 'containers_healthy' --all -t 0 --ignore-no-healthcheck --percentage -l -w '50:' -c '30:'
CRITICAL: 0 containers monitored | total_usage=0%;50:;30:
You do not have the required permissions to view the files attached to this post.
-
swolf
Re: check_docker.py
It looks like none of your containers have a healthcheck specified - the plugin goes critical to alert you that it doesn't seem to be monitoring anything.exp-user1 wrote:would you please check why "Containers Are Healthy" check is still in critical?
/usr/local/nagios/libexec/check_docker.py -H http://10.239.128.73:2376/ --check-type 'containers_healthy' --all -t 0 --ignore-no-healthcheck --percentage -l -w '50:' -c '30:'
CRITICAL: 0 containers monitored | total_usage=0%;50:;30:
The best solution here is to remove the service. If you don't use the healthcheck feature of docker, there's no reason to monitor it.
If you have some requirement to keep the check in place, you can remove the --ignore-no-healthcheck flag.
Re: check_docker.py
Thanks all for your support. All is good.
Regards.
Regards.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_docker.py
Great!exp-user1 wrote:Thanks all for your support. All is good.
Regards.
Locking thread