Code

New output format reported by pumuckel1980 (946857)
[nagiosplug.git] / plugins / check_ping.c
index 26810f32eec15db1d35f1d39d3615f6588e1588a..2d7e24d498bfa2400320d59a779076c65f8f2caa 100644 (file)
@@ -423,6 +423,7 @@ run_ping (const char *cmd, const char *addr)
                         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;