Hello I have installed the nagiosxi-5.2.2-64.ova on vmware esxi. On trying the autodiscovery feature the status shows continous and does not show discovered devices.when I run grep "COMPONENT_VERSION" /usr/local/nagiosxi/html/includes/components/autodiscovery/autodiscovery.inc.php the output is " COMPONENT_VERSION => '2.2.3',".
Request your help to resolve the issue.
The output of errorlog is as below
touch: cannot touch `/usr/local/nagiosxi/html/includes/components/autodiscovery/jobs/a6mag0.watch': Permission denied
sh: /usr/local/nagiosxi/html/includes/components/autodiscovery/jobs/a6mag0.out: Permission denied
[Tue Nov 24 17:10:28 2015] [error] [client 172.16.24.10] PHP Warning: filemtime(): stat failed for /usr/local/nagiosxi/html/includes/components/autodiscovery/jobs/a6mag0.out in /usr/local/nagiosxi/html/includes/components/autodiscovery/index.php on line 280, referer: http://172.16.25.82/nagiosxi/includes/c ... ode=newjob
[Tue Nov 24 17:16:04 2015] [error] [client 172.16.24.10] PHP Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in /usr/local/nagiosxi/html/includes/utils-tools.inc.php on line 33, referer: http://172.16.25.82/nagiosxi/config/?xi ... wizard.php
[Tue Nov 24 17:16:04 2015] [error] [client 172.16.24.10] PHP Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in /usr/local/nagiosxi/html/includes/utils-tools.inc.php on line 135, referer: http://172.16.25.82/nagiosxi/config/?xi ... wizard.php
[Tue Nov 24 17:24:52 2015] [error] [client 172.16.24.10] PHP Warning: filemtime(): stat failed for /usr/local/nagiosxi/html/includes/components/autodiscovery/jobs/a6mag0.out in /usr/local/nagiosxi/html/includes/components/autodiscovery/index.php on line 280, referer: http://172.16.25.82/nagiosxi/config/?xi ... wizard.php
New Installation Of Nagios XI Autodiscovery status continous
Re: New Installation Of Nagios XI Autodiscovery status conti
What is the output of a ls -l /usr/local/nagiosxi/html/includes/components/autodiscovery/ command?
Former Nagios Employee.
me.
me.
Re: New Installation Of Nagios XI Autodiscovery status conti
The Output is of ls -l /usr/local/nagiosxi/html/includes/components/autodiscovery/
total 140
-rw-r--r-- 1 nagios nagios 29782 Sep 16 10:19 1autodiscovery.inc.php
-rw-r--r-- 1 root root 12514 Nov 24 18:11 autodiscovery.inc.php
-rw-r--r-- 1 nagios nagios 2329 Nov 13 00:46 CHANGES.TXT
-rw-r--r-- 1 root root 30811 Nov 24 19:01 err.txt
drwxr-xr-x 2 nagios nagios 4096 Nov 13 00:46 images
-rw-r--r-- 1 nagios nagios 37897 Nov 13 00:46 index.php
drwxr-xr-x 2 nagios nagios 4096 Nov 13 00:46 jobs
-rw-r--r-- 1 nagios nagios 1381 Nov 13 00:46 sanity.sh
drwxr-xr-x 2 nagios nagios 4096 Nov 13 00:46 scripts
total 140
-rw-r--r-- 1 nagios nagios 29782 Sep 16 10:19 1autodiscovery.inc.php
-rw-r--r-- 1 root root 12514 Nov 24 18:11 autodiscovery.inc.php
-rw-r--r-- 1 nagios nagios 2329 Nov 13 00:46 CHANGES.TXT
-rw-r--r-- 1 root root 30811 Nov 24 19:01 err.txt
drwxr-xr-x 2 nagios nagios 4096 Nov 13 00:46 images
-rw-r--r-- 1 nagios nagios 37897 Nov 13 00:46 index.php
drwxr-xr-x 2 nagios nagios 4096 Nov 13 00:46 jobs
-rw-r--r-- 1 nagios nagios 1381 Nov 13 00:46 sanity.sh
drwxr-xr-x 2 nagios nagios 4096 Nov 13 00:46 scripts
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: New Installation Of Nagios XI Autodiscovery status conti
There is a bug in 5.2.2 that doesn't install the component correctly. The following steps grabs it from the 5.2.0 installer and installs it.
Try the following:
Try the following:
Code: Select all
cd /tmp
rm -rf nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.2.0.tar.gz
tar xzf xi-5.2.0.tar.gz
cp -R -n nagiosxi/nagiosxi/basedir/html/includes/components/autodiscovery/* /usr/local/nagiosxi/html/includes/components/autodiscovery/
cd /usr/local/nagiosxi/html/includes/components/autodiscovery/
./install.sh As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: New Installation Of Nagios XI Autodiscovery status conti
The Autodiscovery works now.
Thanks.
I have got another problem after this. I shall open a new Querry.
Thanks.
I have got another problem after this. I shall open a new Querry.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: New Installation Of Nagios XI Autodiscovery status conti
Glad to hear it's working!
Yes, please open a different query. Thanks!
Yes, please open a different query. Thanks!