Source
xxxxxxxxxx
description'This macro is used in the discovery of processes. It can be overridden on a host-level or on a linked template-level.'
zabbix_export
version'7.0'
template_groups
uuid a571c0d144b14fd4a87a9d9b2aa9fcd6
name Templates/Applications
templates
uuid 0f6889282f6048e2b1370e569e578985
template'OS processes by Zabbix agent'
name'OS processes by Zabbix agent'
description
Get processes metrics using item proc.get by Zabbix agent.
You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback
Generated by official Zabbix template tool "Templator"
vendor
name Zabbix
version 7.0-1
groups
name Templates/Applications
items
uuid 803390429cf949d3b8439dd5dd71c706
name'Get process summary'
key'proc.get[,,,summary]'
history'0'
value_type TEXT
trends'0'
description'The summary of data metrics for all processes.'
tags
tag component
value raw
discovery_rules
uuid 7c0e8b719d0e464f92ee42a3da75b682
name'Processes discovery'
type DEPENDENT
key custom.proc.discovery
delay'0'
filter
evaltype AND
conditions
macro'{#NAME}'
value'{$PROC.NAME.MATCHES}'
formulaid A
macro'{#NAME}'
value'{$PROC.NAME.NOT_MATCHES}'
operator NOT_MATCHES_REGEX
formulaid B
macro'{#VMEM}'
value'-1'
operator NOT_MATCHES_REGEX
formulaid C
description'Discovery of OS summary processes.'
item_prototypes
uuid 2e9b31e2b47741f4b35c5d15f33378ea
name'Process [{#NAME}]: Get data'
type DEPENDENT
key'custom.proc.get[{#NAME}]'
delay'0'
history'0'
value_type TEXT
trends'0'
description'Summary metrics collected during the process {#NAME}.'
preprocessing
type JSONPATH
parameters
'$.[?(@["name"]=="{#NAME}")].first()'
error_handler CUSTOM_VALUE
error_handler_params'Failed to retrieve process {#NAME} data'
master_item
key'proc.get[,,,summary]'
tags
tag component
value raw
tag process
value'{#NAME}'
uuid 822ffda22eb042b89fc50b212aab133f
name'Process [{#NAME}]: Size of locked memory'
type DEPENDENT
key'custom.proc.mem.locked[{#NAME}]'
delay'0'
value_type FLOAT
units B
description'The size of locked memory {#NAME}.'
preprocessing
type JSONPATH
parameters
$.lck
error_handler DISCARD_VALUE
master_item
key'custom.proc.get[{#NAME}]'
tags