Hello community
I reach out to you, as I wasn't able to solve this on my own.
I created a custom item to monitor the state of the Windows Firewall, by adding this to the zabbix agent's configuration:
UserParameter= windows.firewall.status,netsh advfirewall show allprofiles state | findstr /C:"State"
The string values are then postprocessed like this, because i have hosts with both English and Spanish language

This part is working as it should. The item reports correctly the state in all hosts. I want a trigger that triggers when the state of the firewall is inactive, and the trigger stays like that until the state is again active.
The part that i still haven't managed to solve is this.
From that item, i created trigger, in reality 2 of them, neither works as it should
First trigger is constructed like this

The other one:
Well, neither trigger works. What am I doing so wrong? can anyone point me in the right direction?
Thank you in advance!
I reach out to you, as I wasn't able to solve this on my own.
I created a custom item to monitor the state of the Windows Firewall, by adding this to the zabbix agent's configuration:
UserParameter= windows.firewall.status,netsh advfirewall show allprofiles state | findstr /C:"State"
The string values are then postprocessed like this, because i have hosts with both English and Spanish language
This part is working as it should. The item reports correctly the state in all hosts. I want a trigger that triggers when the state of the firewall is inactive, and the trigger stays like that until the state is again active.
The part that i still haven't managed to solve is this.
From that item, i created trigger, in reality 2 of them, neither works as it should
First trigger is constructed like this
The other one:
Well, neither trigger works. What am I doing so wrong? can anyone point me in the right direction?
Thank you in advance!
Comment