diff options
author | Matthew Kent <mattkent@users.sourceforge.net> | 2004-11-20 22:28:57 (GMT) |
---|---|---|
committer | Matthew Kent <mattkent@users.sourceforge.net> | 2004-11-20 22:28:57 (GMT) |
commit | b4a3db443bf77abc19170f1296c5c5e7c3ad6336 (patch) | |
tree | a189087460ba248157ec35c1b76b4d0aae6321c8 /plugins | |
parent | 1c79c43c88408f6e98a03e344ffe00f05decdae9 (diff) | |
download | monitoring-plugins-b4a3db443bf77abc19170f1296c5c5e7c3ad6336.tar.gz |
New output format reported by pumuckel1980 (946857)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@916 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_ping.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 26810f3..2d7e24d 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -423,6 +423,7 @@ run_ping (const char *cmd, const char *addr) | |||
423 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% packet loss",&pl)==1 || | 423 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% packet loss",&pl)==1 || |
424 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% loss, time",&pl)==1 || | 424 | sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% loss, time",&pl)==1 || |
425 | sscanf(buf,"%*d packets transmitted, %*d received, %d%% loss, time", &pl)==1 || | 425 | sscanf(buf,"%*d packets transmitted, %*d received, %d%% loss, time", &pl)==1 || |
426 | sscanf(buf,"%*d packets transmitted, %*d received, %d%% packet loss, time", &pl)==1 || | ||
426 | sscanf(buf,"%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss", &pl) == 1) | 427 | sscanf(buf,"%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss", &pl) == 1) |
427 | continue; | 428 | continue; |
428 | 429 | ||