Greetings,
I want to capture failied sudo attempts. I created an item that looks like this:
It works and I can view the sudo history in Zabbix. So next I created a trigger that looks like this:
This trigger makes all warnings go away. If I change it to this:
The warnings never go away.
I've read the docs and searched for help but it just isn't clear to me how to capture specific log events and clear them after a period of time or after the log period expires. Any help is appreciated.
Thanks.
I want to capture failied sudo attempts. I created an item that looks like this:
Code:
log["/var/log/auth.log","sudo:auth","UTF-8",1]
Code:
{host:log["/var/log/auth.log","sudo:auth","UTF-8",1].str("authentication failure")}=0
Code:
{host:log["/var/log/auth.log","sudo:auth","UTF-8",1].str("authentication failure")}=1
I've read the docs and searched for help but it just isn't clear to me how to capture specific log events and clear them after a period of time or after the log period expires. Any help is appreciated.
Thanks.
Comment