Exec not work

Hello, this can be solved multiple ways.

  • you should be able to find the right solution with “@@”, sorry I can’t tell for sure without testing
  • you can create an extra script file pingtest.sh and call this one to avoid using “@@”
  • you can abandon grep and awk all together and just do the preprocessing in “java-like” xtend syntax in your rules file

Why are you interested in the count of packages received? If you want to know if you are online you can use the network binding, you might also want to look at the speedtest example