Search found 7 matches

by brennanma
Fri Apr 30, 2021 11:25 am
Forum: Nagios XI
Topic: CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist
Replies: 12
Views: 5054

Re: CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist

I just wanted to come back and close the loop on this. VMWare support was of no help. They told me to come here. No surprise there. I did figure out the issue, just now, though. When the 'nagios' user was given the read-only role on node 3, we didn't check "Propagate to all child objects."...
by brennanma
Mon Apr 05, 2021 10:55 am
Forum: Nagios XI
Topic: CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist
Replies: 12
Views: 5054

Re: CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist

The working and non-working both break at the same lines -- 1281 and 1361 Working: DB<1> b 1281 DB<2> b 1303 DB<3> b 1326 DB<4> b 1361 DB<5> c [extra-opts] check_vmware_api.pl -H 172.27.0.5 -u nagios -p <redacted> -l CPU -vvv CheckVMwareAPI::host_cpu_info(/usr/local/nagios/libexec/check_vmware_api.p...
by brennanma
Sat Apr 03, 2021 3:44 pm
Forum: Nagios XI
Topic: CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist
Replies: 12
Views: 5054

Re: CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist

Strangely, everything seems to be undef with the working host as well. I am now sure that problem is the VMWare API call at line 961: my $host_view = Vim::find_entity_views(view_type => 'HostSystem', filter => $host_name, properties => (defined($timeshift) ? [ 'name', 'runtime.inMaintenanceMode', 'c...
by brennanma
Tue Mar 30, 2021 4:34 pm
Forum: Nagios XI
Topic: CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist
Replies: 12
Views: 5054

Re: CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist

Thanks for the detailed instructions -- I'm still a novice with Perl. I'm thinking we might be running different versions (I have version 0.7.1 installed) of the check_vmware_api.pl script as the middle two line numbers provided (614 and 2927) weren't breakable. Looking at the code, I pushed those t...
by brennanma
Mon Mar 29, 2021 7:40 pm
Forum: Nagios XI
Topic: CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist
Replies: 12
Views: 5054

Re: CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist

Hi Benjamin, Do you remember which version of the Vmware Perl SDK was installed on the XI server. It's not able to retrieve the host information. Now, it's running on 7.0U2. It was on 6.7U3 when I created the original post. I updated it to the most recent (7.0U2) before creating the new post. Did yo...
by brennanma
Sat Mar 27, 2021 5:27 pm
Forum: Nagios XI
Topic: CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist
Replies: 12
Views: 5054

CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist

Hi Folks, We are currently running a Nagios XI appliance (version 5.8.2). We are trying to monitor several VMWare ESXi hosts (version 6.7.0, 14320388). I have four identical hosts which are HP DL 380 Gen 9 -- we are running the HP customized version of ESXi. Of the four hosts, three of them test wit...
by brennanma
Tue Dec 03, 2019 3:07 pm
Forum: Nagios XI
Topic: CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist
Replies: 1
Views: 639

CHECK_VMWARE_API.PL CRITICAL - Host "" does not exist

Hi Folks, We are currently running a trial of the Nagios XI appliance (version 5.6.8) in consideration of migrating from Nagios Core. As part of this, we are trying to monitor several VMWare ESXi hosts (version 6.7.0, 14320388). I have four identical hosts which are HP DL 380 Gen 9 -- we are running...