Check_Process State Filter on Windows Machine. #169
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks. Probably for documentation;; I've tried all three windows states and get nothing :( C:\Program Files\snclient>snclient.exe run check_process process="*" filter="state=started" C:\Program Files\snclient>snclient.exe run check_process filter="state=started" C:\Program Files\snclient>snclient.exe run check_process filter="state=stopped" C:\Program Files\snclient>snclient.exe run check_process filter="state=hung" |
Beta Was this translation helpful? Give feedback.
-
I've tried to use the State Filter with Check_Process on a windows machine but never get back anything. Am I using this incorrectly?
According to the documentation;
state | Current state (windows: started, stopped, hung - linux: idle, lock, running, sleep, stop, wait and zombie)
C:\Program Files\snclient>snclient.exe run check_process filter='state=running'
←[0;37m[15:44:53.550][D] filter: state=running←[0m
←[0;37m[15:44:53.550][D] condition warning: count = 0←[0m
←[0;37m[15:44:53.551][D] condition critical: state = 'stopped' or count = 0←[0m
←[0;37m[15:44:53.551][D] condition ok: none←[0m
CRITICAL - no processes found with this filter. |'count'=0;0;0;0 'rss'=0B;;;0 'virtual'=0B;;;0 'cpu'=0%;;;0
Beta Was this translation helpful? Give feedback.
All reactions