Category: Zabbix
-
Software Raid monitoring in Zabbix 3.2
Item1: Item1: Name: Software Raid exist Type: Zabbix Agent Key: vfs.file.regmatch[/proc/mdstat,raid] Type of information: Character Application: Filesystem Item2: Name: Software Raid broken Type: Zabbix Agent Key: vfs.file.regmatch[/proc/mdstat,_] Type of information: Character Application: Filesystem Trigger1: Name: Software raid broken {HOSTNAME} Severity: Disaster Expression: {Template OS Linux:vfs.file.regmatch[/proc/mdstat,raid].last(0)}>0 and {Template OS Linux:vfs.file.regmatch[/proc/mdstat,_].last(0)}>0
-
Check if latest Kernel is running on Ubuntu, with Zabbix
First a created a bash script that return 0 – error, 1 – OK, 2 – Old Kernel is running. The script is called /usr/local/bin/last-kernel-check.sh #!/bin/bash name=”`uname -a | cut -d ‘ ‘ -f3`” new=”0″ for files in `ls /boot/config* | xargs -n 1 basename | cut -d ‘-‘ -f2-` do if [ “$files” == “$name”…
-
Zabbix Template for Netgear GS716T
Here is a Zabbix export of my Template for Netgear GS716T. zabix_template_netgear_gs716t