When LMS on windows received a change cpnfiguration syslog, I would like to forward an email with the difference beetween running and startup config.
I have already create the automate action but the script action doesn't work:
I create a diff.bat script in CSCOpx\files\scripts\syslog folder.
diff.bat contains only one line:
c:\progra~1\CSCOpx\bin\cwcli config compare -u admin -p admin -device %~1 -m [email protected]
But it failed, I don't received the mail, but I see that syslog is received by LMS.
When I launch the script in dos command, it works.
here you can find analysordebug.log file.