diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-12-02 16:42:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 16:42:05 +0100 |
commit | 911e44045d7291f5ede22739fd176ef55dd3de4a (patch) | |
tree | cf36b95a4a964b03d6ecf75770ced2cb3a2ac3a9 /plugins/check_fping.c | |
parent | 8294af907bd8482a86df749f562b7ec09e3faeed (diff) | |
parent | ed7cdf82a42f16532801ea4f118870ce9a130fcf (diff) | |
download | monitoring-plugins-911e44045d7291f5ede22739fd176ef55dd3de4a.tar.gz |
Merge branch 'master' into fix/shellcheck
Diffstat (limited to 'plugins/check_fping.c')
-rw-r--r-- | plugins/check_fping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_fping.c b/plugins/check_fping.c index da1ce1a6..521d0fef 100644 --- a/plugins/check_fping.c +++ b/plugins/check_fping.c | |||
@@ -184,7 +184,7 @@ textscan (char *buf) | |||
184 | int status = STATE_UNKNOWN; | 184 | int status = STATE_UNKNOWN; |
185 | 185 | ||
186 | if (strstr (buf, "not found")) { | 186 | if (strstr (buf, "not found")) { |
187 | die (STATE_CRITICAL, _("FPING UNKNOW - %s not found\n"), server_name); | 187 | die (STATE_CRITICAL, _("FPING UNKNOWN - %s not found\n"), server_name); |
188 | 188 | ||
189 | } | 189 | } |
190 | else if (strstr (buf, "is unreachable") || strstr (buf, "Unreachable")) { | 190 | else if (strstr (buf, "is unreachable") || strstr (buf, "Unreachable")) { |