Nagiosxi Client Installation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lmichel
Posts: 44
Joined: Tue Mar 15, 2011 9:11 am

Re: Nagiosxi Client Installation

Post by lmichel »

-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
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagiosxi Client Installation

Post by jolson »

Are there any errors in your httpd log that could point toward a failure?

Code: Select all

tail -n20 /var/log/httpd/error_log
When you installed this server, did you use our virtual machine template or did you install manually?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
lmichel
Posts: 44
Joined: Tue Mar 15, 2011 9:11 am

Re: Nagiosxi Client Installation

Post by lmichel »

I installed manually.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagiosxi Client Installation

Post by jolson »

Is selinux on?

Code: Select all

sestatus
I will need to be disabled or strange errors can crop up.

Did you find anything in httpd's log?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
lmichel
Posts: 44
Joined: Tue Mar 15, 2011 9:11 am

Re: Nagiosxi Client Installation

Post by lmichel »

Selinux is disabled.
lmichel
Posts: 44
Joined: Tue Mar 15, 2011 9:11 am

Re: Nagiosxi Client Installation

Post by lmichel »

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
lmichel
Posts: 44
Joined: Tue Mar 15, 2011 9:11 am

Re: Nagiosxi Client Installation

Post by lmichel »

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
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagiosxi Client Installation

Post by jolson »

Please run the following:

Code: Select all

touch /usr/local/nagiosxi/etc/components/ccm_config.inc.php
chown apache.nagios /usr/local/nagiosxi/etc/components/ccm_config.inc.php
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.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
lmichel
Posts: 44
Joined: Tue Mar 15, 2011 9:11 am

Re: Nagiosxi Client Installation

Post by lmichel »

I just ran the commands:
Nagios XI 2014R2.7
lmichel
Posts: 44
Joined: Tue Mar 15, 2011 9:11 am

Re: Nagiosxi Client Installation

Post by lmichel »

here is a snapshot of the issue.
You do not have the required permissions to view the files attached to this post.
Locked