Error: (No output on stdout) stderr: Can't locate Monitoring
Error: (No output on stdout) stderr: Can't locate Monitoring
Hi,
I meet error with nagios 4. , when i'm monitoring vmware server vsphere 6. I'm install :
- SDK
-PERL
(No output on stdout) stderr: Can't locate Monitoring/Plugin/Functions.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec/check_esx line 46.
http://imgur.com/MbFFA0Q
help me, please!
Thank all!
I meet error with nagios 4. , when i'm monitoring vmware server vsphere 6. I'm install :
- SDK
-PERL
(No output on stdout) stderr: Can't locate Monitoring/Plugin/Functions.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec/check_esx line 46.
http://imgur.com/MbFFA0Q
help me, please!
Thank all!
Last edited by dwhitfield on Fri May 12, 2017 9:18 am, edited 1 time in total.
Reason: marking with green check mark
Reason: marking with green check mark
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Error: (No output on stdout) stderr: Can't locate Monito
Can you attach your commands.cfg (or wherever you have your commands)? Also, what message do you get when you run the command from the command line?
You should probably check https://assets.nagios.com/downloads/nag ... ios-XI.pdf and make sure you have everything installed (substitute the XI-specific stuff for Core).
Also, I know we've had good luck with https://exchange.nagios.org/directory/P ... re/details, so you might want to check that out instead.
You should probably check https://assets.nagios.com/downloads/nag ... ios-XI.pdf and make sure you have everything installed (substitute the XI-specific stuff for Core).
Also, I know we've had good luck with https://exchange.nagios.org/directory/P ... re/details, so you might want to check that out instead.
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Error: (No output on stdout) stderr: Can't locate Monito
you need to install the Perl module mentioned in the error -
Monitoring/Plugin/Functions.pm
Monitoring/Plugin/Functions.pm
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Error: (No output on stdout) stderr: Can't locate Monito
The VMWare instructions should have taken care of that.
What version of Core are you using? Was it compiled from source or installed from distro repos? On what OS/version is nagios running? cat /etc/*-release may be of use.
What version of Core are you using? Was it compiled from source or installed from distro repos? On what OS/version is nagios running? cat /etc/*-release may be of use.
Re: Error: (No output on stdout) stderr: Can't locate Monito
Hi all,
I installed vmware monitoring with check_esx3.pl plugin but got the
following error: ESX3 CRITICAL - Server version unavailable at
'https://221.132.18.252:443/sdk/vimService.wsdl' at / usr / share /
perl5 / VMware / VICommon.pm line 726.
- Nagios core 3.5.1
- VSphere 6.0
-SDK 6.0
Help me please
thank you!
I installed vmware monitoring with check_esx3.pl plugin but got the
following error: ESX3 CRITICAL - Server version unavailable at
'https://221.132.18.252:443/sdk/vimService.wsdl' at / usr / share /
perl5 / VMware / VICommon.pm line 726.
- Nagios core 3.5.1
- VSphere 6.0
-SDK 6.0
Help me please
thank you!
Re: Error: (No output on stdout) stderr: Can't locate Monito
I installed vmware monitoring with check_esx3.pl plugin but got the following error: ESX3 CRITICAL - Server version unavailable at 'https://xx.xx.xx.xx:443/sdk/vimService.wsdl' at / usr / share / perl5 / VMware / VICommon.pm line 726. - Nagios core 3.5.1 - VSphere 6.0 -SDK 6.0
http://imgur.com/TPQUFUt
http://imgur.com/YRS9UxC
http://imgur.com/wXS6HaU
http://imgur.com/wqMFhP6
http://imgur.com/qoeIsnX
Help me please thank you!
http://imgur.com/TPQUFUt
http://imgur.com/YRS9UxC
http://imgur.com/wXS6HaU
http://imgur.com/wqMFhP6
http://imgur.com/qoeIsnX
Help me please thank you!
Re: Error: (No output on stdout) stderr: Can't locate Monito
Hi all,
I fixed the above error due to missing plugin, but encountered a new error:
ESX3 CRITICAL - Server version unavailable at 'https://221.132.18.252:443/sdk/vimService.wsdl' at / usr / share / perl5 / VMware / VICommon.pm line 726.
I installed vmware monitoring with check_esx3.pl plugin
- Nagios core 3.5.1
- VSphere 6.0 -SDK 6.0
- centos 6.9
Help me please thank you!
I fixed the above error due to missing plugin, but encountered a new error:
ESX3 CRITICAL - Server version unavailable at 'https://221.132.18.252:443/sdk/vimService.wsdl' at / usr / share / perl5 / VMware / VICommon.pm line 726.
I installed vmware monitoring with check_esx3.pl plugin
- Nagios core 3.5.1
- VSphere 6.0 -SDK 6.0
- centos 6.9
Help me please thank you!
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Error: (No output on stdout) stderr: Can't locate Monito
In the future, it would be helpful if you posted text output into a code block rather than an image.
You are using -H on the command line, but -D in your command in the .cfg. Do you get the same error if you use -H in the command in the .cfg?
What's the output if you use -D on the command line?
You are using -H on the command line, but -D in your command in the .cfg. Do you get the same error if you use -H in the command in the .cfg?
What's the output if you use -D on the command line?
Re: Error: (No output on stdout) stderr: Can't locate Monito
Hi dwhitfield,dwhitfield wrote:In the future, it would be helpful if you posted text output into a code block rather than an image.
You are using -H on the command line, but -D in your command in the .cfg. Do you get the same error if you use -H in the command in the .cfg?
What's the output if you use -D on the command line?
I changed from option D to H but it still does:
Code: Select all
define command{
command_name check_vmware_cpu
command_line /usr/bin/perl $USER1$/check_esx3 -H $HOSTADDRESS$ -u $USER3$ -p $USER4$ -l CPU
}
Code: Select all
ESX3 CRITICAL - Server version unavailable at 'https://221.132.18.252:443/sdk/vimService.wsdl' at /usr/share/perl5/VMware/VICommon.pm line 726.
thank!
Re: Error: (No output on stdout) stderr: Can't locate Monito
Can you upgrade the plugin to version 0.7.1 and see if that fixes the error on your server?
Sometimes the older version of that plugin has issues with VMWare and upgrading the plugin solved the issue.
First, login to the Nagios server as root and make a backup of the existing one by running the following.
Then run the following to install a required Perl Module for the new plugin.
Then download this updated plugin to your Nagios server and put it in folder the existing plugin is located in.
https://github.com/shinken-monitoring/p ... ck_esx3.pl
Make sure you name the plugin to the same name as the command definition.
After it is downloaded, you will have to change the owner / permissions of the plugin by running the following
Wait until the server schedules and runs the check and see if the error is gone in the Nagios GUI.
Sometimes the older version of that plugin has issues with VMWare and upgrading the plugin solved the issue.
First, login to the Nagios 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 /usr/local/nagios/libexec/check_esx3.old
Code: Select all
yum install perl-Nagios-Plugin
https://github.com/shinken-monitoring/p ... ck_esx3.pl
Make sure you name the plugin to the same name as the command definition.
Code: Select all
check_esx3
Code: Select all
chown nagios.nagios /usr/local/nagios/libexec/check_esx3
chmod a+x /usr/local/nagios/libexec/check_esx3
Be sure to check out our Knowledgebase for helpful articles and solutions!