Nagios stopped working after CentOS packages upgrade

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
User avatar
Shwele
Posts: 47
Joined: Tue Oct 03, 2017 3:00 am

Nagios stopped working after CentOS packages upgrade

Post by Shwele »

Hello guys,

Nagios worked well and peachy until recently, so there was no need to write or report anything until few days ago it just broke after occasional packages upgrade. Note: I did not upgrade Nagios version in a while, so could be conflict at that end as well.

Nagios in web is loading up front page, when I click to login in and add data it just spins endlessly.
Nagstamon is gray, not listing any servers its monitoring and showing only error - IndexError: list of index out of range
On server side it is on failed state.
Here is journalctl -xe with error:

Code: Select all

-- The start-up result is done.
Apr 22 11:19:02 nagios CROND[17451]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1)
Apr 22 11:19:02 nagios systemd[1]: Started Session 115387 of user nagios.
-- Subject: Unit session-115387.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-115387.scope has finished starting up.
--
-- The start-up result is done.
Apr 22 11:19:02 nagios systemd[1]: Started Session 115386 of user nagios.
-- Subject: Unit session-115386.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-115386.scope has finished starting up.
--
-- The start-up result is done.
Apr 22 11:19:02 nagios systemd[1]: Started Session 115382 of user nagios.
-- Subject: Unit session-115382.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-115382.scope has finished starting up.
--
-- The start-up result is done.
Apr 22 11:19:02 nagios systemd[1]: Started Session 115380 of user nagios.
-- Subject: Unit session-115380.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-115380.scope has finished starting up.
--
-- The start-up result is done.
Apr 22 11:19:02 nagios CROND[17454]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Apr 22 11:19:02 nagios CROND[17455]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1)
Apr 22 11:19:02 nagios CROND[17456]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Apr 22 11:19:02 nagios CROND[17457]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/snmptt_service_results.php >> /usr/local/nagiosxi/var/snmptt_service_results
Apr 22 11:19:02 nagios CROND[17458]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php >> /usr/local/nagiosxi/var/cleaner.log 2>&1)
Apr 22 11:19:02 nagios CROND[17459]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1)
Apr 22 11:19:02 nagios CROND[17460]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1)
Apr 22 11:19:02 nagios CROND[17461]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1)
Apr 22 11:19:02 nagios CROND[17462]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1)
Anyone knows what could be causing this issue?

Thanks in advance
Locked