I have seen this while playing 'what if' and doing the ndoutils upgrade. If you truly have a cosmetic only GUI issue, as I did, then this is what I found.
In the Nagios XI GUI the "XI System Component Status" applet for the Database Backend will stay red until you make the lock file name match the new setup - the suffix was .lock and is now .pid
Code: Select all
sed -i 's/ndo2db.lock/ndo2db.pid/' /etc/rc.d/init.d/ndo2db
It follows that the configuration file should match the /etc/init.d file.
The file /usr/local/nagios/etc/ndo2db.cfg used to have
Code: Select all
lock_file=/usr/local/nagios/var/ndo2db.lock
The lock file used to be called lock. but now...
Code: Select all
lock_file=/usr/local/nagios/var/ndo2db.pid
They need to match - pid everywhere - or lock everywhere. Pick one and make both files consistent with each other.
This is a subtle issue I chased around for a bit. I prefer Green to Red in my GUI.
Just something I noticed before... It may not be your issue.
Thanks
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1