Sign inSign up

starina/check-esxi-hardware

By starina

Updated over 2 years ago

Script to monitor the hardware of ESXi

Image
0

10K+

starina/check-esxi-hardware repository overview

check_esxi_hardware.py as a Docker container

Author: Claudio Kuenzler

check_esxi_hardware (formerly known as check_esx_wbem) is an open source monitoring plugin to monitor the hardware of ESXi (and previously ESX) servers. It queries the CIM (Common Information Model) server running on the ESXi server to retrieve the current status of all discovered hardware parts. The plugin can also be used as standalone script to check the hardware. The plugin is written in python and uses the pywbem module. It supports both python2 and python3. See Requirements for more information.

Explore on GitHub

https://github.com/xstarina/check-esxi-hardware

Original script taken from here

https://www.claudiokuenzler.com/monitoring-plugins/check_esxi_hardware.php

Usage example

docker run --rm \
  -v ${PWD}/.esxipass:/app/.esxipass:ro \
  starina/check-esxi-hardware:latest \
  -H esxi1.domain.local -U file:.esxipass -P file:.esxipass
Note

By default, the container runs as user dude (uid:gid 7777:7777). So, if you mount a password file, you must give read permissions to this user/group. For example:

sudo chown 7777:7777 .esxipass
sudo chmod 400 .esxipass 

Definition of the parameters

https://www.claudiokuenzler.com/monitoring-plugins/check_esxi_hardware.php#Parameters

docker run --rm starina/check-esxi-hardware:latest --help

Tag summary

Content type

Image

Digest

sha256:dbdf38225

Size

39.4 MB

Last updated

over 2 years ago

docker pull starina/check-esxi-hardware