We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Check manual page of hr_ps

Checkmk Manual

On this page

Search in the manual

SNMP Processes

Distribution: official part of Check_MK
License: GPL
Supported Agents: SNMP

The HOST-RESOURCES-MIB is a standardized MIB provided by many SNMP agents. This check uses that MIB in order to monitor the current processes of the target host.

No default levels are set. Upper and lower levels for the amount of processes can be configured. The status running, runnable, not runnable or invalid can be mapped th OK, WARN, CRIT or UNKNOWN. The default is OK.

Item

A user defined name which must be unique.

Discovery

One check is created per user defined name. Within the discovery rule SNMP Process Discovery you can specify which processes are taken into account. You can either match on the process name hrSWRunName or the process path hrSWRunPath, and the process status hrSWRunStatus.

The service description may contain one or more occurances of %s. If you do this, then the pattern must be a regular expression and be prefixed with ~. For each %s in the description, the expression has to contain one "group". A group is a subexpression enclosed in brackets, for example (.*) or ([a-zA-Z]+) or (...). When the discovery finds a process matching the pattern, it will substitute all such groups with the actual values when creating the check. That way one rule can create several checks on a host.

If the pattern contains more groups then occurrances of %s in the service description then only the first matching subexpressions are used for the service descriptions. The matched substrings corresponding to the remaining groups are copied into the regular expression, nevertheless.