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.
since 1 week, alert history doesn't works the way it should be. I explain :
for the current day, I have normal alerts history listing. When I click on "latest archive", for 1 week ago, I have "No history information was found in this archived log file".
Yesterday I had logs on "current log" but today when I go on earlier archive I have nothing.
For your information, I reloaded Nagios 1 week ago as I usually do.
etc/rc.d/init.d/nagios reload
But since this I had problems with alert history logs.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Couple of things: /usr/local/nagios is the default install location for source installs, so your version is probably from a repo. You should still be able to view those older logs even though they are less full than usual. You may want to check that you don't have 2 processes running.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Tried Killing the multiple nagios process still i have the same issue.
Can't view the alert history for the previous day.However i am able to view all the Alert history for the current day.
Also the path /usr/local/nagios/var/archives has all the archive logs for the previous day but still cant view the same in Alert history in Nagios.
service nagios stop
killall -9 nagios
service ndo2db stop
killall -9 ndo2db
rm -f /usr/local/nagios/var/ndo.sock
service ndo2db start
for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done
service nagios start
After Nagios has started, please run this command:
ipcs -q
It should only show one nagios queue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.