Page 1 of 1
Monitoring Engine
Posted: Thu Mar 13, 2025 4:26 pm
by matson-itops
Would like some help investigating this issue.
Running Nagios XI 5.8.6 . but under "system status" i'm showing "monitoring engine" and "performance grapher" down.
Alerts are coming in , so a little confused.
See screen show.
Re: Monitoring Engine
Posted: Mon Mar 17, 2025 3:40 pm
by matson-itops
repeated attemps to repair database work, but getting error below
-- The unit session-110.scope has successfully entered the 'dead' state.
Mar 17 13:30:04 orec2upm04.prod.matson.com sudo[9241]: nagios : command not allowed ; TTY=unknown ; PWD=/home/nagios ; USER=root ; COMMAND=/usr/local/nagiosxi/scripts/manage_services.s>
Mar 17 13:30:04 orec2upm04.prod.matson.com sudo[9286]: pam_unix(sudo:auth): conversation failed
Mar 17 13:30:04 orec2upm04.prod.matson.com sudo[9286]: pam_unix(sudo:auth): auth could not identify password for [nagios]
Mar 17 13:30:06 orec2upm04.prod.matson.com sudo[9286]: nagios : command not allowed ; TTY=unknown ; PWD=/home/nagios ; USER=root ; COMMAND=/usr/local/nagiosxi/scripts/manage_services.s>
Mar 17 13:30:07 orec2upm04.prod.matson.com systemd[1]: session-99.scope: Succeeded.
Re: Monitoring Engine
Posted: Mon Mar 17, 2025 4:52 pm
by matson-itops
Looks like a mismatch in config file names done by someone else
[nagios services]$ pwd
/usr/local/nagios/etc/services
[nagios services]$ ls -al | grep -i PD05
-rw-rw-r-- 1 nagios nagios 5573 Feb 3 15:43 eqx1vwpd05 - WMS DB.cfg
can someone help me find where in nagios it is looking for databases.cfg like in snapshot?
Re: Monitoring Engine
Posted: Tue Mar 18, 2025 1:58 am
by kg2857
In the future, the OP may not want to use whitespace in host, service, in fact any names. Bad practice. Anything that may eventually devolve to a filename should not use whitestpace.
I'd ask if there are service groups defined. They are a bit brittle.
Re: Monitoring Engine
Posted: Tue Mar 18, 2025 12:19 pm
by matson-itops
Have removed the host and config, and redid db fix,
but apply config still fails with error below
"Error: Could not find any host matching 'EQX1VWPD05 - WMS Database Server' (config file '/usr/local/nagios/etc/services/EQX1VWPD05 - WMS Database Server.cfg', starting on line 127)"
not sure what else to try.
Re: Monitoring Engine
Posted: Tue Mar 18, 2025 3:54 pm
by matson-itops
Seeing this error also
Configuration not applied. There are changes to the database configuration, apply configuration needed.
does this mean something the in db itself changed somehow? how can I check?
Re: Monitoring Engine
Posted: Tue Mar 25, 2025 5:00 pm
by matson-itops
Any update? we need to escalate this as our nagios is not stable.