Getting error "could not load module /usr/lib64/rsyslog/omsnmp.so" when starting rsyslog
search cancel

Getting error "could not load module /usr/lib64/rsyslog/omsnmp.so" when starting rsyslog

book

Article ID: 253994

calendar_today

Updated On: 04-30-2025

Products

Spectrum Network Observability

Issue/Introduction


When configuring rsyslog, I am getting the following error just using the default Spectrum_RSyslog.conf file from Spectrum installation package.

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 ]

 

Environment

Release : 22.2, 23.3, 24.3

Cause

The rsyslog-snmp package was not installed on the system. 

Resolution

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. 

Syslog Messages in Spectrum