diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2022-11-21 00:41:12 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2022-11-21 00:41:12 +0100 |
commit | 8d288cf0833621aa9097bc08e49b6833616b64a1 (patch) | |
tree | b73451ee7e5854c062c4c8240a705b8c64789707 /plugins/t/check_swap.t | |
parent | 1bc6d81651c5b5fe865515d420fc2772f4997059 (diff) | |
download | monitoring-plugins-8d288cf0833621aa9097bc08e49b6833616b64a1.tar.gz |
check_by_ssh: Add random wait option -r
Added option -r, --random-wait=MAXTIME to wait for a random amount
of seconds between 0 and MAXTIME.
This should help with deployments which check multiple services
over SSH. I found that adding a wrapper to wait randomly for max
10s reduced the amount of failed SSH connections dramatically,
and thus eliminated many false alarms.
Diffstat (limited to 'plugins/t/check_swap.t')
0 files changed, 0 insertions, 0 deletions