I'm using a Command Script which runs an extended ping from all of our satellite locations back to our head office in an attempt to bring up the ISDN ints on the routers in the satellite locations.
The jobs runs great and the filter which is set to match only the devices that show 'Success rate is 0 percent' also works great when the job is run manually.
But when the job is scheduled only the job runs great; the filter does not. I have chosen 2 types of output, both of which are not giving me the desired output.
Log to a file & Email results
Log to a file
The file is created, however all that it contains in it is what appears to be a copy of the command script and results as it would run on a device, but it doesn't identify what device. It almost looks like it could be logging to the file correctly using the filter but instead of appending a new match to the end of the file it is overwriting the previous filter match with the latest one. But that still doesn't explain why there is no device info for whatever device is matched in the log file.
Email results
When the received mail is opened the results are unfiltered. Every command in the script is present and so are all of the results for every single device(Devices are also named in this output). But there is no evidence of filtering eventhough the filter is stated at the top of the mail
Command Script
--------------
'ADVANCED:FILTER RESULTS: TRUE
'ADVANCED:FILTER PATTERN: Success rate is 0 percent
'ADVANCED:SHOW COMMANDS: FALSE
I have tried different permutations of the 'TRUE' & 'FALSE' variables, none of which made any difference to the email log file.
Is this a known limitation of the app or should it be able to email & Log filtered results?
Any additional info would be appreciated
P.S I have read another account of this but there was no reply. You can read it here:
Cheers