This is a cache of https://support.nagios.com/kb/article/nagios-xi-snmptt-service-generates-cannot-find-module-errors-574.html. It is a snapshot of the page at 2025-05-14T00:09:08.676+0000.
Nagios <strong>xi</strong> - SNMPTT Service generates Cannot find module errors
Home » Categories » Multiple Categories

Nagios xi - SNMPTT Service generates Cannot find module errors

Problem Description

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
Cannot find module (SNMPv2-TC): At line 8 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt
Cannot find module (IF-MIB): At line 12 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt)
......
Removed excessive lines from output as they are all similar
......
Cannot find module (SNMPv2-TM): At line 0 in (none)
Cannot find module (SNMPv2-TC): At line 25 in /usr/share/snmp/mibs/NET-SNMP-VACM-MIB.txt
Did not find 'RowStatus' in module #-1 (/usr/share/snmp/mibs/NET-SNMP-VACM-MIB.txt)
Did not find 'StorageType' in module #-1 (/usr/share/snmp/mibs/NET-SNMP-VACM-MIB.txt)
[ OK ]

 

The errors generated above do not clearly identify the cause of the issue.

 

 

Explanation

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.

 

 

Resolutions

There are different ways to resolve this issue.

Delete MIB and re-upload

  • Navigate to Admin > System Extensions > Manage MIBs

  • Find the MIB with the space in the filename and click the X button to delete it

  • Use the Browse and Upload MIB button to re-upload the file

    • If you are using Nagios xi 5.4.0 and later, any spaces in the filename are replaced with an underscore

    • If you are using Nagios xi before 5.4.0 you will need to make sure the filename does not have any spaces before uploading it

 

Rename MIB File

Establish a terminal session to your Nagios xi server.

Rename the offending file and restart* the snmptt service, for example:

cd /usr/share/snmp/mibs
mv 'NAGIOS NOTIFY MIB TEST.txt' 'NAGIOS-NOTIFY-MIB-TEST.txt'
service snmptt restart

 

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

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

1 (1)
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios xi - Disabling Database UTF8 Connectivity
Viewed 5522 times since Thu, Mar 8, 2018
Nagios xi - Oracle Services Critical After Nagios xi Upgrade
Viewed 6468 times since Wed, Jan 27, 2016
Nagios xi - Bandwidth Graphs Showing 0Mb/s in Non-English Systems
Viewed 7511 times since Fri, Dec 19, 2014
Nagios xi - Reset Upgrade Status In Web Interface
Viewed 11692 times since Tue, May 7, 2019
Nagios xi - How SNMP Traps Work
Viewed 6426 times since Mon, Nov 18, 2019
Nagios xi - Apply Configuration Fails - Backend login to the Core Configuration failed
Viewed 25768 times since Tue, Aug 2, 2016
Nagios xi - Receiving SNMP Traps From Nagios Network Analyzer
Viewed 7801 times since Mon, Oct 17, 2016
Nagios xi - MK Livestatus Problems With Mod-Gearman
Viewed 6108 times since Thu, Feb 25, 2016
Nagios xi - MSSQL Wizards - Adaptive Server connection failed
Viewed 12005 times since Thu, Aug 3, 2017
Nagios xi - Schedulded Backups No Longer Working
Viewed 8218 times since Fri, Jun 3, 2016