sending nagios logs to rsyslog
Posted: Thu Jul 31, 2014 5:27 am
Hi,
I am a newbie to installing and setting up nagios and I am trying to set up Nagios 4.0.7 to send warnings and critical messages to /var/log/messages (RHEL6.5). When I use user.info in /etc/rsyslogd.conf I get thousands of messages.
1. Are there any another rsyslog facilities that I can use besides user.info?
2. Is there a way that I can set it to log everything to the nagios log file but only the first HARD WARNINGS AND CRITICALS, the first OK AFTER HARD WARNINGS AND CRITICALS to /var/log/messages?
3. Is there a way to have each host group it's own thesholds for the checks rather than having to go individually to each server config file?
Cheers
MNS
I am a newbie to installing and setting up nagios and I am trying to set up Nagios 4.0.7 to send warnings and critical messages to /var/log/messages (RHEL6.5). When I use user.info in /etc/rsyslogd.conf I get thousands of messages.
1. Are there any another rsyslog facilities that I can use besides user.info?
2. Is there a way that I can set it to log everything to the nagios log file but only the first HARD WARNINGS AND CRITICALS, the first OK AFTER HARD WARNINGS AND CRITICALS to /var/log/messages?
3. Is there a way to have each host group it's own thesholds for the checks rather than having to go individually to each server config file?
Cheers
MNS