Nagios XI - Monitoring Engine & Performance Grapher are RED on UI
Posted: Fri Jan 19, 2024 8:35 am
Hi Team,
We have recently installed ( Clean Install ) Nagios XI on Oracle 8 system. Installation went fine and able to get to GUI , however Noticed two of the System Components are in RED : Monitoring Engine & Performance Grapher.
Have tried repair_database script , stopping and restart all services , rebooting system etc. Still no luck.
Below are some of observations in few logs :
tail -20 event_handler.log
----------------------------------------------------------------
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITING
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITING
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITING
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITING
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITING
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITING
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
[root@dennagxip4 var]# tail -20 cleaner.log
KEEPING ALL ERROR CHECKPOINTS
DIR: /usr/local/nagiosxi/nom/checkpoints/nagiosxi
NUMFOUND: 3
KEEPING ALL SNAPSHOTS
----------------------------------
Running callbacks:
----------------------------------
DIR: /usr/local/nagiosxi/nom/checkpoints/nagioscore
NUMFOUND: 3
KEEPING ALL GOOD CHECKPOINTS
DIR: /usr/local/nagiosxi/nom/checkpoints/nagioscore/errors
ls: cannot access '/usr/local/nagiosxi/nom/checkpoints/nagioscore/errors/*.gz': No such file or directory
NUMFOUND: 0
KEEPING ALL ERROR CHECKPOINTS
DIR: /usr/local/nagiosxi/nom/checkpoints/nagiosxi
NUMFOUND: 3
KEEPING ALL SNAPSHOTS
----------------------------------
Running callbacks:
----------------------------------
tail -20 cmdsubsys.log
----------------------------------------------------------------
PROCESS COMMAND: CMD=11, DATA=[""]
CMDLINE=sudo /usr/local/nagiosxi/scripts/manage_services.sh start nagios
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
OUTPUT=
RETURNCODE=1
................................
PROCESSED 2 COMMANDS
..........................................................
PROCESSED 0 COMMANDS
............................................................
PROCESSED 0 COMMANDS
.........................
tail -100 reportengine.log
----------------------------------------------------------------
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
No such file or directory
Database Error: Could not connect to database
No such file or directory
Database Error: Could not connect to database
No such file or directory
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
No such file or directory
Database Error: Could not connect to database
No such file or directory
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
Connection refused
We have recently installed ( Clean Install ) Nagios XI on Oracle 8 system. Installation went fine and able to get to GUI , however Noticed two of the System Components are in RED : Monitoring Engine & Performance Grapher.
Have tried repair_database script , stopping and restart all services , rebooting system etc. Still no luck.
Below are some of observations in few logs :
tail -20 event_handler.log
----------------------------------------------------------------
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITING
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITING
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITING
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITING
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITING
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITING
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
[root@dennagxip4 var]# tail -20 cleaner.log
KEEPING ALL ERROR CHECKPOINTS
DIR: /usr/local/nagiosxi/nom/checkpoints/nagiosxi
NUMFOUND: 3
KEEPING ALL SNAPSHOTS
----------------------------------
Running callbacks:
----------------------------------
DIR: /usr/local/nagiosxi/nom/checkpoints/nagioscore
NUMFOUND: 3
KEEPING ALL GOOD CHECKPOINTS
DIR: /usr/local/nagiosxi/nom/checkpoints/nagioscore/errors
ls: cannot access '/usr/local/nagiosxi/nom/checkpoints/nagioscore/errors/*.gz': No such file or directory
NUMFOUND: 0
KEEPING ALL ERROR CHECKPOINTS
DIR: /usr/local/nagiosxi/nom/checkpoints/nagiosxi
NUMFOUND: 3
KEEPING ALL SNAPSHOTS
----------------------------------
Running callbacks:
----------------------------------
tail -20 cmdsubsys.log
----------------------------------------------------------------
PROCESS COMMAND: CMD=11, DATA=[""]
CMDLINE=sudo /usr/local/nagiosxi/scripts/manage_services.sh start nagios
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
OUTPUT=
RETURNCODE=1
................................
PROCESSED 2 COMMANDS
..........................................................
PROCESSED 0 COMMANDS
............................................................
PROCESSED 0 COMMANDS
.........................
tail -100 reportengine.log
----------------------------------------------------------------
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
No such file or directory
Database Error: Could not connect to database
No such file or directory
Database Error: Could not connect to database
No such file or directory
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
No such file or directory
Database Error: Could not connect to database
No such file or directory
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
Connection refused
Database Error: Could not connect to database
Connection refused