Ah ok, that is because my TCL script is too unix-specific. The first 3 lines use a shell trick to run the script which doesn't work on windows:chryzo wrote:I had the same problem - from command-line the script worked, but NaN in Cacti. I added "tcl" (e.g. "tcl <path to cacti>/scripts/...") in the beginning of the field "input string" at Data input method -> Cisco - Dot11 Client Rate Distrubution.
Code: Select all
#!/bin/sh
# the next line restarts using tclsh \
exec expect -- "$0" "$@"