Replies: 1 comment
-
One of the reasons is that it is way easier to retrieve the process table than the services. So in case of the check_process all processes are fetched and the process= argument is used as filter. |
Beta Was this translation helpful? Give feedback.
-
I'm testing SNClient at the moment and everything seems to be going well, but I have run into a bit of an issue with the check_service command and I'm not sure if this is intended or not.
If I'm using the check_process command, I can "upgrade" the result from unknown to critical if a process is not running, for example:
Now, if I add empty-syntax and empty-state, I can manually change this:
Obviously, we wouldn't need to check if Word is running but this demonstrates the point. With check_service however, I cannot do the same thing:
Using the same empty-syntax and empty-state values:
Is this intended functionality or could this be altered at all? The idea is that we would want to make sure we have a particular service installed on machines and this would be an easy way to check.
Beta Was this translation helpful? Give feedback.
All reactions