diff --git a/plugins/other/ntpdate_ b/plugins/other/ntpdate_ index 2bbeea52..34778c80 100755 --- a/plugins/other/ntpdate_ +++ b/plugins/other/ntpdate_ @@ -29,7 +29,7 @@ if [ "$PEER" = "" ]; then fi if [ "$1" = "config" ]; then - echo "graph_title NTP offset and dealy to peer $PEER" + echo "graph_title NTP offset and delay to peer $PEER" echo "graph_args --base 1000 --vertical-label msec" echo "offset.label Offset" echo "offset.draw LINE2" @@ -38,10 +38,12 @@ if [ "$1" = "config" ]; then exit 0 fi +LANG=en_US DATA=($($NTPDATE -q $PEER | awk '/^server.*offset/{gsub(/,/,"");if(dela==0||$8