aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2002-05-08 15:35:37 +0000
committerGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2002-05-08 15:35:37 +0000
commit94a0d099c2e2b1e27fbcae5f2d18f5c4297da03b (patch)
tree6550c20713b148d2066a03e1239be8d4fd547bd5 /plugins
parent0976cd742c310675b771bf59ebc689864e70c107 (diff)
downloadmonitoring-plugins-94a0d099c2e2b1e27fbcae5f2d18f5c4297da03b.tar.gz
patch for Suse 8.0 loss output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@27 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_ping.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 3a02597c..5eada4f4 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -396,7 +396,10 @@ run_ping (char *command_line)
(input_buffer, "%*d packets transmitted, %*d packets received, %d%% packet loss",
&pl) == 1
|| sscanf
- (input_buffer, "%*d packets transmitted, %*d packets received, %d%% loss, time", &pl) == 1
+ (input_buffer, "%*d packets transmitted, %*d packets received, %d%% loss, time", &pl) == 1
+ || sscanf
+ (input_buffer, "%*d packets transmitted, %*d received, %d%% loss, time", &pl) == 1
+ /* Suse 8.0 as reported by Richard * Brodie */
)
continue;