NOB
27-08-2009, 14:20
Hi
I didn't find any documentation for this new metric in the release :(
According to the source code it seems work like this:
item services[starttype,state]
where starttype can be one of
all
automatic
manual or
disabled
and state can be one of
all
stopped
started
start pending
stop pending
running
contunie pending
pause_pending or
paused
The result will be either a list of services (separated by a newline) fulfilling the criteria (starttype and state) or 0, if list would be empty.
The state name contunie pending is not my typo, it's in the code.
HTH,
Norbert.
I didn't find any documentation for this new metric in the release :(
According to the source code it seems work like this:
item services[starttype,state]
where starttype can be one of
all
automatic
manual or
disabled
and state can be one of
all
stopped
started
start pending
stop pending
running
contunie pending
pause_pending or
paused
The result will be either a list of services (separated by a newline) fulfilling the criteria (starttype and state) or 0, if list would be empty.
The state name contunie pending is not my typo, it's in the code.
HTH,
Norbert.