Page 1 of 1

Nagios Logs Keep disappearing

Posted: Wed Mar 13, 2024 9:25 am
by veerendra.patial
Hi Team,

We are continuously facing issues related to Nagios Logs getting disappeared.
As a workaround we to run below commands. However we need help with permanent fix

***Command to start and stop Nagios services***
Stop

systemctl stop elasticsearch
systemctl stop logstash
systemctl stop httpd

==wait for 5-10 min === Start

systemctl start elasticsearch
systemctl start logstash
systemctl start httpd


Our current Nagios Log Server version is 2.1.6

Please suggest, quick response will be highly appreciated.

Re: Nagios Logs Keep disappearing

Posted: Wed Mar 13, 2024 1:02 pm
by danderson
Thanks for reaching out @veerendra.patial,

Just to clarify, the logs will sometimes disappear, and when you restart those services the logs reappear?

Re: Nagios Logs Keep disappearing

Posted: Wed Mar 13, 2024 1:46 pm
by jmichaelson
As an add-on, can you also provide system information? RAM, Disc space, RAM and disc usage.

If you can find any relevant data in /var/log/elasticsearch that would be helpful as well (i.e., is elasticsearch crashing?)