Are you running the plugin against different servers? Is MYHOST-3 different than myhost-2? Can you ping myhost-2? Is there a firewall in between? What is the output of the command below?root@tgcs017:/usr/local/nagios/libexec# ./check_vmware_api.pl -H MYHOST-3 -u root -p "###############" -l runtime -s status
CHECK_VMWARE_API.PL OK - overall status=green
Code: Select all
nmap myhost-2 -p 443
Code: Select all
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;