check_esx plugin help needed
Posted: Thu Jul 25, 2013 11:36 am
The VMware wizard plugin works fine, but I wanted to tweak it a bit to get some of the info that we need.
Trying to use the check_esx plugin to connect to my VMWare Data Centre and return a list of all of my datastores with total space, free/used space, and to issue Warnings and Critical Warnings at 80% and 90%.
I can currently have it connect to the vCenter server and list all of the datastores and their used space by using the following command:
./check_esx3.pl -D VMDataCentreServerIP -u AdminUser -p AdminPasswd -l vmfs
I have tried appending -w80 and -c90 to the end of the command but all it does is add a ;80;90 top the end of each data store line.
Can someone tell me what I am doing wrong or give some advice?
Thanks,
Marc
Trying to use the check_esx plugin to connect to my VMWare Data Centre and return a list of all of my datastores with total space, free/used space, and to issue Warnings and Critical Warnings at 80% and 90%.
I can currently have it connect to the vCenter server and list all of the datastores and their used space by using the following command:
./check_esx3.pl -D VMDataCentreServerIP -u AdminUser -p AdminPasswd -l vmfs
I have tried appending -w80 and -c90 to the end of the command but all it does is add a ;80;90 top the end of each data store line.
Can someone tell me what I am doing wrong or give some advice?
Thanks,
Marc