diff options
| author | Paul Buetow <paul@buetow.org> | 2023-05-21 12:27:58 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-05-21 12:27:58 +0300 |
| commit | 7f3e11af535a2ed3ab52d9f963a12fff2080b6b0 (patch) | |
| tree | 5d09e548b77ed29894ed8465e0331b1aac34e8a9 | |
| parent | 8e91ac878e338dab220be462125714fe7471aa9e (diff) | |
change habit job
| -rw-r--r-- | frontends/Rexfile | 2 | ||||
| -rw-r--r-- | frontends/etc/gogios.json.tpl | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/frontends/Rexfile b/frontends/Rexfile index e00578b..f769893 100644 --- a/frontends/Rexfile +++ b/frontends/Rexfile @@ -242,7 +242,7 @@ task 'habit', group => 'frontends', group => 'wheel', mode => '755'; - append_if_no_such_line '/etc/daily.local', 'perl /usr/local/bin/habit.pl | /usr/bin/mail -s Habit paul'; + append_if_no_such_line '/etc/daily.local', 'perl /usr/local/bin/habit.pl'; }; desc 'Setup relayd'; diff --git a/frontends/etc/gogios.json.tpl b/frontends/etc/gogios.json.tpl index 6982dec..6123ec9 100644 --- a/frontends/etc/gogios.json.tpl +++ b/frontends/etc/gogios.json.tpl @@ -18,11 +18,15 @@ <% for my $host (qw(fishfinger blowfish babylon5)) { %> "Check Ping4 <%= $host %>.buetow.org": { "Plugin": "<%= $plugin_dir %>/check_ping", - "Args": ["-H", "<%= $host %>.buetow.org", "-4", "-w", "100,10%", "-c", "200,15%"] + "Args": ["-H", "<%= $host %>.buetow.org", "-4", "-w", "100,10%", "-c", "200,15%"], + "Retries": 3, + "RetryInterval": 3 }, "Check Ping6 <%= $host %>.buetow.org": { "Plugin": "<%= $plugin_dir %>/check_ping", - "Args": ["-H", "<%= $host %>.buetow.org", "-6", "-w", "100,10%", "-c", "200,15%"] + "Args": ["-H", "<%= $host %>.buetow.org", "-6", "-w", "100,10%", "-c", "200,15%"], + "Retries": 3, + "RetryInterval": 3 }, <% } -%> <% for my $host (@$acme_hosts) { -%> |
