Hi all!
I use service.discovery to find a list of services i am interested in as rule filters, but sometimes a server does not contain one of the services in the list, and if that happends
Zabbix just does not show the service as an item because it only looks for positive match.
Question
How can i use service.info[{service.name/service.displayname},state] with service.discovery to throw a 255 'no such service', for services that are in the list but that does not match a running service?
service.discovery rule filters
1. ^(service1|service2|service3|service4) [Result is TRUE]
2. ^(automatic|automatic delayed)$ [Result is TRUE]
Thanks in advance
I use service.discovery to find a list of services i am interested in as rule filters, but sometimes a server does not contain one of the services in the list, and if that happends
Zabbix just does not show the service as an item because it only looks for positive match.
Question
How can i use service.info[{service.name/service.displayname},state] with service.discovery to throw a 255 'no such service', for services that are in the list but that does not match a running service?
service.discovery rule filters
1. ^(service1|service2|service3|service4) [Result is TRUE]
2. ^(automatic|automatic delayed)$ [Result is TRUE]
Thanks in advance
Comment