diff options
author | Sven Nierlein <sven@nierlein.de> | 2021-07-05 09:36:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-05 09:36:17 +0200 |
commit | ed33dd37e7f1a6ab5a9185fcbe0e3c32c2c1a98a (patch) | |
tree | 96e35dd0b489d65c4f805a0a3820560b40a6af77 | |
parent | b02bcd4870a81d0ba4d4070d3cfc32a1aac61aad (diff) | |
parent | 6e5ee70d07c0a8515acdc3ad52716285a4b7f77b (diff) | |
download | monitoring-plugins-ed33dd37e7f1a6ab5a9185fcbe0e3c32c2c1a98a.tar.gz |
Merge pull request #1691 from RincewindsHat/no-host-check-for-check_by_ssh
Let ssh decide if a host is valid, enables usage of ssh .config file
-rw-r--r-- | plugins/check_by_ssh.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index 13d8bc3b..485bf3be 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c @@ -230,7 +230,6 @@ process_arguments (int argc, char **argv) timeout_interval = atoi (optarg); break; case 'H': /* host */ - host_or_die(optarg); hostname = optarg; break; case 'p': /* port number */ @@ -329,7 +328,6 @@ process_arguments (int argc, char **argv) if (c <= argc) { die (STATE_UNKNOWN, _("%s: You must provide a host name\n"), progname); } - host_or_die(argv[c]); hostname = argv[c++]; } |