Skip to content

RichardKav/Zabbix-Spot-Metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages