Zabbix Template: candlepin-rhsmcertd
Monitoring of candlepin-rhsmcertd.
This template is part of RaBe's Zabbix template and helpers collection.
Items
Item: candlepin-rhsmcertd: process summary
Get info about candlepin-rhsmcertd processes
Settings:
Item Setting | Value |
---|---|
Type | ZABBIX_ACTIVE |
Value type | TEXT |
Item: candlepin-rhsmcertd: Unit active state
State value that reflects whether the unit is currently active or not. The following states are currently defined: "active", "reloading", "inactive", "failed", "activating", and "deactivating".
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
History | 7d |
Source item | systemd.unit.get["rhsmcertd.service"] |
Preprocessing steps:
Type | Parameters |
---|---|
JSONPATH | ["$.ActiveState.state"] |
DISCARD_UNCHANGED_HEARTBEAT | ["30m"] |
Item: candlepin-rhsmcertd: CPU seconds (system)
Total CPU seconds (system) of candlepin-rhsmcertd processes.
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
Value type | FLOAT |
History | 7d |
Source item | proc.get[rhsmcertd,root,,summary] |
Preprocessing steps:
Type | Parameters |
---|---|
JSONPATH | ["$[*].cputime_system.first()"] |
SIMPLE_CHANGE | [""] |
DISCARD_UNCHANGED_HEARTBEAT | ["5m"] |
Item: candlepin-rhsmcertd: CPU seconds (user)
Total CPU seconds (user) of candlepin-rhsmcertd processes.
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
Value type | FLOAT |
History | 7d |
Source item | proc.get[rhsmcertd,root,,summary] |
Preprocessing steps:
Type | Parameters |
---|---|
JSONPATH | ["$[*].cputime_user.first()"] |
SIMPLE_CHANGE | [""] |
DISCARD_UNCHANGED_HEARTBEAT | ["5m"] |
Item: candlepin-rhsmcertd: Service load state
State value that reflects whether the configuration file of this unit has been loaded. The following states are currently defined: "loaded", "error", and "masked".
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
History | 7d |
Source item | systemd.unit.get["rhsmcertd.service"] |
Preprocessing steps:
Type | Parameters |
---|---|
JSONPATH | ["$.LoadState.state"] |
DISCARD_UNCHANGED_HEARTBEAT | ["30m"] |
Item: candlepin-rhsmcertd: Number of processes
Number of candlepin-rhsmcertd processes.
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
History | 7d |
Source item | proc.get[rhsmcertd,root,,summary] |
Preprocessing steps:
Type | Parameters |
---|---|
JSONPATH | ["$[*].processes.first()"] |
DISCARD_UNCHANGED_HEARTBEAT | ["5m"] |
Item: candlepin-rhsmcertd: Memory usage (RSS)
Memory usage of candlepin-rhsmcertd processes.
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
History | 7d |
Source item | proc.get[rhsmcertd,root,,summary] |
Preprocessing steps:
Type | Parameters |
---|---|
JSONPATH | ["$[*].rss.first()"] |
DISCARD_UNCHANGED_HEARTBEAT | ["5m"] |
Item: candlepin-rhsmcertd: Swap usage
Swap usage of candlepin-rhsmcertd processes.
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
History | 7d |
Source item | proc.get[rhsmcertd,root,,summary] |
Preprocessing steps:
Type | Parameters |
---|---|
JSONPATH | ["$[*].swap.first()"] |
DISCARD_UNCHANGED_HEARTBEAT | ["5m"] |
Item: candlepin-rhsmcertd: Number of threads
Number of candlepin-rhsmcertd threads.
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
History | 7d |
Source item | proc.get[rhsmcertd,root,,summary] |
Preprocessing steps:
Type | Parameters |
---|---|
JSONPATH | ["$[*].threads.first()"] |
DISCARD_UNCHANGED_HEARTBEAT | ["5m"] |
Item: candlepin-rhsmcertd: Unit file state
Encodes the install state of the unit file of FragmentPath. It currently knows the following states: "enabled", "enabled-runtime", "linked", "linked-runtime", "masked", "masked-runtime", "static", "disabled", and "invalid".
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
History | 7d |
Source item | systemd.unit.get["rhsmcertd.service"] |
Preprocessing steps:
Type | Parameters |
---|---|
JSONPATH | ["$.UnitFileState.state"] |
DISCARD_UNCHANGED_HEARTBEAT | ["30m"] |
Item: candlepin-rhsmcertd: Uptime
Number of seconds since unit entered the active state.
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
Value type | FLOAT in uptime |
History | 7d |
Source item | systemd.unit.get["rhsmcertd.service"] |
Preprocessing steps:
Type | Parameters |
---|---|
JAVASCRIPT | ["data = JSON.parse(value);\nif (data.ActiveEnterTimestamp > data.ActiveExitTimestamp) {\n return Math.floor(Date.now() / 1000) - Number(data.ActiveEnterTimestamp) / 1000000;\n}\nreturn null;\n"] |
Item: candlepin-rhsmcertd: unit info
Get unit info from systemd
Settings:
Item Setting | Value |
---|---|
Type | ZABBIX_ACTIVE |
Value type | TEXT |
Triggers
Trigger: candlepin-rhsmcertd: Service is not running
Settings:
Trigger Setting | Values |
---|---|
Priority | WARNING |
Manual close | YES |
Trigger: candlepin-rhsmcertd: No running processes
No running candlepin-rhsmcertd processes. Settings:
Trigger Setting | Values |
---|---|
Priority | HIGH |
last(/candlepin-rhsmcertd/rabe.candlepin-rhsmcertd.processes)<{$CANDLEPINRHSMCERTD.THRESHOLD.MIN_PROC}
Trigger: candlepin-rhsmcertd: has been restarted
Settings:
Trigger Setting | Values |
---|---|
Priority | INFO |
Manual close | YES |
Macros
The following Zabbix macros are configured via this template.
Macro: {$CANDLEPINRHSMCERTD.THRESHOLD.MIN_PROC}
Minimum amount of processes expected to be running at all times.
Default:
Dashboards
The following Zabbix dashboards are included in this template.
- candlepin-rhsmcertd: Overview
License
This template is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.
Copyright
Copyright (c) 2017 - 2024 Radio Bern RaBe