deajan / tcpping

tcpping script for smokeping that runs with newer linux traceroute binaries
GNU General Public License v3.0
127 stars 39 forks source link

script gives error on debian buster sleep: invalid time interval 'auto' #12

Closed redglobuli closed 3 years ago

redglobuli commented 3 years ago

Hi,

i'd like to use this script with smokeping, but it seems it doesn't work with debian buster (cat /etc/debian_version -> 10.9), if i run the script manually i get:

tcpping -x 10 -w .1 -o some.host 443

/usr/bin/tcpping: 341: [: auto: unexpected operator 255 some.host (12.34.56.78) 11.243 ms sleep: invalid time interval 'auto' Try 'sleep --help' for more information.

and i also don't get graphs in smokeping, which i relate to those errors.

redglobuli commented 3 years ago

adding the environment variable mentionend here https://github.com/deajan/tcpping/issues/11 fixed it.

edit: just realized there was zsh involved.