diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-03-09 01:13:47 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-03-09 01:13:47 +0100 |
commit | ef909e2435194af725f4338a13e4732328ef7361 (patch) | |
tree | edea0c466a7ad3ef083cfa1e57cd4fdf79081ab8 /modules/private/monitoring/objects_common.nix | |
parent | 85ad771e2635a544461f0a340f8b8c7126688678 (diff) | |
download | Nix-ef909e2435194af725f4338a13e4732328ef7361.tar.gz Nix-ef909e2435194af725f4338a13e4732328ef7361.tar.zst Nix-ef909e2435194af725f4338a13e4732328ef7361.zip |
Adjust sql parameters
This commit makes several changes:
- One of the mysql databases is not dumped anymore
- Monitoring now checks that mysql is actually replicating
- Databases are migrated to ssd
Diffstat (limited to 'modules/private/monitoring/objects_common.nix')
-rw-r--r-- | modules/private/monitoring/objects_common.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/private/monitoring/objects_common.nix b/modules/private/monitoring/objects_common.nix index 4b44e56..ee158dc 100644 --- a/modules/private/monitoring/objects_common.nix +++ b/modules/private/monitoring/objects_common.nix | |||
@@ -145,7 +145,7 @@ in | |||
145 | check_smtp = "$USER1$/check_smtp -H $HOSTADDRESS$ -p 25 -S -D 21,15"; | 145 | check_smtp = "$USER1$/check_smtp -H $HOSTADDRESS$ -p 25 -S -D 21,15"; |
146 | check_tcp = "$USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ -e \"$ARG2$\" -Mcrit"; | 146 | check_tcp = "$USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ -e \"$ARG2$\" -Mcrit"; |
147 | check_tcp_ssl = "$USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ -S -D 21,15"; | 147 | check_tcp_ssl = "$USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ -S -D 21,15"; |
148 | check_zfs = "$USER2$/check_zpool.sh -p ALL"; | 148 | check_zfs = "$USER2$/check_zpool.sh -p ALL -w 80 -c 90"; |
149 | 149 | ||
150 | check_host_alive = "$USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5"; | 150 | check_host_alive = "$USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5"; |
151 | check_last_file_date = "${sudo} -u \"$ARG3$\" $USER2$/check_last_file_date \"$ARG1$\" \"$ARG2$\""; | 151 | check_last_file_date = "${sudo} -u \"$ARG3$\" $USER2$/check_last_file_date \"$ARG1$\" \"$ARG2$\""; |