Hello everyone,
I'm working with Zabbix 3.2, and I need to monitor some logs when they have an "error" string on them, but I cannot make it work.
Here's what I'm doing:
First I've made an item in the workstation, called "Log monitor",
Type: Zabbix agent(active),
Key: logrt["C:\zabbix\zabbix_agentd.log"],
Type of Information: Text,
Update interval: 30 sec.
Then I've made a trigger named "log monitor testing", with this values:
severity: info,
Expression: {DT0163658:logrt["C:\zabbix\zabbix_agentd.log"].str("started",120)}=0
(i've made this using the "Add" button, "find string V in last most recent value", and the string is "started" just for testing)
But I cannot make it work. Can someone help me do this? I've read the documentation but seems like I'm missing something.
I'm working with Zabbix 3.2, and I need to monitor some logs when they have an "error" string on them, but I cannot make it work.
Here's what I'm doing:
First I've made an item in the workstation, called "Log monitor",
Type: Zabbix agent(active),
Key: logrt["C:\zabbix\zabbix_agentd.log"],
Type of Information: Text,
Update interval: 30 sec.
Then I've made a trigger named "log monitor testing", with this values:
severity: info,
Expression: {DT0163658:logrt["C:\zabbix\zabbix_agentd.log"].str("started",120)}=0
(i've made this using the "Add" button, "find string V in last most recent value", and the string is "started" just for testing)
But I cannot make it work. Can someone help me do this? I've read the documentation but seems like I'm missing something.
Comment