#3076 add rsyslogd monitoring for log02
Closed: Fixed Opened by kevin.

Currently we aren't monitoring if rsyslogd is running on log02. If its not, we don't get any messages from all our other hosts.

Add a check to nagios to make sure rsyslogd is running.


Actually rsyslogd was running - the issue is that the merged logs were not being written.

So the nagios job would need to look at /var/log/merged/messages.log - and if that file didn't change size between two runs of nagios or maybe if the mtime wasn't in the last minute or two - then throw up an alarm.

There's a chance that I did something wrong since I just saw that particular nagios setup. :)

A git patch attached. Also you can fetch it from my home directory at lockbox01:/home/fedora/thesharp/3076.patch

Works as predicted.

|02:31:01| RECOVERY - log02.phx2.fedoraproject.org/Check Merged Log is OK: FILE_AGE OK: /var/log/merged/messages.log is 0 seconds old and 41515647 bytes (noc01)

Metadata