Page 1 of 1
Nagios + Check_MK: write notifications in /var/log/messages
Posted: Thu Nov 09, 2017 6:42 am
by acalero
Hi all,
I installed Nagios Core and Check_MK latest versions on CentOS 7. I would like notifications to be written in /var/log/messages. Is there any way to do it?
Thanks,
Albert
Re: Nagios + Check_MK: write notifications in /var/log/messa
Posted: Fri Nov 10, 2017 1:29 pm
by dwasswa
Hi
@acalero,
By default, Nagios is already configured to log your notifications at
/var/log/messages through a directive
log_notifications=1 in the
nagios.cfg file located at
/usr/local/nagios/etc/ on your nagios server. However, you have the liberty to have them not logged. If you change the directive
log_notifications=1 to
log_notifications=0 then they will not be logged.
For more information about nagios configurations in
nagios.cfg, please follow this link...
nagios main configuration file.
Please let me know if you have any questions and I will be glad to help.
Re: Nagios + Check_MK: write notifications in /var/log/messa
Posted: Tue Nov 28, 2017 2:36 pm
by kyang
Hey acalero, just checking in to see if your issue is resolved?
Are we okay to close this thread? Or did you have any more questions?