Hi,
The plugin runs with user root
but
not
with nagios user
and
says
[nagios@a2nagio002p ~]$ /usr/local/nagios/libexec/check_vmware_api.pl -H "a2esxvc001p.fcc.intfcc.local" -f "/usr/local/nagiosxi/etc/components/vmware/a2vimgv100p_fcc_intfcc_local_auth.txt" -l "VMFS" -w 80% -c 99.50%
VMWARE_API UNKNOWN - Missing perl module VMware::VIRuntime. Download and install 'VMware vSphere SDK for Perl', available at https://my.vmware.com/group/vmware/downloads
Thanks
check_vmware_api.pl not running with user nagios
-
FCC_Nagios_Support
- Posts: 161
- Joined: Tue Mar 10, 2020 11:07 am
Re: check_vmware_api.pl not running with user nagios
Run this as the root user AND the nagios user and send us the full output of each:
Send the full output of this command as the root user as well:
Code: Select all
perl -e "print qq(@INC)"Code: Select all
find / -name VIRuntime.pm | xargs -r ls -lah