summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1c79c43)
raw | patch | inline | side by side (parent: 1c79c43)
author | Matthew Kent <mattkent@users.sourceforge.net> | |
Sat, 20 Nov 2004 22:28:57 +0000 (22:28 +0000) | ||
committer | Matthew Kent <mattkent@users.sourceforge.net> | |
Sat, 20 Nov 2004 22:28:57 +0000 (22:28 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@916 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_ping.c | patch | blob | history |
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 26810f32eec15db1d35f1d39d3615f6588e1588a..2d7e24d498bfa2400320d59a779076c65f8f2caa 100644 (file)
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% packet loss",&pl)==1 ||
sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% loss, time",&pl)==1 ||
sscanf(buf,"%*d packets transmitted, %*d received, %d%% loss, time", &pl)==1 ||
+ sscanf(buf,"%*d packets transmitted, %*d received, %d%% packet loss, time", &pl)==1 ||
sscanf(buf,"%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss", &pl) == 1)
continue;