Home Directory Plugins Containers check_cadvisor

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_cadvisor

Rating
0 votes
Favoured:
0
Current Version
0.3.0
Last Release Date
2020-07-17
Compatible With
  • Nagios XI
Owner
Hits
476
Files:
FileDescription
check_cadvisor_cmd.PNGNagiosXI Command Example
check_cadvisor_service.PNGNagiosXI Service Check Example
check_cadvisor_perfdata.PNGCheck-Advisor Performance Data
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Python based script used to monitor "running" docker containers in conjunction with Google's Cadvisor.
check_cadvisor

Python based script used to monitor docker containers in conjunction with Google's cadvisor.

Requires
Python3

Installed and available in the system path https://www.python.org/downloads/
Python3 Modules

Requests https://requests.readthedocs.io/en/master/
Cadvisor

Cadvisor need be installed and operational on the Docker host https://github.com/google/cadvisor
Script Usage
Permissions

chmod +x chech-cadvisor.py
Execution

./check-cadvisor.py
Required Input

-t/--target "http://fqdn or ip" -p/--port "external port for cadvisor" -n/--container "container name to monitor" -v/--version "cadvisor API version"
Optional Flags

--perfdata "If present will return perfdata for processes with 0/OK state." -d "If present will echo the debug out for functions in script."