Hi,
I see several of the included templates uses the "proc.num" check and states that it check for "Number of running processes". Looking at the documentation I see that it defaults to accepting *all* process states, including e.g. "zombie" and "trace" where the process is not in a healthy state.
How can I check just for "healthy" states like "run" and "sleep"? It seems that the state parameter can only take one value, and not e.g. a regex.
I could of course create several checks for each state and several dependent triggers but it gets complicated to get a good overview, and resource-intensive.
Any suggestions?
I see several of the included templates uses the "proc.num" check and states that it check for "Number of running processes". Looking at the documentation I see that it defaults to accepting *all* process states, including e.g. "zombie" and "trace" where the process is not in a healthy state.
How can I check just for "healthy" states like "run" and "sleep"? It seems that the state parameter can only take one value, and not e.g. a regex.
I could of course create several checks for each state and several dependent triggers but it gets complicated to get a good overview, and resource-intensive.
Any suggestions?
Comment