Problems with Hosts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Problems with Hosts

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
shakra2005
Posts: 70
Joined: Sun Aug 05, 2012 4:24 pm

Re: Problems with Hosts

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Problems with Hosts

Post 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?
shakra2005
Posts: 70
Joined: Sun Aug 05, 2012 4:24 pm

Re: Problems with Hosts

Post 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 ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Problems with Hosts

Post by slansing »

If you open up your plugin, make sure the shebang at the top is pointing at the correct Perl directory.
shakra2005
Posts: 70
Joined: Sun Aug 05, 2012 4:24 pm

Re: Problems with Hosts

Post by shakra2005 »

the perl path is /usr/bin/perl

and thats the right
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Problems with Hosts

Post 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?
shakra2005
Posts: 70
Joined: Sun Aug 05, 2012 4:24 pm

Re: Problems with Hosts

Post by shakra2005 »

yes there is a #
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Problems with Hosts

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
shakra2005
Posts: 70
Joined: Sun Aug 05, 2012 4:24 pm

Re: Problems with Hosts

Post by shakra2005 »

i was followed the document and this is my command
./check_esx3.pl -H 172.16.0.180 -f vmesx3_auth.txt
Locked