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:

Products

CA Spectrum DX NetOps

Issue/Introduction

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 ]

 

Environment

Release : 21.2, 22.2

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. 

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/22-2/managing-network/Rsyslog-messages-in-Spectrum.html