Monitor a guest VM on a VMWare host
Posted: Mon Jan 26, 2015 10:42 am
Hello everyone,
I've tried to work with the vmwizard of nagios . I can monitor the esxhosts, but i don't see any guests. I'm using nagios XI 2014R2.4. The version of the vmware wizard is 1.6.2. There were no problems, while installing sdk.
I've installed the plugin as its written in here: http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
I've found this topic, but I don't get my mistake.http://support.nagios.com/forum/viewtop ... =6&t=30755
I'll post now the steps I've seen in the topic before:
If I do this, I'll get all my guests:
tail -f /var/log/httpd/error_log:
This is my 4th try to monitor VMguests, but it never worked. I'll hope you can help me.
I've tried to work with the vmwizard of nagios . I can monitor the esxhosts, but i don't see any guests. I'm using nagios XI 2014R2.4. The version of the vmware wizard is 1.6.2. There were no problems, while installing sdk.
I've installed the plugin as its written in here: http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
I've found this topic, but I don't get my mistake.http://support.nagios.com/forum/viewtop ... =6&t=30755
I'll post now the steps I've seen in the topic before:
If I do this, I'll get all my guests:
Code: Select all
cd /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts
./getguests.pl -H <ip address> -u <username> -p <password>Code: Select all
[error] [client 172.30.1.21] PHP Notice: Undefined index: max_execution_time in /usr/local/nagiosxi/html/includes/utils-xmlsysstat.inc.php on line 122, referer: http://172.30.11.118/nagiosxi/
[Mon Jan 26 16:07:56 2015] [error] [client 172.30.1.21] PHP Notice: Undefined index: avg_execution_time in /usr/local/nagiosxi/html/includes/utils-xmlsysstat.inc.php on line 123, referer: http://172.30.11.118/nagiosxi/
[Mon Jan 26 16:08:09 2015] [error] [client 172.30.1.21] PHP Notice: Undefined variable: search in /usr/local/nagiosxi/html/admin/users.php on line 154, referer: http://172.30.11.118/nagiosxi/admin/
[Mon Jan 26 16:08:56 2015] [error] [client 172.30.1.21] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: http://172.30.11.118/nagiosxi/includes/components/ccm/xi-index.php
[Mon Jan 26 16:08:56 2015] [error] [client 172.30.1.21] PHP Notice: Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: http://172.30.11.118/nagiosxi/includes/components/ccm/xi-index.php
[Mon Jan 26 16:09:00 2015] [error] [client 172.30.1.21] PHP Notice: Undefined index: tfArg1 in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/common_settings.php on line 116, referer: http://172.30.11.118/nagiosxi/includes/components/ccm/?cmd=view&type=host
[Mon Jan 26 16:09:00 2015] [error] [client 172.30.1.21] PHP Notice: Undefined index: tfArg2 in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/common_settings.php on line 120, referer: http://172.30.11.118/nagiosxi/includes/components/ccm/?cmd=view&type=host
[Mon Jan 26 16:09:00 2015] [error] [client 172.30.1.21] PHP Notice: Undefined index: tfArg3 in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/common_settings.php on line 124, referer: http://172.30.11.118/nagiosxi/includes/components/ccm/?cmd=view&type=host
[Mon Jan 26 16:09:25 2015] [error] [client 172.30.1.21] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: http://172.30.11.118/nagiosxi/includes/components/ccm/xi-index.php
[Mon Jan 26 16:09:25 2015] [error] [client 172.30.1.21] PHP Notice: Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: http://172.30.11.118/nagiosxi/includes/components/ccm/xi-index.php
Code: Select all
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-504.3.3.el6.i686 #1 SMP Tue Dec 16 22:55:44 UTC 2014 i686 i686 i386 GNU/Linux
Code: Select all
[root@localhost ~]# cat /etc/*release
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
Code: Select all
[root@localhost ~]# yum list installed | grep perl
perl.i686 4:5.10.1-136.el6_6.1 @updates
perl-CPAN.i686 1.9402-136.el6_6.1 @updates
perl-Class-Accessor.noarch 0.31-6.1.el6 @base
perl-Class-Singleton.noarch 1.4-6.el6 @base
perl-Compress-Raw-Zlib.i686 1:2.021-136.el6_6.1 @updates
perl-Compress-Zlib.i686 2.021-136.el6_6.1 @updates
perl-Config-IniFiles.noarch 2.72-2.el6 @epel
perl-Config-Tiny.noarch 2.12-7.1.el6 @base
perl-Crypt-DES.i686 2.05-9.el6 @epel
perl-Crypt-Rijndael.i686 1.09-2.el6 @epel
perl-Crypt-SSLeay.i686 0.57-17.el6 @base
perl-DBD-MySQL.i686 4.013-3.el6 @base
perl-DBI.i686 1.609-4.el6 @base
perl-DateTime.i686 1:0.5300-2.el6 @base
perl-Digest-HMAC.noarch 1.01-22.el6 @base
perl-Digest-SHA.i686 1:5.47-136.el6_6.1 @updates
perl-Digest-SHA1.i686 2.12-2.el6 @base
perl-Error.noarch 1:0.17015-4.el6 @base
perl-ExtUtils-MakeMaker.i686 6.55-136.el6_6.1 @updates
perl-ExtUtils-ParseXS.i686 1:2.2003.0-136.el6_6.1 @updates
perl-HTML-Parser.i686 3.64-2.el6 @base
perl-HTML-Tagset.noarch 3.20-4.el6 @base
perl-IO-Compress-Base.i686 2.021-136.el6_6.1 @updates
perl-IO-Compress-Zlib.i686 2.021-136.el6_6.1 @updates
perl-IO-Socket-INET6.noarch 2.56-4.el6 @base
perl-IO-Socket-SSL.noarch 1.31-2.el6 @base
perl-IO-stringy.noarch 2.110-10.1.el6 @base
perl-List-MoreUtils.i686 0.22-10.el6 @base
perl-Mail-IMAPClient.noarch 3.34-1.el6 @epel
perl-Mail-POP3Client.noarch 2.18-6.el6 @epel
perl-Math-Calc-Units.noarch 1.07-6.el6 @epel
perl-Module-Pluggable.i686 1:3.90-136.el6_6.1 @updates
perl-Nagios-Plugin.noarch 0.35-2.el6.rf @rpmforge
perl-Net-DNS.i686 0.65-5.el6 @base
perl-Net-LibIDN.i686 0.12-3.el6 @base
perl-Net-SMTP-TLS.noarch 0.12-1.el6.rf @rpmforge
perl-Net-SNMP.noarch 5.2.0-4.el6 @epel
perl-Net-SSLeay.i686 1.35-9.el6 @base
perl-Params-Validate.i686 0.92-3.el6 @base
perl-Parse-RecDescent.noarch 1.965-1.el6 @epel
perl-Pod-Escapes.i686 1:1.04-136.el6_6.1 @updates
perl-Pod-Simple.i686 1:3.13-136.el6_6.1 @updates
perl-SNMP_Session.noarch 1.12-4.el6 @base
perl-Socket6.i686 0.23-4.el6 @base
perl-Test-Harness.i686 3.17-136.el6_6.1 @updates
perl-Time-HiRes.i686 4:1.9721-136.el6_6.1 @updates
perl-URI.noarch 1.40-2.el6 @base
perl-XML-LibXML.i686 1:1.70-5.el6 @base
perl-XML-NamespaceSupport.noarch 1.10-3.el6 @base
perl-XML-Parser.i686 2.36-7.el6 @base
perl-XML-SAX.noarch 0.96-7.el6 @base
perl-XML-Simple.noarch 2.18-6.el6 @base
perl-devel.i686 4:5.10.1-136.el6_6.1 @updates
perl-libs.i686 4:5.10.1-136.el6_6.1 @updates
perl-libwww-perl.noarch 5.833-2.el6 @base
perl-version.i686 3:0.77-136.el6_6.1 @updates
rrdtool-perl.i686 1.3.8-7.el6 @base

