From b8fcd0d2587a5415266d7f3eea7ae6764900a7cc Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Tue, 28 Dec 2004 22:34:42 +0000 Subject: String match in check_ping for Solaris 10 #1091043 git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1064 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_ping.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 818bb668..2198e32b 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c @@ -430,6 +430,7 @@ run_ping (const char *cmd, const char *addr) sscanf(buf,"round-trip min/avg/max/stddev = %*f/%f/%*f/%*f",&rta)==1 || sscanf(buf,"round-trip min/avg/max/std-dev = %*f/%f/%*f/%*f",&rta)==1 || sscanf(buf,"round-trip (ms) min/avg/max = %*f/%f/%*f",&rta)==1 || + sscanf(buf,"round-trip (ms) min/avg/max/stddev = %*f/%f/%*f/%*f",&rta)==1 || sscanf(buf,"rtt min/avg/max/mdev = %*f/%f/%*f/%*f ms",&rta)==1) continue; } -- cgit v1.2.3-74-g34f1