diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-02-06 23:33:40 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-02-06 23:33:40 +0100 |
commit | f7a3019f100fd37a2a26b1de5af72952010da477 (patch) | |
tree | d1736cc9859fc0e1462446150b5e0f6c94611c4d /modules/private/monitoring/objects_quatresaisons.nix | |
parent | ba887ba6eaab762b63928816f58aa833f6a5151b (diff) | |
download | Nix-f7a3019f100fd37a2a26b1de5af72952010da477.tar.gz Nix-f7a3019f100fd37a2a26b1de5af72952010da477.tar.zst Nix-f7a3019f100fd37a2a26b1de5af72952010da477.zip |
Add megaraid monitoring
Diffstat (limited to 'modules/private/monitoring/objects_quatresaisons.nix')
-rw-r--r-- | modules/private/monitoring/objects_quatresaisons.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/private/monitoring/objects_quatresaisons.nix b/modules/private/monitoring/objects_quatresaisons.nix index 3927ef5..de0ce86 100644 --- a/modules/private/monitoring/objects_quatresaisons.nix +++ b/modules/private/monitoring/objects_quatresaisons.nix | |||
@@ -12,5 +12,11 @@ let | |||
12 | in | 12 | in |
13 | { | 13 | { |
14 | service = [ | 14 | service = [ |
15 | { | ||
16 | passiveInfo = defaultPassiveInfo // { servicegroups = "webstatus-resources"; }; | ||
17 | service_description = "No RAID device is degraded"; | ||
18 | use = "local-service"; | ||
19 | check_command = ["check_megaraid"]; | ||
20 | } | ||
15 | ]; | 21 | ]; |
16 | } | 22 | } |