aboutsummaryrefslogtreecommitdiff
path: root/modules/private/monitoring/objects_common.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2021-02-06 23:33:40 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-02-06 23:33:40 +0100
commitf7a3019f100fd37a2a26b1de5af72952010da477 (patch)
treed1736cc9859fc0e1462446150b5e0f6c94611c4d /modules/private/monitoring/objects_common.nix
parentba887ba6eaab762b63928816f58aa833f6a5151b (diff)
downloadNix-f7a3019f100fd37a2a26b1de5af72952010da477.tar.gz
Nix-f7a3019f100fd37a2a26b1de5af72952010da477.tar.zst
Nix-f7a3019f100fd37a2a26b1de5af72952010da477.zip
Add megaraid monitoring
Diffstat (limited to 'modules/private/monitoring/objects_common.nix')
-rw-r--r--modules/private/monitoring/objects_common.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/private/monitoring/objects_common.nix b/modules/private/monitoring/objects_common.nix
index df378b5..4b44e56 100644
--- a/modules/private/monitoring/objects_common.nix
+++ b/modules/private/monitoring/objects_common.nix
@@ -136,6 +136,7 @@ in
136 check_command_status = "$USER2$/check_command -c \"$ARG1$\" -s \"$ARG2$\" $ARG3$"; 136 check_command_status = "$USER2$/check_command -c \"$ARG1$\" -s \"$ARG2$\" $ARG3$";
137 check_ntp = "$USER1$/check_ntp_time -t 30 -q -H 0.arch.pool.ntp.org"; 137 check_ntp = "$USER1$/check_ntp_time -t 30 -q -H 0.arch.pool.ntp.org";
138 check_mailq = "$USER1$/check_mailq -s -w 1 -c 2"; 138 check_mailq = "$USER1$/check_mailq -s -w 1 -c 2";
139 check_megaraid = "$USER2$/check_megaraid_sas --sudo";
139 check_mysql_replication = "${sudo} -u mysql $USER2$/check_mysql_replication \"$ARG1$\" \"$ARG2$\""; 140 check_mysql_replication = "${sudo} -u mysql $USER2$/check_mysql_replication \"$ARG1$\" \"$ARG2$\"";
140 check_postgresql_replication = "${sudo} -u postgres $USER2$/check_postgres_replication \"$ARG1$\" \"$ARG2$\" \"$ARG3$\""; 141 check_postgresql_replication = "${sudo} -u postgres $USER2$/check_postgres_replication \"$ARG1$\" \"$ARG2$\" \"$ARG3$\"";
141 check_openldap_replication = "${sudo} -u openldap $USER2$/check_openldap_replication \"$ARG1$\" \"$ARG2$\" \"$ARG3$\" \"$ARG4$\" \"$ARG5$\""; 142 check_openldap_replication = "${sudo} -u openldap $USER2$/check_openldap_replication \"$ARG1$\" \"$ARG2$\" \"$ARG3$\" \"$ARG4$\" \"$ARG5$\"";