I upgraded from npm 2017.1 to 2020.2 and my alerts for syslog & snmp traps did not migrate over, does anyone know a resolution to restore the rules from sys log?
You can't migrate the rules but you can still run the Syslog and Trap Viewer tools from the SolarWinds install directory. It will load up the old tools in read-only mode so you can see what filters and actions you had configured.
E.g. from my lab
Alternatively, uninstall the Log Viewer module and configure the system revert back to using the legacy Syslog/Trap services. It's a bit of a hassle but there is a support article (linked below). I haven't reverted a system before so can't comment on any gotchas/issues.
https://documentation.solarwinds.com/en/Success_Center/LA/Content/LM/LM-uninstall-lm.htm
We are also migrating (soon) from a 2017 SolarWinds to 2020.2, and have a major interest in any similar migrations from other customers.