Skip to content

Files

Latest commit

89995ce · Dec 14, 2024

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 14, 2024
Dec 14, 2024
Dec 14, 2024
Dec 14, 2024

Zabbix Template: gssproxy

class: software target: gssproxy vendor: RaBe version: 7.0

Monitoring of gssproxy.

This template is part of RaBe's Zabbix template and helpers collection.

Items

Item: gssproxy: process summary

component: raw

Get info about gssproxy processes

proc.get[gssproxy,root,,summary]

Settings:

Item Setting Value
Type ZABBIX_ACTIVE
Value type TEXT

Item: gssproxy: Unit active state

component: service

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".

rabe.gssproxy.active_state

Settings:

Item Setting Value
Type DEPENDENT
History 7d
Source item systemd.unit.get["gssproxy.service"]

Preprocessing steps:

Type Parameters
JSONPATH ["$.ActiveState.state"]
DISCARD_UNCHANGED_HEARTBEAT ["30m"]

Item: gssproxy: CPU seconds (system)

component: gssproxy

Total CPU seconds (system) of gssproxy processes.

rabe.gssproxy.cputime_system

Settings:

Item Setting Value
Type DEPENDENT
Value type FLOAT
History 7d
Source item proc.get[gssproxy,root,,summary]

Preprocessing steps:

Type Parameters
JSONPATH ["$[*].cputime_system.first()"]
SIMPLE_CHANGE [""]
DISCARD_UNCHANGED_HEARTBEAT ["5m"]

Item: gssproxy: CPU seconds (user)

component: gssproxy

Total CPU seconds (user) of gssproxy processes.

rabe.gssproxy.cputime_user

Settings:

Item Setting Value
Type DEPENDENT
Value type FLOAT
History 7d
Source item proc.get[gssproxy,root,,summary]

Preprocessing steps:

Type Parameters
JSONPATH ["$[*].cputime_user.first()"]
SIMPLE_CHANGE [""]
DISCARD_UNCHANGED_HEARTBEAT ["5m"]

Item: gssproxy: Service load state

component: service

State value that reflects whether the configuration file of this unit has been loaded. The following states are currently defined: "loaded", "error", and "masked".

rabe.gssproxy.load_state

Settings:

Item Setting Value
Type DEPENDENT
History 7d
Source item systemd.unit.get["gssproxy.service"]

Preprocessing steps:

Type Parameters
JSONPATH ["$.LoadState.state"]
DISCARD_UNCHANGED_HEARTBEAT ["30m"]

Item: gssproxy: Number of processes

component: gssproxy

Number of gssproxy processes.

rabe.gssproxy.processes

Settings:

Item Setting Value
Type DEPENDENT
History 7d
Source item proc.get[gssproxy,root,,summary]

Preprocessing steps:

Type Parameters
JSONPATH ["$[*].processes.first()"]
DISCARD_UNCHANGED_HEARTBEAT ["5m"]

Item: gssproxy: Memory usage (RSS)

component: gssproxy

Memory usage of gssproxy processes.

rabe.gssproxy.rss

Settings:

Item Setting Value
Type DEPENDENT
History 7d
Source item proc.get[gssproxy,root,,summary]

Preprocessing steps:

Type Parameters
JSONPATH ["$[*].rss.first()"]
DISCARD_UNCHANGED_HEARTBEAT ["5m"]

Item: gssproxy: Swap usage

component: gssproxy

Swap usage of gssproxy processes.

rabe.gssproxy.swap

Settings:

Item Setting Value
Type DEPENDENT
History 7d
Source item proc.get[gssproxy,root,,summary]

Preprocessing steps:

Type Parameters
JSONPATH ["$[*].swap.first()"]
DISCARD_UNCHANGED_HEARTBEAT ["5m"]

Item: gssproxy: Number of threads

component: gssproxy

Number of gssproxy threads.

rabe.gssproxy.threads

Settings:

Item Setting Value
Type DEPENDENT
History 7d
Source item proc.get[gssproxy,root,,summary]

Preprocessing steps:

Type Parameters
JSONPATH ["$[*].threads.first()"]
DISCARD_UNCHANGED_HEARTBEAT ["5m"]

Item: gssproxy: Unit file state

component: service

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".

rabe.gssproxy.unitfile_state

Settings:

Item Setting Value
Type DEPENDENT
History 7d
Source item systemd.unit.get["gssproxy.service"]

Preprocessing steps:

Type Parameters
JSONPATH ["$.UnitFileState.state"]
DISCARD_UNCHANGED_HEARTBEAT ["30m"]

Item: gssproxy: Uptime

component: service

Number of seconds since unit entered the active state.

rabe.gssproxy.uptime

Settings:

Item Setting Value
Type DEPENDENT
Value type FLOAT in uptime
History 7d
Source item systemd.unit.get["gssproxy.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: gssproxy: unit info

component: raw component: unit

Get unit info from systemd

systemd.unit.get["gssproxy.service"]

Settings:

Item Setting Value
Type ZABBIX_ACTIVE
Value type TEXT

Triggers

Trigger: gssproxy: Service is not running

scope: availability

Settings:

Trigger Setting Values
Priority WARNING
Manual close YES
last(/gssproxy/rabe.gssproxy.active_state)<>1

Trigger: gssproxy: No running processes

scope: availability

No running gssproxy processes. Settings:

Trigger Setting Values
Priority HIGH
last(/gssproxy/rabe.gssproxy.processes)<{$GSSPROXY.THRESHOLD.MIN_PROC}

Trigger: gssproxy: has been restarted

scope: notice

Settings:

Trigger Setting Values
Priority INFO
Manual close YES
last(/gssproxy/rabe.gssproxy.uptime)<=10m

Macros

The following Zabbix macros are configured via this template.

Macro: {$GSSPROXY.THRESHOLD.MIN_PROC}

Minimum amount of processes expected to be running at all times.

Default:

1

Dashboards

The following Zabbix dashboards are included in this template.

  • gssproxy: 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