X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=modules%2Fprivate%2Fmonitoring%2Fobjects_common.nix;fp=modules%2Fprivate%2Fmonitoring%2Fobjects_common.nix;h=4b44e56bfd9495e879cc2ab7d88c6e4af5e8e9d1;hp=df378b5243adfa6a9dd0aa6cf83b1f8a1bb6767a;hb=f7a3019f100fd37a2a26b1de5af72952010da477;hpb=ba887ba6eaab762b63928816f58aa833f6a5151b 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 check_command_status = "$USER2$/check_command -c \"$ARG1$\" -s \"$ARG2$\" $ARG3$"; check_ntp = "$USER1$/check_ntp_time -t 30 -q -H 0.arch.pool.ntp.org"; check_mailq = "$USER1$/check_mailq -s -w 1 -c 2"; + check_megaraid = "$USER2$/check_megaraid_sas --sudo"; check_mysql_replication = "${sudo} -u mysql $USER2$/check_mysql_replication \"$ARG1$\" \"$ARG2$\""; check_postgresql_replication = "${sudo} -u postgres $USER2$/check_postgres_replication \"$ARG1$\" \"$ARG2$\" \"$ARG3$\""; check_openldap_replication = "${sudo} -u openldap $USER2$/check_openldap_replication \"$ARG1$\" \"$ARG2$\" \"$ARG3$\" \"$ARG4$\" \"$ARG5$\"";