I found a python script that helps to monitor VMware servers. Here is how my command is formatted.
./check_esxi_hardware.py -H {IP} -U root -P password [-V intel -i -v -p -I] | cut -c 1-8 | sed -r 's/\s+//g' | tr -d - | tr -d S | tr -d e | tr -d r
The output of the command either gives you OK or WARNING which pertains to the health status of the VMware server. I need the script to run on the zabbix server in intervals and pass the values to zabbix for monitoring but for the life of me I can't seem to figure out how to accomplish this.
Does anybody have any suggestions? Maybe the Zabbix-sender?
./check_esxi_hardware.py -H {IP} -U root -P password [-V intel -i -v -p -I] | cut -c 1-8 | sed -r 's/\s+//g' | tr -d - | tr -d S | tr -d e | tr -d r
The output of the command either gives you OK or WARNING which pertains to the health status of the VMware server. I need the script to run on the zabbix server in intervals and pass the values to zabbix for monitoring but for the life of me I can't seem to figure out how to accomplish this.
Does anybody have any suggestions? Maybe the Zabbix-sender?