Hi !
I'm trying to get a trigger when there is a specific entry in a logfile.
I wan't to know when a specific user logs on.
I have made the item, and it's working:
name: eidadminlogin
type: ZABBIX_ACTIVE
key: 'log[/var/log/auth.log,*eidadmin*,,,skip]'
delay: 1s
trends: '0'
value_type: LOG
but the trigger won't work:
expression: 'last(/eidadmin_logon/log[/var/log/auth.log,*eidadmin*,,,skip])=1'
name: test
priority: WARNING
I'm trying to get a trigger when there is a specific entry in a logfile.
I wan't to know when a specific user logs on.
I have made the item, and it's working:
name: eidadminlogin
type: ZABBIX_ACTIVE
key: 'log[/var/log/auth.log,*eidadmin*,,,skip]'
delay: 1s
trends: '0'
value_type: LOG
but the trigger won't work:
expression: 'last(/eidadmin_logon/log[/var/log/auth.log,*eidadmin*,,,skip])=1'
name: test
priority: WARNING
Comment