When configuring rsyslog, I am getting the following error just using the default Spectrum_RSyslog.conf file from Spectrum installation package (21.2.8)
rsyslogd: could not load module '/usr/lib64/rsyslog/omsnmp.so', dlopen: /usr/lib64/rsyslog/omsnmp.so: cannot open shared object file: No such file or directory [v8.24.0-57.el7_9.3 try http://www.rsyslog.com/e/2066 ]
rsyslogd: module 'imudp' already in this config, cannot be added [v8.24.0-57.el7_9.3 try http://www.rsyslog.com/e/2221 ]
rsyslogd: module name 'omsnmp' is unknown [v8.24.0-57.el7_9.3 try http://www.rsyslog.com/e/2209 ]
rsyslogd: error during parsing file /etc/rsyslog.d/Spectrum_RSyslog.conf, on or before line 81: errors occured in file '/etc/rsyslog.d/Spectrum_RSyslog.conf' around line 81 [v8.24.0-57.el7_9.3 try http://www.rsyslog.com/e/2207 ]
Release : 21.2, 22.2
The rsyslog-snmp package was not installed on the system.
The rsyslog-snmp package was not installed on the system. Following the prerequisites in the following documentation to install the rsyslog-snmp package resolved the issue.