Page 1 of 1
check_esx3.pl error after upgrading to 5.2
Posted: Fri Oct 09, 2015 2:30 am
by rajasegar
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.
Re: check_esx3.pl error after upgrading to 5.2
Posted: Fri Oct 09, 2015 1:24 pm
by lmiltchev
Actually, it needs to be changed to "Nagios::Monitoring::Plugin". What is the version of the plugin that you are currently using?
Re: check_esx3.pl error after upgrading to 5.2
Posted: Fri Oct 09, 2015 1:27 pm
by ssax
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
Re: check_esx3.pl error after upgrading to 5.2
Posted: Sun Oct 11, 2015 6:28 pm
by rajasegar
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
Re: check_esx3.pl error after upgrading to 5.2
Posted: Sun Oct 11, 2015 6:29 pm
by rajasegar
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.