Page 2 of 7
Re: Problems with Hosts
Posted: Tue Aug 21, 2012 2:45 pm
by lmiltchev
Run one of the "problem" checks from the command line and show us the output. You can view the command by going to the Core Config Manager->Services-><your_service>->Modify->Common Settings tab.
You may have to run something like this:
Code: Select all
/usr/local/nagios/libexec/check_esx3.pl -H <Host_IP> -f /usr/local/nagiosxi/etc/components/vmware/<Host_Name_auth.txt -l CPU
To read more on testing check commands from the command line, go to our wiki page:
http://support.nagios.com/wiki/index.ph ... mmand-line
Re: Problems with Hosts
Posted: Tue Aug 21, 2012 5:11 pm
by shakra2005
/usr/local/lib64/perl5/auto/XML/LibXML/Common/Common.so: undefined symbol: Perl_Tstack_sp_ptr
in the console
(Return code of 127 is out of bounds - plugin may be missing)
in the webui
Re: Problems with Hosts
Posted: Wed Aug 22, 2012 10:11 am
by slansing
That looks as though it is a perl module issue, a quick search comes up with this:
http://stackoverflow.com/questions/6256 ... erl-tstack
Have you attempted to install the perl CPAN modules required to run check commands such as this?
Re: Problems with Hosts
Posted: Wed Aug 22, 2012 1:10 pm
by shakra2005
i have installed the nagios cpan plugin
can you tell me the names of the cpan plugins ?
do you mean to that the nagios user can execute cpan ?
Re: Problems with Hosts
Posted: Wed Aug 22, 2012 2:40 pm
by slansing
If you open up your plugin, make sure the shebang at the top is pointing at the correct Perl directory.
Re: Problems with Hosts
Posted: Wed Aug 22, 2012 3:43 pm
by shakra2005
the perl path is /usr/bin/perl
and thats the right
Re: Problems with Hosts
Posted: Wed Aug 22, 2012 3:48 pm
by slansing
And in front of that it has a "#" correct? Is there a help screen built into the plugin you are using, or a guide noting that you need a module?
Re: Problems with Hosts
Posted: Wed Aug 22, 2012 3:56 pm
by shakra2005
yes there is a #
Re: Problems with Hosts
Posted: Wed Aug 22, 2012 4:02 pm
by lmiltchev
Did you follow the steps, outlined in
this document or you used a different document? How exactly did you install the plugin?
Also, you showed us the output but not the actual command that you ran in the command line. Please, show the command - you can remove the sensitive data.
Re: Problems with Hosts
Posted: Wed Aug 22, 2012 4:08 pm
by shakra2005
i was followed the document and this is my command
./check_esx3.pl -H 172.16.0.180 -f vmesx3_auth.txt