Ad Widget

Collapse

"proc.num" check: How to check only "healthy" states for the process?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eithor
    Member
    • May 2020
    • 50

    #1

    "proc.num" check: How to check only "healthy" states for the process?

    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?
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    You've read the documentation! Do you really think there is a secret key that solves your wishlist? :-)

    Comment

    • eithor
      Member
      • May 2020
      • 50

      #3
      :-) I was more thinking of a clever way of working around it that I have not seen.

      Comment

      Working...