This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
let notify=75 | |
let criticalnotify=91 | |
let doAct=0 | |
DevMon="/dev/md0" | |
let percval=`df -h | grep -i $DevMon | awk '{ print +$5 }'` | |
echo percval = $percval | |
echo notify = $notify | |
sSev="INFO" | |
##check for critical warning -- can be disabled by making $criticalnotify a crazy number |