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.
A transparent forwarding source is something like samplicator or syslog-ng which can forward syslog messages from a device to RME without changing the message header or source IP address. There is no software I know of which turns traps into syslog messages, and spoofs the source of the syslog message. However, it would be fairly easy to write a application that does this using, for example, net-snmp's snmptrapd.