This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
rajasegar
Posts: 1018 Joined: Sun Mar 30, 2014 10:49 pm
Post
by rajasegar » Fri Oct 09, 2015 2:30 am
Code: Select all
[nagios@nagiosprodxi1 libexec]$ /usr/local/nagios/libexec/check_esx3.pl -H "10.23.18.104" -u root -p 'abc123' -l "CPU" ""-s usage"" -w "70%" -c "85%" "" ""
Nagios::Plugin is deprecated, use Monitoring::Plugin instead. at /usr/local/share/perl5/Nagios/Plugin/Functions.pm line 14.
ESX3 OK - cpu usage=4.93 % | cpu_usage=4.93%;70;85
This is the UNKNOWN error that shows up in the GUI
Code: Select all
**ePN failed to compile /usr/local/nagios/libexec/check_esx3.pl: "Nagios::Plugin is deprecated, use Monitoring::Plugin instead. at /usr/local/share/perl5/Nagios/Plugin/Functions.pm line 7,
Easy to fix.
Change all instances of Nagios::Plugin to
Monitoring::Plugin; in check_esx3.pl
Please update at your end. This caused all VMWare monitoring to return UNKNOWN status in our environment.
Thanks.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
lmiltchev
Bugs find me
Posts: 13589 Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev » Fri Oct 09, 2015 1:24 pm
Actually, it needs to be changed to "Nagios::Monitoring::Plugin". What is the version of the plugin that you are currently using?
Be sure to check out our
Knowledgebase for helpful articles and solutions!
ssax
Dreams In Code
Posts: 7682 Joined: Wed Feb 11, 2015 12:54 pm
Post
by ssax » Fri Oct 09, 2015 1:27 pm
Thank you for posting this, it's been reported to the developers:
Code: Select all
Task Detail: Nagios XI Bug Report: check_esx3.pl requires Nagios::Plugin
rajasegar
Posts: 1018 Joined: Sun Mar 30, 2014 10:49 pm
Post
by rajasegar » Sun Oct 11, 2015 6:28 pm
lmiltchev wrote: Actually, it needs to be changed to "Nagios::Monitoring::Plugin". What is the version of the plugin that you are currently using?
check_esx3.pl 0.2.0
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
rajasegar
Posts: 1018 Joined: Sun Mar 30, 2014 10:49 pm
Post
by rajasegar » Sun Oct 11, 2015 6:29 pm
ssax wrote: Thank you for posting this, it's been reported to the developers:
Code: Select all
Task Detail: Nagios XI Bug Report: check_esx3.pl requires Nagios::Plugin
Ok. Please close this case.
Thanks.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation