Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
I have a strange problem with the check_esx3.pl on a debian 8 host. I have installed the VMware Perl SDK 6.0.0 and I can call the check manualy as user root and as user nagios (the user that runs nagios). For both users I get a response from our ESX-vSphere Host. But if the nagios server calls this check I get the error message
In my case the output is empty allthough the file /usr/shre/perl/5.20/VMware/VIRuntime.pm exists??
Has anyone some tipps for me what could be the reason for this (strange) behavior?
We also have an existing nagios-server with debian 8 and there it is working. But this server is pretty old (about 5 or 7 years) and was setup by an external guy. The debian was upgraded many times and for some reasons the company wants to witch to a new installed machine.
Besides the history of the machines the only difference is, that the old one is debian 8 32bit and the new one is debian 64bit.
The following Perl modules were found on the system but may be too old to work
with vSphere CLI:
LWP::Protocol::https 5.805 or newer
Socket6 0.23 or newer
Enjoy,
--the VMware team
But the problem is still that it works called manually in the shell, but it does not work within nagios.
So at the end I gave up and now I'm using check_vmware.pl. I noticed that I can check the hosts and disks with this script too. I would have prefered check_esx3.pl because of the more informative response, but I can "life" with the check_vmware.pl too