Hello,
I'm new to Zabbix and although I've been picking it up well (and the forums have helped a lot), I'm having a problem with something that I'm not sure is a syntax problem...but I need to ask.
I'm creating a trigger for an item that monitors the Windows Event Log for an Application Error. Here is my trigger that works:
My problem is, as many have discussed before, that the trigger for the occurrence of an event doesn't clear from the dashboard, so I found advice that suggests something like this:
That does work. When I press Update, I get the following error:
For fun, I changed the & to the word "and" like this:
...and got this error:
This almost makes me think that my Zabbix installation is not liking the trigger operators (the & or the #), but I'm a rookie. I could be WAY off on my trigger expression.
Thanks in advance!
I'm new to Zabbix and although I've been picking it up well (and the forums have helped a lot), I'm having a problem with something that I'm not sure is a syntax problem...but I need to ask.
I'm creating a trigger for an item that monitors the Windows Event Log for an Application Error. Here is my trigger that works:
Code:
{testhost:eventlog[Application,,Error,,1000].logseverity(0)}=4
My problem is, as many have discussed before, that the trigger for the occurrence of an event doesn't clear from the dashboard, so I found advice that suggests something like this:
Code:
{testhost:eventlog[Application,,Error,,1000].logseverity(0)}=4 &
{testhost:eventlog[Application,,Error,,1000].nodata(1800)}#1
That does work. When I press Update, I get the following error:
Code:
Incorrect trigger expression. Check expression part starting from " & {testhost:eventlog[Application,,Error,,1000].nodata(1800)}#1".
For fun, I changed the & to the word "and" like this:
Code:
{testhost:eventlog[Application,,Error,,1000].logseverity(0)}=4 and {testhost:eventlog[Application,,Error,,1000].nodata(1800)}#1
Code:
Incorrect trigger expression. Check expression part starting from "}#1".
This almost makes me think that my Zabbix installation is not liking the trigger operators (the & or the #), but I'm a rookie. I could be WAY off on my trigger expression.
Thanks in advance!
Comment