Skip to content
Snippets Groups Projects
Commit 406fa761 authored by Gerard Stanczak's avatar Gerard Stanczak
Browse files

Add S.M.A.R.T monitoring

parent 3ed283df
No related branches found
No related tags found
Loading
...@@ -200,6 +200,13 @@ Dell Open Manage System Status ...@@ -200,6 +200,13 @@ Dell Open Manage System Status
You need also add SUDO for zabbix user: ```zabbix ALL=(ALL) NOPASSWD: /opt/dell/srvadmin/bin/omreport``` You need also add SUDO for zabbix user: ```zabbix ALL=(ALL) NOPASSWD: /opt/dell/srvadmin/bin/omreport```
Template App S.M.A.R.T.
======
Monitoring for S.M.A.R.T. enabled storage devices (HDD's, SSD's and other). Uses discovery script to populate disks. INFO: For non present S.M.A.R.T. values disable items on per-host level.
Template and scripts created by:
Michał Macioszek, Taras Baran, Michal Gębora, Marcin Wilk, Maks Bednarek, Anna Fałek, Mikołaj Szczuraszek
Template App PowerPath Template App PowerPath
====== ======
Monitoring for EMC PowerPath: Host-based software for automated data path management, failover and recovery, and optimized load balancing. PowerPath automates, standardizes, and optimizes data paths in physical and virtual environments as well as cloud deployments to deliver high availability and performance. Monitoring for EMC PowerPath: Host-based software for automated data path management, failover and recovery, and optimized load balancing. PowerPath automates, standardizes, and optimizes data paths in physical and virtual environments as well as cloud deployments to deliver high availability and performance.
......
#!/bin/bash
# Script for HDD discovery
# Created by:
# Michał Macioszek, Taras Baran, Michal Gębora, Marcin Wilk, Maks Bednarek, Anna Fałek, Mikołaj Szczuraszek
#
disks=`ls -l /dev/sd* | awk '{print $NF}' | sed 's/[0-9]//g' | uniq`
echo -n "{\"data\":["
comma=1
for disk in $disks
do
if [ $comma -eq 0 ]; then
echo -n ","
fi
comma=0
echo -n "{\"{#DISKNAME}\":\"$disk\",\"{#SHORTDISKNAME}\":\"${disk:5}\"}"
done
echo -n "]}"
\ No newline at end of file
This diff is collapsed.
UserParameter=hdd.smart[*],sudo smartctl -A $1 | grep $2 | awk '{print $$10}' | tail -1
UserParameter=hdd_discovery, /etc/zabbix/bin/hdd_discovery.sh
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment