user-72e95584e49c@xymon.invalid <> wrote:
I still seem to have a problem doing a disable until OK - I
have a test script that tries to run the following command:
$BBHOME/bin/bbcmd $BBHOME/bin/bb xx.xx.xx.xx 'disable
device-hostname.COLUMN -1 Test disabled by script' ... but it fails
to work.
If I substitute the -1 for 20 it works fine. The other rather
odd thing is I do a "set -x" in the script and cut-and-paste
the line from my logfile onto the command line, the line with
the -1 works perfectly. Running the bb command with the
--debug option gives identical results for both -1 and 20 ... any
ideas?
Regards
Russell Cook
Maybe the - before the -1 needs escaping. Seems a little odd because you
have it in quotes already, so just a thought...
SebA