I'm trying to understand why a simple job we have is failing for just the one device.
Scenario: A specific client manager wants a particluar output from a batch of F5's and it works for 14 of them, but on just one it fails. The output is sent to an eMail address and this device is in the middle of the list, and shows this:
xxxx-bbbb-F501 (aa.bb.cc.dd): tmsh show /sys log ltm | grep monitor | tail -n 10 Syntax Error: unexpected argument "tmsh"
So this morning, I have tried the same command, in a job, just for this one device and get this:
4/14/2020 9:22:41 AM : Started xxxx Temp Checks - runs show /sys log Execute Command Script on Devices 1 devices selected Devices: 1 Errors: 0 ___________________________________________________________________________ xxxx-bbbb-F501 (aa.bb.cc.dd) [NB - edited for privacy] show /sys log ltm | grep monitor | tail -n 10 Syntax Error: "tail", grep is currently the only filter that is supported
Now, if I log on to the device CLI directly (using the same credentials as in the job) it works and provides the expected output. Looking closely at the output on the CLI this device (and all the others) show this at the end:
config # Syntax Error: unexpected argument "tmsh" -bash: Syntax: command not found
But, as stated above, for the other 14 it works, despite that end line. It manages to echo the rest of the output to the log file. If I remove the 'tmsh' from either the job or my CLI command I get an error - as expected.
The F5's are identical in version, etc.
I appreciate this may not even be a Solarwinds issue, but I'm a bit lost as to where to go next.
Any thoughts?