Hi there
I have tried to integrate vmware with nagios, I read the guides to be able to use vmware, however I cannot create resource monitoring.
It shows me UNKNOWN - plugin time out (30 seconds).
I have installed the perl SDK version 7 module since I have CentOS 8, and I can't monitor my computer.
Can you support me?
Greetings,
check_vmware_api issue
Re: check_vmware_api issue
SSH into the XI server and send the full output of the failing command but add -vvv --trace=4 onto the end of it:
- Change X.X.X.X, yourusername, yourpassword before running
Replace X.X.X.X with the VCenter/ESXI IP address and fill in a valid username and password in the commands below:
SSH into the XI server, and change to the following directory:
Run this to test to see if you can connect to the VCenter/ESXI server:
- Change X.X.X.X, yourusername, yourpassword before running
- Change X.X.X.X, yourusername, yourpassword before running
Code: Select all
/usr/local/nagios/libexec/check_vmware_api.pl -H X.X.X.X -u 'yourusername' -p 'yourpassword' -l "CPU" -vvv --trace=4SSH into the XI server, and change to the following directory:
Code: Select all
cd /usr/lib/vmware-vcli/apps/general- Change X.X.X.X, yourusername, yourpassword before running
Code: Select all
./connect.pl --server X.X.X.X --username 'yourusername' --password 'yourpassword' --verbose