php.ini changes done, httpd restarted.
httpd error logs give no output, but it looks like we're not speaking of the same fault.
this is my view of the service status page (host status is the same):
service status.PNG
minemap:
minemap.PNG
As you can see the pages are loading but are empty in terms of host/services.
Code: Select all
# tail -Fn0 /usr/local/nagiosxi/var/cmdsubsys.log
.........................
PROCESSED 0 COMMANDS
.......PROCESSING COMMAND ID 4284...
PROCESS COMMAND: CMD=17, DATA=
APPLYING NAGIOSCORE CONFIG...
CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh
--- reset_config_perms.sh ------------
> Setting script permissions
> Setting CCM script permissions
> Setting special script permissions
> Setting special component script permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
> Setting libexec directory permissions
> Setting Nagios XI config permissions
> Setting NOM checkpoint user:group permissions
> + Setting CCM configuration file user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------
--- ccm_import.php -------------------
> Setting import directory: /usr/local/nagios/etc/import/
> Importing config files into the CCM
No files to import
--------------------------------------
--- ccm_export.php -------------------
> Writing CCM configuration to Nagios files
Finished writing out configuraton
--------------------------------------
--------------------------------------
> Verifying configuration with Nagios Core
> Output:
Nagios Core 4.4.6
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2020-04-28
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'Memory Usage' on host 'sccm02' (config file '/usr/local/nagios/etc/services/Memory Usage.cfg', starting on line 16)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 1876 services.
Checked 116 hosts.
Checked 25 host groups.
Checked 7 service groups.
Checked 7 contacts.
Checked 3 contact groups.
Checked 153 commands.
Checked 13 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 116 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
> Return Code: 0
--------------------------------------
....................................................OUTPUT=--------------------------------------
RETURNCODE=0
PROCESSED 1 COMMANDS
PROCESSING COMMAND ID 4285...
PROCESS COMMAND: CMD=1160, DATA=
PROCESSING COMMAND ID 4286...
PROCESS COMMAND: CMD=1150, DATA=remove
CMDLINE=php /usr/local/nagiosxi/html/includes/components/nagiosbpi/api_tool.php --cmd=syncall
theres 2 points in this output that seem to take an abnormally long time to run.
immediately after '--- ccm_export.php -------------------
> Writing CCM configuration to Nagios files' line - this has 20 seconds delay
After the 'Things look okay - No serious problems were detected during the pre-flight check
> Return Code: 0
--------------------------------------'. - this has 90 secs delay.
'systemctl status nagios' shows service is running.
config validates ok, with only a dup warning.
#/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Code: Select all
Nagios Core 4.4.6
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2020-04-28
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'Memory Usage' on host 'sccm02' (config file '/usr/local/nagios/etc/services/Memory Usage.cfg', starting on line 16)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 1876 services.
Checked 116 hosts.
Checked 25 host groups.
Checked 7 service groups.
Checked 7 contacts.
Checked 3 contact groups.
Checked 153 commands.
Checked 13 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 116 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
just to avoid further confusion
system status:
system status.PNG
You do not have the required permissions to view the files attached to this post.