Here's the output, seems like we might be good to go!
-bash-4.2$ ./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&backend=1&username=nagiosxi&password=*password* -O nagiosql.login--2018-11-07 15:35:27--
http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'nagiosql.login'
[ <=> ] 37,964 --.-K/s in 0.01s
2018-11-07 15:35:30 (2.53 MB/s) - 'nagiosql.login' saved [37964]
LOGIN SUCCESSFUL!
IMPORTING CONFIG FILES...URL:
http://localhost/nagiosxi/includes/components/ccm/
Array
(
)
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&backend=1&username=nagiosxi&password=*password* -O nagiosql.login--2018-11-07 15:36:24--
http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'nagiosql.login'
[ <=> ] 37,964 --.-K/s in 0.01s
2018-11-07 15:36:24 (2.57 MB/s) - 'nagiosql.login' saved [37964]
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 'backend=1&cmd=apply&type=writeConfig' -O nagiosql.export.monitoring
--2018-11-07 15:36:24--
http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'nagiosql.export.monitoring'
[ <=> ] 21,399 --.-K/s in 0.01s
2018-11-07 15:36:31 (1.67 MB/s) - 'nagiosql.export.monitoring' saved [21399]
WRITE CONFIGS SUCCESSFUL!
OUTPUT:
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL
Website:
https://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 12 services.
Checked 9083 hosts.
Checked 2 host groups.
Checked 0 service groups.
Checked 7 contacts.
Checked 2 contact groups.
Checked 126 commands.
Checked 13 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 9083 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