PDA

View Full Version : Monitoring Windows Services with Space in the Name


jjoelson
22-07-2009, 17:20
Hello,

I'm running zabbix 1.6.1 monitoring a windows server 2003 host. One of the windows services that I'd like to monitor has a space in the name, and this is preventing me from adding the trigger. Creating a trigger with the following expression:

{server:service_state[service name].last(0)}=6

fails with the following message:

ERROR: Cannot add trigger

* No such monitored parameter (service_state[service name]) for host (server)

I have several other services on this host successfully monitored; it is only the services with a space in the name that are giving me issues. I couldn't find anything in the zabbix documentation about such a case so I tried quotation marks, escaping the space with a \, parentheses, curly braces, and everything else I could think of, to no avail. Does anyone know how this can be done?

Calimero
23-07-2009, 11:00
Does the item work ? Did you try service_state["service name"] ?

jjoelson
23-07-2009, 15:20
Sorry, I should have been clearer. It is only creating the trigger which is causing a problem; the item correctly reports 0 when the service is started and 6 when it is stopped.