projects
/
mirror
/
dsa-nagios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adafef4
)
Check for absence of /proc/mdstat
author
Peter Palfrader
<peter@palfrader.org>
Sun, 14 Dec 2014 13:27:18 +0000
(14:27 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 14 Dec 2014 13:27:24 +0000
(14:27 +0100)
config/nagios-master.cfg
patch
|
blob
|
history
diff --git
a/config/nagios-master.cfg
b/config/nagios-master.cfg
index
d9631f8
..
729ab2c
100644
(file)
--- a/
config/nagios-master.cfg
+++ b/
config/nagios-master.cfg
@@
-1968,6
+1968,12
@@
services:
servicegroups: raid
nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
hostgroups: sw-raid
+ -
+ name: RAID - unexpected sw raid
+ servicegroups: raid
+ nrpe: "if [ -e /proc/mdstat ]; then echo 'Found /proc/mdstat'; exit 1; else echo 'No /proc/mdstat on this host.'; fi"
+ hostgroups: computers
+ excludehostgroups: sw-raid
###
-
name: HW - hpacucli status