Skip to content

Zabbix template to monitor BCache - Linux block device caching layer

Notifications You must be signed in to change notification settings

blind-oracle/zabbix-bcache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zabbix-bcache

Zabbix template & script to monitor BCache - Linux block device caching layer

Features

  • Low level discovery of BCache devices (bcacheN), Cache sets and Cache devices
  • Collection of all important metrics
  • Several triggers (IO errors, state etc)
  • Macros to customize trigger behavior
  • Single Python script to do discovery & get items
  • Usage of dependent items & jsonpath - only a single call per device type to get a JSON
  • Zabbix agent passive mode

Requirements

  • Tested on Zabbix 5.0, but should work on 4.2+
  • Python3

Installation

  • Place bcache.conf in /etc/zabbix/zabbix_agentd.d
  • Place bcache.py in /etc/zabbix/scripts You can put it into any other place, but then you'll have to adjust bcache.conf
  • Restart zabbix-agentd
  • Import template_bcache.xml
  • You're good to go

About

Zabbix template to monitor BCache - Linux block device caching layer

Topics

Resources

Stars

Watchers

Forks

Languages