Configuration Verification issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Configuration Verification issue

Post by raamardhani7 »

Seems like NNA files are installed..

[root@lussvpnagiosxi00 local]# ls
bin etc games include lib lib64 libexec nagios nagiosmobile nagiosna nagiosxi nagvis nrdp nsis nsti sbin share src tripwire

Is it a better thought to uninstall NNA, it is not installed fully thought, could you please advise me how can I uninstall that.
[root@lussvpnagiosxi00 var]# ls
backend.log cmdsubsys.log
[root@lussvpnagiosxi00 var]# tail -20 cmdsubsys.log
Could not open input file: /var/www/html/nagiosna/www/index.php
[root@lussvpnagiosxi00 var]# pwd
/usr/local/nagiosna/var
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Configuration Verification issue

Post by tgriep »

Try doubling the /etc/php.ini settings to the following.

Code: Select all

max_execution_time = 120
max_input_time = 180
memory_limit = 512M
Before we get too deep in on removing NA, lets check and see it it is running at all.
Please run the following in a shell and post the output back here.

Code: Select all

ps -ef
Be sure to check out our Knowledgebase for helpful articles and solutions!
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Configuration Verification issue

Post by raamardhani7 »

tgriep wrote:Try doubling the /etc/php.ini settings to the following.

Code: Select all

max_execution_time = 120
max_input_time = 180
memory_limit = 512M
Before we get too deep in on removing NA, lets check and see it it is running at all.
Please run the following in a shell and post the output back here.

Code: Select all

ps -ef

Hi Tgriep,

Have doubled the parameters updated and recycled the services.

[root@lussvpnagiosxi00 ~]# service httpd stop
Stopping httpd: [ OK ]
[root@lussvpnagiosxi00 ~]# vi /etc/php.ini
[root@lussvpnagiosxi00 ~]# service httpd start
Starting httpd: [ OK ]
[root@lussvpnagiosxi00 ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@lussvpnagiosxi00 ~]# service nagios restart
Running configuration check...
Stopping nagios: done.
Starting nagios: done.

Code: Select all

 ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Jun12 ?        00:06:58 /sbin/init
root         2     0  0 Jun12 ?        00:00:00 [kthreadd]
root         3     2  0 Jun12 ?        00:03:14 [migration/0]
root         4     2  0 Jun12 ?        00:02:07 [ksoftirqd/0]
root         5     2  0 Jun12 ?        00:00:00 [stopper/0]
root         6     2  0 Jun12 ?        00:00:13 [watchdog/0]
root         7     2  0 Jun12 ?        00:03:35 [migration/1]
root         8     2  0 Jun12 ?        00:00:00 [stopper/1]
root         9     2  0 Jun12 ?        00:01:53 [ksoftirqd/1]
root        10     2  0 Jun12 ?        00:00:12 [watchdog/1]
root        11     2  0 Jun12 ?        00:07:30 [events/0]
root        12     2  0 Jun12 ?        00:14:20 [events/1]
root        13     2  0 Jun12 ?        00:00:00 [cgroup]
root        14     2  0 Jun12 ?        00:00:00 [khelper]
root        15     2  0 Jun12 ?        00:00:00 [netns]
root        16     2  0 Jun12 ?        00:00:00 [async/mgr]
root        17     2  0 Jun12 ?        00:00:00 [pm]
root        18     2  0 Jun12 ?        00:00:33 [sync_supers]
root        19     2  0 Jun12 ?        00:00:39 [bdi-default]
root        20     2  0 Jun12 ?        00:00:00 [kintegrityd/0]
root        21     2  0 Jun12 ?        00:00:00 [kintegrityd/1]
root        22     2  0 Jun12 ?        00:05:23 [kblockd/0]
root        23     2  0 Jun12 ?        00:05:39 [kblockd/1]
root        24     2  0 Jun12 ?        00:00:00 [kacpid]
root        25     2  0 Jun12 ?        00:00:00 [kacpi_notify]
root        26     2  0 Jun12 ?        00:00:00 [kacpi_hotplug]
root        27     2  0 Jun12 ?        00:00:00 [ata_aux]
root        28     2  0 Jun12 ?        00:00:00 [ata_sff/0]
root        29     2  0 Jun12 ?        00:00:00 [ata_sff/1]
root        30     2  0 Jun12 ?        00:00:00 [ksuspend_usbd]
root        31     2  0 Jun12 ?        00:00:00 [khubd]
root        32     2  0 Jun12 ?        00:00:00 [kseriod]
root        33     2  0 Jun12 ?        00:00:00 [md/0]
root        34     2  0 Jun12 ?        00:00:00 [md/1]
root        35     2  0 Jun12 ?        00:00:00 [md_misc/0]
root        36     2  0 Jun12 ?        00:00:00 [md_misc/1]
root        37     2  0 Jun12 ?        00:00:00 [linkwatch]
root        39     2  0 Jun12 ?        00:00:03 [khungtaskd]
root        40     2  0 Jun12 ?        00:00:00 [kswapd0]
root        41     2  0 Jun12 ?        00:00:00 [ksmd]
root        42     2  0 Jun12 ?        00:07:16 [khugepaged]
root        43     2  0 Jun12 ?        00:00:00 [aio/0]
root        44     2  0 Jun12 ?        00:00:00 [aio/1]
root        45     2  0 Jun12 ?        00:00:00 [crypto/0]
root        46     2  0 Jun12 ?        00:00:00 [crypto/1]
root        54     2  0 Jun12 ?        00:00:00 [kthrotld/0]
root        55     2  0 Jun12 ?        00:00:00 [kthrotld/1]
root        56     2  0 Jun12 ?        00:00:00 [pciehpd]
root        58     2  0 Jun12 ?        00:00:00 [kpsmoused]
root        59     2  0 Jun12 ?        00:00:00 [usbhid_resumer]
root        60     2  0 Jun12 ?        00:00:00 [deferwq]
root        92     2  0 Jun12 ?        00:00:00 [kdmremove]
root        93     2  0 Jun12 ?        00:00:00 [kstriped]
root       192     2  0 Jun12 ?        00:03:23 [mpt_poll_0]
root       193     2  0 Jun12 ?        00:00:00 [mpt/0]
root       194     2  0 Jun12 ?        00:00:00 [scsi_eh_0]
root       200     2  0 Jun12 ?        00:00:00 [scsi_eh_1]
root       201     2  0 Jun12 ?        00:00:00 [scsi_eh_2]
root       315     2  0 Jun12 ?        00:00:00 [kdmflush]
root       317     2  0 Jun12 ?        00:00:00 [kdmflush]
root       334     2  0 Jun12 ?        00:15:23 [jbd2/dm-0-8]
root       335     2  0 Jun12 ?        00:00:00 [ext4-dio-unwrit]
root       431     1  0 Jun12 ?        00:00:13 /sbin/udevd -d
root       635     2  0 Jun12 ?        00:02:23 [vmmemctl]
root       768     2  0 Jun12 ?        00:00:00 [jbd2/sda1-8]
root       769     2  0 Jun12 ?        00:00:00 [ext4-dio-unwrit]
root       812     2  0 Jun12 ?        00:02:53 [kauditd]
root       900     2  0 Jun12 ?        00:15:50 [flush-253:0]
root      1224     1  0 Jun12 ?        00:06:01 auditd
root      1246     1  0 Jun12 ?        00:00:00 /sbin/portreserve
root      1377     1  0 Jun12 ?        00:04:29 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5
root      1407     1  0 Jun12 ?        00:33:49 irqbalance --pid=/var/run/irqbalance.pid
rpc       1423     1  0 Jun12 ?        00:00:13 rpcbind
dbus      1538     1  0 Jun12 ?        00:00:35 dbus-daemon --system
68        1555     1  0 Jun12 ?        00:01:10 hald
root      1556  1555  0 Jun12 ?        00:00:00 hald-runner
root      1588  1556  0 Jun12 ?        00:00:00 hald-addon-input: Listening on /dev/input/event2 /dev/input/event0
68        1598  1556  0 Jun12 ?        00:04:47 /usr/libexec/hald-addon-acpi
root      1634     1  0 Jun12 ?        00:04:14 /opt/storix/bin/lighttpd -f /storix/config/sthttpd.conf
root      1663     1  0 Jun12 ?        07:55:47 /opt/storix/tcl/bin/tcl /opt/storix/bin/stqdaemon
root      1836     1  0 Jun12 ?        00:04:32 /usr/libexec/postfix/master
postfix   1856  1836  0 Jun12 ?        00:05:55 qmgr -l -t fifo -u
root      1861     1  0 Jun12 ?        00:00:06 /usr/sbin/abrtd
root      1869     1  0 Jun12 ?        00:01:22 abrt-dump-oops -d /var/spool/abrt -rwx /var/log/messages
root      1908     1  0 Jun12 ?        00:00:15 /usr/sbin/atd
root      1936     1  0 Jun12 ?        01:00:16 ./wrapper ./agent.conf wrapper.pidfile=../tmp/teagent.pid wrapper.daemonize=TRUE
root      1951     1  0 Jun12 ?        00:00:08 rhnsd
root      1960     1  0 Jun12 ?        00:00:04 /usr/bin/rhsmcertd
root      1975     1  0 Jun12 ?        00:00:00 /usr/sbin/certmonger -S -p /var/run/certmonger.pid
root      1990     1  0 Jun12 tty2     00:00:00 /sbin/mingetty /dev/tty2
root      1992     1  0 Jun12 tty3     00:00:00 /sbin/mingetty /dev/tty3
root      1994     1  0 Jun12 tty4     00:00:00 /sbin/mingetty /dev/tty4
root      1996     1  0 Jun12 tty5     00:00:00 /sbin/mingetty /dev/tty5
root      1998     1  0 Jun12 tty6     00:00:00 /sbin/mingetty /dev/tty6
root      3000     1  0 Aug22 ?        00:01:34 /usr/sbin/snmptrapd -Lsd -p /var/run/snmptrapd.pid
root      3064     1  0 Aug22 ?        00:01:10 /usr/bin/perl /usr/sbin/snmptt --daemon
snmptt    3065  3064  0 Aug22 ?        00:03:58 /usr/bin/perl /usr/sbin/snmptt --daemon
root      6094     1  0 Sep15 ?        00:00:09 /usr/sbin/sshd
root      6153     1  0 Jun22 ?        00:00:00 /usr/sbin/oddjobd -p /var/run/oddjobd.pid -t 300
root      6198     1  0 Jun22 ?        00:04:42 /usr/sbin/sssd -f -D
root      6199  6198  0 Jun22 ?        01:06:35 /usr/libexec/sssd/sssd_be --domain fossil.com --debug-to-files
root      6200  6198  0 Jun22 ?        00:06:39 /usr/libexec/sssd/sssd_nss --debug-to-files
root      6201  6198  0 Jun22 ?        00:09:29 /usr/libexec/sssd/sssd_pam --debug-to-files
root      6202  6198  0 Jun22 ?        00:01:10 /usr/libexec/sssd/sssd_sudo --debug-to-files
nagios   12789     1  0 06:59 ?        00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
root     13098     1  0 06:59 ?        00:00:04 crond
root     13522     1  0 07:00 ?        00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysq
root     13551     1  0 Aug24 ?        00:08:43 /usr/sbin/snmpd -LS0-6d -Lf /dev/null -p /var/run/snmpd.pid
mysql    13626 13522  0 07:00 ?        00:01:35 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var
root     14715     1  0 Jun22 ?        00:18:47 /usr/bin/python /usr/sbin/osad --pid-file /var/run/osad.pid
root     17775  1936  0 Jun12 ?        02:48:39 /usr/local/tripwire/te/agent/jre/bin/java -da -server -Dtw.server=false -Djava.security.manager=com.tripwire.kernel.ext.
postfix  17898  1836  0 13:41 ?        00:00:00 pickup -l -t fifo -u
root     18588     1  0 Jul22 tty1     00:00:00 /sbin/mingetty /dev/tty1
root     25095   431  0 Jun30 ?        00:00:19 /sbin/udevd -d
root     25557  6094  0 14:13 ?        00:00:00 sshd: rardhani [priv]
rardhani 25592 25557  0 14:13 ?        00:00:00 sshd: rardhani@pts/1
rardhani 25593 25592  0 14:13 pts/1    00:00:00 -sh
root     25622 25593  0 14:13 pts/1    00:00:00 sudo su -
root     25623 25622  0 14:13 pts/1    00:00:00 /bin/su -
root     25624 25623  0 14:13 pts/1    00:00:00 -bash
root     27006     1  0 14:19 ?        00:00:00 /usr/sbin/httpd
apache   27008 27006  4 14:19 ?        00:00:21 /usr/sbin/httpd
apache   27009 27006  4 14:19 ?        00:00:21 /usr/sbin/httpd
apache   27010 27006  4 14:19 ?        00:00:21 /usr/sbin/httpd
apache   27011 27006  4 14:19 ?        00:00:21 /usr/sbin/httpd
apache   27012 27006  4 14:19 ?        00:00:20 /usr/sbin/httpd
apache   27013 27006  4 14:19 ?        00:00:21 /usr/sbin/httpd
apache   27014 27006  4 14:19 ?        00:00:20 /usr/sbin/httpd
apache   27015 27006  4 14:19 ?        00:00:21 /usr/sbin/httpd
postgres 27016 29006  0 14:19 ?        00:00:00 postgres: nagiosxi nagiosxi [local] idle
postgres 27019 29006  0 14:19 ?        00:00:00 postgres: nagiosxi nagiosxi [local] idle
postgres 27022 29006  0 14:19 ?        00:00:00 postgres: nagiosxi nagiosxi [local] idle
postgres 27025 29006  0 14:19 ?        00:00:00 postgres: nagiosxi nagiosxi [local] idle
postgres 27029 29006  0 14:19 ?        00:00:00 postgres: nagiosxi nagiosxi [local] idle
postgres 27032 29006  0 14:19 ?        00:00:00 postgres: nagiosxi nagiosxi [local] idle
postgres 27035 29006  0 14:19 ?        00:00:00 postgres: nagiosxi nagiosxi [local] idle
postgres 27042 29006  0 14:19 ?        00:00:00 postgres: nagiosxi nagiosxi [local] idle
nagios   27112     1  0 14:19 ?        00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios   27114 27112  0 14:19 ?        00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   27115 27112  0 14:19 ?        00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   27116 27112  0 14:19 ?        00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   27117 27112  0 14:19 ?        00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   27118 12789  0 14:19 ?        00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios   27119 27118  0 14:19 ?        00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios   27126 27112  0 14:19 ?        00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root     27234  6094  0 14:20 ?        00:00:00 sshd: rardhani [priv]
rardhani 27265 27234  0 14:20 ?        00:00:00 sshd: rardhani@pts/2
rardhani 27266 27265  0 14:20 pts/2    00:00:00 -sh
root     27295 27266  0 14:20 pts/2    00:00:00 sudo su -
root     27296 27295  0 14:20 pts/2    00:00:00 /bin/su -
root     27297 27296  0 14:20 pts/2    00:00:00 -bash
root     27326 27297  0 14:20 pts/2    00:00:00 tail -f /usr/local/nagiosxi/var/cmdsubsys.log
nagios   27532     1  0 03:06 ?        00:00:00 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
root     28068 30333  0 Jul02 ?        00:21:55 ping -a DALCKIWP00
root     28296     1  0 Jun22 ?        02:20:20 /usr/sbin/vmtoolsd
apache   28491 27006  2 14:25 ?        00:00:02 /usr/sbin/httpd
postgres 28493 29006  0 14:25 ?        00:00:00 postgres: nagiosxi nagiosxi [local] idle
nagios   28871 27116  0 14:27 ?        00:00:00 /usr/local/nagios/libexec/check_nrpe -H 172.28.45.25 -t 30 -c check_cpu_stats -n -a -w 70,40,30 -c 90,60,40
root     28872 25624  7 14:27 pts/1    00:00:00 ps -ef
postgres 29006     1  0 03:11 ?        00:00:02 /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data
postgres 29008 29006  0 03:11 ?        00:00:01 postgres: logger process
postgres 29010 29006  0 03:11 ?        00:00:07 postgres: writer process
postgres 29011 29006  0 03:11 ?        00:00:05 postgres: wal writer process
postgres 29012 29006  0 03:11 ?        00:00:02 postgres: autovacuum launcher process
postgres 29013 29006  0 03:11 ?        00:00:05 postgres: stats collector process
ajaxterm 29331     1  0 Jun30 ?        00:37:26 python /usr/share/ajaxterm/ajaxterm.py --daemon --port=8022 --uid=ajaxterm
root     30008   431  0 Aug10 ?        00:00:03 /sbin/udevd -d
root     30331     1  0 Jul02 ?        00:00:00 sudo su -
root     30332 30331  0 Jul02 ?        00:00:00 /bin/su -
root     30333 30332  0 Jul02 ?        00:00:00 -bash
root     32167     1  0 03:13 ?        00:00:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Configuration Verification issue

Post by raamardhani7 »

Hi Team,

Any Inputs please.

Thanks.
Last edited by tmcdonald on Mon Sep 21, 2015 9:54 am, edited 1 time in total.
Reason: Please do not "bump" topics - our offices are closed on Sundays, and we open again at 9AM CDT on Monday.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Configuration Verification issue

Post by tgriep »

Does the Apply Config Finish now with the new changes?

The Network Analyzer services are not running so you can delete this file to stop the cron process for the NA system.

Code: Select all

rm /etc/cron.d/nagiosna
Be sure to check out our Knowledgebase for helpful articles and solutions!
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Configuration Verification issue

Post by raamardhani7 »

tgriep wrote:Does the Apply Config Finish now with the new changes?

The Network Analyzer services are not running so you can delete this file to stop the cron process for the NA system.

Code: Select all

rm /etc/cron.d/nagiosna
Hi Tgriep,

Same issue,
Applying Configuration

Command submitted for processing...
Waiting for configuration verification...............................................

Unable to figure out what could be the issue.
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Configuration Verification issue

Post by raamardhani7 »

XI Component status :

Even after trying to recycle the agent, it is throwing the below attached error.

Just a doubt:

/usr/local/nagiosxi/html/includes/utilsx.inc.php

grep curl_setopt /usr/local/nagiosxi/html/includes/utilsx.inc.php
curl_setopt($ch, CURLOPT_TIMEOUT, $options['timeout']);
curl_setopt($ch, CURLOPT_URL, $page);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); //Just return the data - not print the whole thing.
curl_setopt($ch, CURLOPT_HEADER, true); //We need the headers
curl_setopt($ch, CURLOPT_NOBODY, false); //The content - if true, will not download the contents
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $url_parts['query']);
curl_setopt($ch, CURLOPT_USERAGENT, $send_header['User-Agent']); //The Name of the UserAgent we will be using ;)
curl_setopt($ch, CURLOPT_HTTPHEADER, $custom_headers);
curl_setopt($ch, CURLOPT_COOKIEJAR, "cookie.txt"); //If ever needed...
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);
curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, get_option('proxy_tunnel', 1));
curl_setopt($ch, CURLOPT_PROXY, get_option('proxy_address'));
curl_setopt($ch, CURLOPT_PROXYPORT, get_option('proxy_port'));
curl_setopt($ch, CURLOPT_PROXYTYPE, 'HTTP');
curl_setopt($ch, CURLOPT_PROXYUSERPWD, get_option('proxy_auth'));
curl_setopt($ch, CURLOPT_HTTPHEADER, $custom_headers);

Please check the VERIFYHOST,2 is this correct??

//Updated to 2 on 4/10/2013, support for 1 is removed in curl 7.28.1 and PHP 5.4 - MG - Updated 6/4/2013 to take into account older systems -SW
181 $curl_version_info = curl_version();
182 if ($curl_version_info['version_number'] >= 465921 || version_compare(phpversion(), '5.4', '>'))
183 curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
184 else
185 curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);
186 //proxy options - added 10/12/2011 -MG
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Configuration Verification issue

Post by ssax »

Please run these commands and post the full output:

Code: Select all

su - nagios
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Configuration Verification issue

Post by ssax »

In addition to my previous post, please send me the output of this command:

Code: Select all

sestatus
Did you make any changes to your HTTPD config files at all?
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Configuration Verification issue

Post by raamardhani7 »

ssax wrote:In addition to my previous post, please send me the output of this command:

Code: Select all

sestatus
Did you make any changes to your HTTPD config files at all?
I didnt made any changes to HTTPD config files.

I tried installing NNA on the same server without checking on which server I am trying that install. And that failed because same instance cannot be installed on a single server. From that time I am facing this issue.

Code: Select all

sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          disabled
Policy version:                 24
Policy from config file:        targeted
Please find the output of reconfig.

Code: Select all

./reconfigure_nagios.sh
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.login--2015-09-21 23:45:19--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.loginâ

    [ <=>                                                                                                                           ] 10,379      --.-K/s   in 0.01s

2015-09-21 23:45:19 (878 KB/s) - ânagiosql.loginâ

LOGIN SUCCESSFUL!
IMPORTING CONFIG FILES...URL: http://localhost/nagiosxi/includes/components/ccm/
Array
(
)
SETUID ROOT OK
RESETTING PERMS
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.login--2015-09-21 23:45:19--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.loginâ

    [ <=>                                                                                                                           ] 10,379      --.-K/s   in 0.01s

2015-09-21 23:45:20 (872 KB/s) - ânagiosql.loginâ

LOGIN SUCCESSFUL!
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'cmd=apply&type=writeConfig' -O nagiosql.export.monitoring
--2015-09-21 23:45:20--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.export.monitoringâ

    [  <=>                                                                                                                          ] 13,233      34.1K/s   in 0.4s

2015-09-21 23:45:20 (34.1 KB/s) - ânagiosql.export.monitoringâ

WRITE CONFIGS SUCCESSFUL!
OUTPUT:
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL

Website: http://www.nagios.org
Reading configuration data...
   Read main config file okay...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
        Checked 206 services.
        Checked 23 hosts.
        Checked 7 host groups.
        Checked 9 service groups.
        Checked 14 contacts.
        Checked 3 contact groups.
        Checked 125 commands.
        Checked 22 time periods.
        Checked 0 host escalations.
        Checked 0 service escalations.
Checking for circular paths...
        Checked 23 hosts
        Checked 0 service dependencies
        Checked 0 host dependencies
        Checked 22 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
Running configuration check...
Stopping nagios: done.
Starting nagios: done.
Also please find the output of /var/log/httpd/error_log

Code: Select all

[Mon Sep 21 14:45:38 2015] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Sep 21 14:51:30 2015] [error] [client ::1] PHP Notice:  Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Mon Sep 21 14:51:30 2015] [error] [client ::1] PHP Notice:  Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 711
[Mon Sep 21 14:51:30 2015] [error] [client ::1] PHP Notice:  Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Mon Sep 21 14:51:30 2015] [error] [client ::1] PHP Notice:  Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 711
[Mon Sep 21 14:51:31 2015] [notice] caught SIGTERM, shutting down
[Mon Sep 21 14:51:31 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Mon Sep 21 14:51:31 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Sep 21 14:51:31 2015] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 21 14:51:31 2015] [notice] Digest: done
[Mon Sep 21 14:51:31 2015] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Sep 21 23:45:20 2015] [error] [client ::1] PHP Notice:  Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Mon Sep 21 23:45:20 2015] [error] [client ::1] PHP Notice:  Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 711
Locked