Ad Widget

Collapse

Monitoring Windows Services with Space in the Name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jjoelson
    Junior Member
    • Jul 2009
    • 2

    #1

    Monitoring Windows Services with Space in the Name

    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
    Senior Member
    • Nov 2006
    • 481

    #2
    Does the item work ? Did you try service_state["service name"] ?

    Comment

    • jjoelson
      Junior Member
      • Jul 2009
      • 2

      #3
      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.

      Comment

      Working...