Nagios xi - service ndo2db: No such file or directory
Posted: Tue Jul 21, 2020 5:57 am
Current version of Nagios xi: xi-5.6.14
After CentOS yum updated, NagiosXI seems not working. I find that there are some components that stop running. I think there is missing ndo2db service after the yum update. May I know how to troubleshoot it? Many thanks.
Yum history output:
Scriptlet output:
1 warning: /etc/shadow created as /etc/shadow.rpmnew
2 warning: /usr/local/nagios/etc/nrpe.cfg created as /usr/local/nagios/etc/nrpe.cfg.rpmnew
3 warning: /usr/local/nagios/etc/ndo2db.cfg saved as /usr/local/nagios/etc/ndo2db.cfg.rpms
=======================================================================================
ndo2db service not found
[root@nagiosxi /]# service ndo2db restart
Redirecting to /bin/systemctl restart ndo2db.service
Failed to restart ndo2db.service: Unit not found.
=======================================================================================
ndo2db.cfg content
[root@nagiosxi etc]# cat ndo2db.cfg
#####################################################################
# NDO2DB DAEMON CONFIG FILE
#####################################################################
lock_file=/usr/local/nagios/var/ndo2db.lock
ndo2db_user=nagios
ndo2db_group=nagios
socket_type=unix
socket_name=/usr/local/nagios/var/ndo.sock
tcp_port=5668
db_servertype=mysql
db_host=hhmysql.hiphing.com.hk
db_port=3306
db_name=nagios
db_prefix=nagios_
db_user=nagios
db_pass=n@gweb
After CentOS yum updated, NagiosXI seems not working. I find that there are some components that stop running. I think there is missing ndo2db service after the yum update. May I know how to troubleshoot it? Many thanks.
Yum history output:
Scriptlet output:
1 warning: /etc/shadow created as /etc/shadow.rpmnew
2 warning: /usr/local/nagios/etc/nrpe.cfg created as /usr/local/nagios/etc/nrpe.cfg.rpmnew
3 warning: /usr/local/nagios/etc/ndo2db.cfg saved as /usr/local/nagios/etc/ndo2db.cfg.rpms
=======================================================================================
ndo2db service not found
[root@nagiosxi /]# service ndo2db restart
Redirecting to /bin/systemctl restart ndo2db.service
Failed to restart ndo2db.service: Unit not found.
=======================================================================================
ndo2db.cfg content
[root@nagiosxi etc]# cat ndo2db.cfg
#####################################################################
# NDO2DB DAEMON CONFIG FILE
#####################################################################
lock_file=/usr/local/nagios/var/ndo2db.lock
ndo2db_user=nagios
ndo2db_group=nagios
socket_type=unix
socket_name=/usr/local/nagios/var/ndo.sock
tcp_port=5668
db_servertype=mysql
db_host=hhmysql.hiphing.com.hk
db_port=3306
db_name=nagios
db_prefix=nagios_
db_user=nagios
db_pass=n@gweb