Nagiosxi Client Installation
Re: Nagiosxi Client Installation
-bash-4.2$ ./reconfigure_nagios.sh | tail -20
--2015-04-30 13:44:24-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.loginâ
[ <=> ] 11,252 --.-K/s in 0.01s
2015-04-30 13:44:24 (1.12 MB/s) - ânagiosql.loginâ saved [11252]
--2015-04-30 13:44:24-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.import.monitoringâ
[ <=> ] 16,004 --.-K/s in 0.1s
2015-04-30 13:44:25 (127 KB/s) - ânagiosql.import.monitoringâ saved [16004]
--2015-04-30 13:44:25-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.import.monitoringâ
[ <=> ] 15,897 89.6KB/s in 0.2s
2015-04-30 13:44:25 (89.6 KB/s) - ânagiosql.import.monitoringâ saved [15897]
--2015-04-30 13:44:25-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.loginâ
[ <=> ] 11,252 --.-K/s in 0.009s
2015-04-30 13:44:25 (1.22 MB/s) - ânagiosql.loginâ saved [11252]
--2015-04-30 13:44:25-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.export.monitoringâ
[ <=> ] 14,108 --.-K/s in 0.1s
2015-04-30 13:44:25 (95.8 KB/s) - ânagiosql.export.monitoringâ saved [14108]
Checked 7 contacts.
Checked 2 contact groups.
Checked 118 commands.
Checked 13 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 5 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 13 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
--2015-04-30 13:44:24-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.loginâ
[ <=> ] 11,252 --.-K/s in 0.01s
2015-04-30 13:44:24 (1.12 MB/s) - ânagiosql.loginâ saved [11252]
--2015-04-30 13:44:24-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.import.monitoringâ
[ <=> ] 16,004 --.-K/s in 0.1s
2015-04-30 13:44:25 (127 KB/s) - ânagiosql.import.monitoringâ saved [16004]
--2015-04-30 13:44:25-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.import.monitoringâ
[ <=> ] 15,897 89.6KB/s in 0.2s
2015-04-30 13:44:25 (89.6 KB/s) - ânagiosql.import.monitoringâ saved [15897]
--2015-04-30 13:44:25-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.loginâ
[ <=> ] 11,252 --.-K/s in 0.009s
2015-04-30 13:44:25 (1.22 MB/s) - ânagiosql.loginâ saved [11252]
--2015-04-30 13:44:25-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.export.monitoringâ
[ <=> ] 14,108 --.-K/s in 0.1s
2015-04-30 13:44:25 (95.8 KB/s) - ânagiosql.export.monitoringâ saved [14108]
Checked 7 contacts.
Checked 2 contact groups.
Checked 118 commands.
Checked 13 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 5 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 13 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Re: Nagiosxi Client Installation
Are there any errors in your httpd log that could point toward a failure?
When you installed this server, did you use our virtual machine template or did you install manually?
Code: Select all
tail -n20 /var/log/httpd/error_logRe: Nagiosxi Client Installation
I installed manually.
Re: Nagiosxi Client Installation
Is selinux on?
I will need to be disabled or strange errors can crop up.
Did you find anything in httpd's log?
Code: Select all
sestatusDid you find anything in httpd's log?
Re: Nagiosxi Client Installation
Selinux is disabled.
Re: Nagiosxi Client Installation
here is the last line of the error_log:
[Wed Apr 29 16:47:04.800297 2015] [core:notice] [pid 27891] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Apr 29 16:47:06.975232 2015] [:error] [pid 27899] [client ::1:54282] PHP Warning: filemtime(): stat failed for /usr/local/nagiosxi/etc/components/ccm_config.inc.php in /usr/local/nagiosxi/html/includes/components/ccm/ccm.inc.php on line 111
[Wed Apr 29 16:47:04.800297 2015] [core:notice] [pid 27891] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Apr 29 16:47:06.975232 2015] [:error] [pid 27899] [client ::1:54282] PHP Warning: filemtime(): stat failed for /usr/local/nagiosxi/etc/components/ccm_config.inc.php in /usr/local/nagiosxi/html/includes/components/ccm/ccm.inc.php on line 111
Re: Nagiosxi Client Installation
linux-server/linux-server.inc.php on line 118, referer: http://10.1.86.77/nagiosxi/config/monitoringwizard.php
[Thu Apr 30 13:44:24.907407 2015] [:error] [pid 20409] [client ::1:48839] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Thu Apr 30 13:44:24.907426 2015] [:error] [pid 20409] [client ::1:48839] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 711
[Thu Apr 30 13:44:25.117735 2015] [:error] [pid 27462] [client ::1:48840] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Thu Apr 30 13:44:25.747821 2015] [:error] [pid 1972] [client ::1:48843] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Thu Apr 30 13:44:25.747854 2015] [:error] [pid 1972] [client ::1:48843] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 711
[Thu Apr 30 13:44:24.907407 2015] [:error] [pid 20409] [client ::1:48839] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Thu Apr 30 13:44:24.907426 2015] [:error] [pid 20409] [client ::1:48839] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 711
[Thu Apr 30 13:44:25.117735 2015] [:error] [pid 27462] [client ::1:48840] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Thu Apr 30 13:44:25.747821 2015] [:error] [pid 1972] [client ::1:48843] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Thu Apr 30 13:44:25.747854 2015] [:error] [pid 1972] [client ::1:48843] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 711
Re: Nagiosxi Client Installation
Please run the following:
I believe that this will take care of that error in your httpd log. Is there anything else worth noting in that log?
What version of XI did you install? The version should appear in the bottom-left hand corner of the Web GUI.
Code: Select all
touch /usr/local/nagiosxi/etc/components/ccm_config.inc.php
chown apache.nagios /usr/local/nagiosxi/etc/components/ccm_config.inc.phpWhat version of XI did you install? The version should appear in the bottom-left hand corner of the Web GUI.
Re: Nagiosxi Client Installation
I just ran the commands:
Nagios XI 2014R2.7
Nagios XI 2014R2.7
Re: Nagiosxi Client Installation
here is a snapshot of the issue.
You do not have the required permissions to view the files attached to this post.