diff options
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2005-05-25 14:25:55 +0000 |
---|---|---|
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2005-05-25 14:25:55 +0000 |
commit | afb0e811bfffdd999f06e0c4b33aba6455b53300 (patch) | |
tree | 8a1ed495fcfa530c2956bef650e5139f1ee72559 /plugins/check_ping.c | |
parent | 703a4bf74de4786b352b8582eb6c018cff353164 (diff) | |
download | monitoring-plugins-afb0e811bfffdd999f06e0c4b33aba6455b53300.tar.gz |
RH9 pattern
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1181 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r-- | plugins/check_ping.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 74b6fce2..50878337 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -419,7 +419,9 @@ run_ping (const char *cmd, const char *addr) | |||
419 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% loss, time",&pl)==1 || | 419 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% loss, time",&pl)==1 || |
420 | sscanf(buf,"%*d packets transmitted, %*d received, %d%% loss, time", &pl)==1 || | 420 | sscanf(buf,"%*d packets transmitted, %*d received, %d%% loss, time", &pl)==1 || |
421 | sscanf(buf,"%*d packets transmitted, %*d received, %d%% packet loss, time", &pl)==1 || | 421 | sscanf(buf,"%*d packets transmitted, %*d received, %d%% packet loss, time", &pl)==1 || |
422 | sscanf(buf,"%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss", &pl) == 1) | 422 | sscanf(buf,"%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss", &pl) == 1 || |
423 | sscanf(buf,"%*d packets transmitted %*d received, +%*d errors, %d%% packet loss", &pl) == 1 | ||
424 | ) | ||
423 | continue; | 425 | continue; |
424 | 426 | ||
425 | /* get the round trip average */ | 427 | /* get the round trip average */ |