md raid and zabbix

Subject In this article I explain how to setup Software RAID monitoring with zabbix. The solution will use two ways – active monitoring (polling) of an array status and passive traps for array events, sent out by the mdadm daemon. Symptoms There were two challenges to deal with. First, even configured properly the e-mail notification…

Stop pam_unix polluting log files

Problem PAM module pam_unix produces lots of log messages, that pollute system log files. In my case this was in the /var/log/auth.log file. Excessive log messages are logged in particular for sudo, sshd and CRON. In the particular case, due to frequent usage of sudo by Zabbix agent, log statements were written every few seconds. This all…