Error running check_esx3.pl (0.2.1)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kiwibloke73
Posts: 1
Joined: Sun Jan 14, 2018 3:48 pm

Error running check_esx3.pl (0.2.1)

Post by kiwibloke73 »

Hi,

I am running a NagiosXI POC I have added an ESXi server.

I am getting data back from all of the host monitoring metrics (cpu, memory, storage, vm status, Input/Output) but for the Networking i am getting an error.

The error is "ESX3 CRITICAL - Can't use an undefined value as an ARRAY reference at /usr/local/nagios/libexec/check_esx3.pl at line 872"

I tried updating the check_esx3.pl to a newer version 0.5.0 but had a similar result.

I the account I configured on ESXi has RO rights at the root with full propagation.

Any ideas?

KB
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Error running check_esx3.pl (0.2.1)

Post by tgriep »

Try and upgrade the plugin to an even newer version 0.7.1 and see if that fixes the error.

First, login to the XI server as root and make a backup of the existing one by running the following.

Code: Select all

cp /usr/local/nagios/libexec/check_esx3.pl /usr/local/nagios/libexec/check_esx3.pl.old
Then run the following to install a required Perl Module for the new plugin.

Code: Select all

yum install perl-Nagios-Plugin
Then download this updated plugin to your PC.
https://github.com/shinken-monitoring/p ... ck_esx3.pl

After it is downloaded, login to the XI GUI and go to the Admin > Manage Plugins menu
Browse to the new plugin and then click on the Upload Button.

Wait until the next time the check is scheduled to run to see if the error is resolved and post your results.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked