Ad Widget

Collapse

services[] always returns 0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swaterhouse
    Senior Member
    • Apr 2006
    • 268

    #1

    services[] always returns 0

    I am trying to get the agent to pull back a list of stopped services using services[automatic,stopped], but it always returned 0 (which is supposed to signify none).

    But in testing I tried passing services[], services[all,all], services[automatic] and others but never got a return other than 0.

    I am running zabbix agent version 2.2.1 on a 64-bit Windows 2008 R2 server for testing.

    Ran the following from command line as a test as well.

    zabbix_agentd --test services[automatic,started]
    services[automatic,started] [s|0]
Working...