Greetings All,
I apologies if this has been asked before but I could not find an answer in a forums search. I am using Zabbix to monitor the auth.log on my Linux box but I wold like to exclude any lines that has the word "cron" in it. Below is an example of the lines I wish to exclude from the log file monitoring. Any help would be greatly appreciated. Many thanks in advance for your help.
Dec 20 05:35:01 zabbix CRON[30549]: pam_unix(cron:session): session closed for user root
I apologies if this has been asked before but I could not find an answer in a forums search. I am using Zabbix to monitor the auth.log on my Linux box but I wold like to exclude any lines that has the word "cron" in it. Below is an example of the lines I wish to exclude from the log file monitoring. Any help would be greatly appreciated. Many thanks in advance for your help.
Dec 20 05:35:01 zabbix CRON[30549]: pam_unix(cron:session): session closed for user root
Comment