VMWare check_esx3 output

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jacek
Posts: 255
Joined: Wed Sep 09, 2015 5:49 am

VMWare check_esx3 output

Post by jacek »

Hi,

I've recently updated the check_esx3 plugin (from 0.2 to 0.5) due to some well known errors.

Now the output of the service check says for example: "CHECK_ESX3.PL OK - cpu usage=1207.00 MHz (6.30%)"
instead of the nicer, previous look: "ESX3 OK - cpu usage=1207.00 MHz (6.30%)

Can I somehow correct this?

P.S.
When will the 0.5 plugin be a standard (my Nagios XI image is from this year)? Or when will the wizard start using the new check_vmware_api plugin?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: VMWare check_esx3 output

Post by tgriep »

If you want to shorten the output of the plugin, find the following line in the script and comment it out.

Code: Select all

shortname => uc($PROGNAME),
That worked for me.

I don't have any information if the plugin will be updated.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jacek
Posts: 255
Joined: Wed Sep 09, 2015 5:49 am

Re: VMWare check_esx3 output

Post by jacek »

Nice, did the trick!

Thank You!
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: VMWare check_esx3 output

Post by mcapra »

Is it ok if we lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
jacek
Posts: 255
Joined: Wed Sep 09, 2015 5:49 am

Re: VMWare check_esx3 output

Post by jacek »

Sure, thanks again!
Locked