I cannot get /var/log/messages monitored in Zabbix. I've set up an item as follows
NAME: System Event log
Type: Zabbix agent (active)
Key: log[/var/log/messages,"err|crit|alert|emerg"]
Type of information: Log
Update interval (in sec): 30
History storage period (in days): 7
Applications: Log
Enabled: <checked>
Trigger:
Name: /var/log/messages has errors {ITEM.VALUE1}
Expression: {crt-vsam-01.itf.centurylink.net:log[/var/log/messages,"err|crit|alert|emerg"].str(err|crit|alert|emerg,30)}=0
Severity: High
Enabled: <checked>
I've set /var/log/messages permissions to 644 to get the zabbix user to be able to read the log. I run a logger test to a node I'm building this on specifically (not via templates right now). Not getting any messages. Any ideas? Is this a bug?
NAME: System Event log
Type: Zabbix agent (active)
Key: log[/var/log/messages,"err|crit|alert|emerg"]
Type of information: Log
Update interval (in sec): 30
History storage period (in days): 7
Applications: Log
Enabled: <checked>
Trigger:
Name: /var/log/messages has errors {ITEM.VALUE1}
Expression: {crt-vsam-01.itf.centurylink.net:log[/var/log/messages,"err|crit|alert|emerg"].str(err|crit|alert|emerg,30)}=0
Severity: High
Enabled: <checked>
I've set /var/log/messages permissions to 644 to get the zabbix user to be able to read the log. I run a logger test to a node I'm building this on specifically (not via templates right now). Not getting any messages. Any ideas? Is this a bug?
Comment