I want to monitor all Windows services set to automatic start, with the ability to exclude some services.
The Item looks like this:
Type: Zabbix agent
Key: services[automatic, stopped, "service1,service2,service3"]
Type of information: Numeric (unsigned)
The Trigger looks like this:
{Template OS Windows:services[automatic, stopped, "service1,service2,service3"].last()}>0
Obviously something is wrong here and I've tested a few things but can't get it to work.
The monitoring part seem to work since Zabbix can see when a service is down, but I get the error message in the Configuration --> Hosts --> [hostname] --> Triggers page that says:
Cannot evaluate expression: expected numeric token at "MapsBroker
RemoteRegistry
Spooler
sppsvc
WbioSrvc)>0".
See complete Item and Trigger config in attached pictures

The Item looks like this:
Type: Zabbix agent
Key: services[automatic, stopped, "service1,service2,service3"]
Type of information: Numeric (unsigned)
The Trigger looks like this:
{Template OS Windows:services[automatic, stopped, "service1,service2,service3"].last()}>0
Obviously something is wrong here and I've tested a few things but can't get it to work.
The monitoring part seem to work since Zabbix can see when a service is down, but I get the error message in the Configuration --> Hosts --> [hostname] --> Triggers page that says:
Cannot evaluate expression: expected numeric token at "MapsBroker
RemoteRegistry
Spooler
sppsvc
WbioSrvc)>0".
See complete Item and Trigger config in attached pictures
Comment