bentoti / Zabbix-Spot-Metrics

Zabbix metrics for CPU, Disk, Network and Cache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zabbix Spot Metrics

These are scripts used for Zabbix that create metrics for CPU, Disk, Network and Cache. The create a file with metrics recorded in the format:

<hostname> <key> <value>

They can then be pushed to Zabbix through Zabbix sender, using the command:

zabbix_sender -z -p <port_default_is_10051> -r -i spot-metrics.log

They exist in two versions one for Zsh shells and one for Bash based shells. They are aimed at giving measurements at intervals of around 1 second.

The metrics are contained within the the template: zbx_export_templates.xml and cover the following areas:

CPU:
	Spot CPU Utilization
	Spot CPU Utilization - core 0
	Spot CPU Utilization - core 1
	Spot CPU Utilization - core 2
	Spot CPU Utilization - core 3
	Spot CPU Utilization - core 4
	Spot CPU Utilization - core 5
	Spot CPU Utilization - core 6
	Spot CPU Utilization - core 7

Disk:
	Spot Disk Utilization - Read
	Spot Disk Utilization - Write

Network:
	Spot Network Utilization - In
	Spot Network Utilization - Out	
	
Cache:
	Spot Cache Utilization - LLC load
	Spot Cache Utilization - LLC store
	
	Spot Cache Utilization - references
	Spot Cache Utilization - miss count
	Spot Cache Utilization - miss fraction

About

Zabbix metrics for CPU, Disk, Network and Cache


Languages

Language:Shell 100.0%