Nagios XI - SNMPTT Service generates Cannot find module errors
When starting or restarting the snmptt service you see output that looks like the following:
Starting snmptt: add_mibdir: strings scanned in from /usr/share/snmp/mibs/.index are too large. count = 49
The errors generated above do not clearly identify the cause of the issue.
This problem occurs when a MIB file contains spaces in the filename. The MIB files are located in the /usr/share/snmp/mibs/ folder.
This was identified as an issue and resolved in Nagios XI 5.4.0. As of version 5.4.0, when you upload MIBs via the Manage MIBs page the filename will have any spaces replaced with an underscore.
There are different ways to resolve this issue.
Delete MIB and re-upload
Rename MIB File
Establish a terminal session to your Nagios XI server.
Rename the offending file and restart* the snmptt service, for example:
After the service has restated there should be no errors generated. If the same error appears then you will need to rename all files that have a space in the filename.
* The command for restarting the snmptt service will differ depending on your operating system:
RHEL 7+ | CentOS 7+ | Oracle Linux 7+ | Debian | Ubuntu 16/18/20
systemctl restart snmptt.service
For any support related questions please visit the Nagios Support Forums at:
|Posted by: tlea - Sun, Apr 9, 2017 at 11:33 PM. This article has been viewed 3195 times.|
|Online URL: https://support.nagios.com/kb/article/nagios-xi-snmptt-service-generates-cannot-find-module-errors-574.html|
Powered by PHPKB (Knowledge Base Software)