Zabbix Share

Zabbix templates, modules & more
Log in
Choose social to login:
Login With Google
Login With Github

Nav view search

Navigation

Advanced Search
  • Applications
  • Cloud
  • Databases
  • Network Appliances
  • Network Devices
  • Official Templates
  • Operating Systems
  • Power (UPS)
  • Printers
  • SCADA, IoT, Energy, Home Automation, Industrial monitoring
  • Server Hardware
  • Storage Devices
  • Telephony
  • Unsorted
  • Virtualization
  • Zabbix
    • API Libraries
    • DB (Partitioning, storage solutions)
    • Icon sets
    • Installers
    • Notifications
    • Provisioning and deploy
    • Tools and utilities
    • Web Addons
    • Zabbix module language bindings
  • Recently Added
  • Recently Updated
  • Popular
  • Most Rated
  • Top Rated
  • Most Reviewed

Template App Zabbix processes memory usage

Overview

With help of Zabbix agent will discover and start to monitor all running Zabbix processes including server, proxy and agent processes.

Requirements

Requires the following utilities to be available on the agent host:

  • pgrep
  • egrep
  • sed
  • jq

Also requires that remote commands be enabled in agent configuration.

How it works

Watch the data in the "Latest data" section or individually each process type in the graph created from graph prototype. Memory usage is monitored by the process type. It doesn't matter how many poller processes you have running, the memory used by all of them will be monitored.

First, we discover all running process types, e. g.

  • zabbix_agentd: active checks
  • zabbix_agentd: collector
  • ...
  • zabbix_server: alerter
  • zabbix_server: alert manager
  • ...

Then, for each we create 2 items to monitor VmRSS and VmSwap usage. On top of that we create calculated item that sums those up. For each calculated item there will be a graph created.

If the following command works on your agent host the template should work:

pgrep -a 'zabbix_(server|agentd|agent2|proxy)' | egrep -o --color=none 'zabbix_(server|agentd|agent2|proxy): .*' | sed 's/ [#\[].*//' | sort -u | jq -Rs '{data: split("\n")[:-1]| map(split(": ") | {"{#COMPONENT}": .[0], "{#PROCESS}": .[1]})}'
Rating
500
0 vote

Listing Details

Type
Template
OS
  • General
Min Zabbix version
4.4.x
Features
  • Zabbix Agent
Created
2020-09-28
Modified
2020-10-19 10:14:52
Version 4.4
Download (108 downloads)
1 version, '2020-09-28 16:44' modified
Tags
memory, usage, zabbix, processes, lld
Author
dimir
Owner
Vladimir Levijev
RecommendReportOwner's listing
All resources created by third parties; use at your own risk
© 2001-2018 by Zabbix SIA. All rights reserved. Trademark Policy · Contact us