SNMP MIB Files - FS Switch Monitoring

Dear Community,

I would want to ask you if you had similar problem - I configured for monitoring via SNMP two switches - FS. Expect the checks, we would want to receive also SNMP Traps. Here the problem comes - I configured the host, added the community / password into EC’s settings (v2c) and uploaded the MIB files which are related with the version of the switches. There were 2 folders - for standard mibs and ‘private’ which are exactly for the FS switches. First I uploaded the ‘private’ zip file, but a lot of dependencies were missing. I found them into ‘standard’ folder and uploaded also them. The information which was presented into the view which I prepared was not translated by EC and it was shown as OIDs, but I also noticed that other Cisco hosts were ‘broken’ - in place of translated information, OIDs were presented. I deleted one by one the FS mib files and some from the standard which I uploaded earlier, but the problem still exist and the following errors appear inside the log file of EC.

Do you know how can I resolve those problems?

CMK version:
1.6.19
OS version:
CentOS7.9
Error message:

2022-04-20 16:30:11,655 [30] [cmk.mkeventd.EventServer.snmp] Failed to translate OIDs, no modules loaded (see above)
2022-04-20 16:30:12,259 [30] [cmk.mkeventd.EventServer.snmp] Failed to translate OIDs, no modules loaded (see above)
2022-04-20 16:30:15,497 [30] [cmk.mkeventd.EventServer.snmp] Failed to translate OIDs, no modules loaded (see above)
2022-04-20 16:30:16,347 [40] [cmk.mkeventd.StatusServer] Error handling client : [Errno 104] Connection reset by peer
Traceback (most recent call last):
File “/omd/sites//[instance_name]/lib/python/cmk/ec/main.py”, line 3031, in serve
“”)
File “/omd/sites//[instance_name]/lib/python/cmk/ec/main.py”, line 3051, in handle_client
for query in Queries(self, client_socket, self._logger):
File “/omd/sites//[instance_name]/lib/python/cmk/ec/main.py”, line 2511, in next
data = self._socket.recv(4096)
error: [Errno 104] Connection reset by peer

2022-04-20 16:29:53,569 [20] [cmk.mkeventd.EventServer.snmp] adding SNMPv1 system: communityIndex=snmpv2-11
2022-04-20 16:29:53,603 [20] [cmk.mkeventd.EventServer.snmp] Exception while loading MIB modules. Proceeding without modules!
2022-04-20 16:29:53,603 [40] [cmk.mkeventd.EventServer.snmp] Exception: MIB module “/omd/sites/[instance_name]/lib/python/pysnmp/smi/mibs/INTERFACETOPN-MIB.pyc” load error: [‘Traceback (most recent call last):\n’, ’ File “/omd/sites/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 325, in loadModule\n exec (modData, g)\n’, ’ File “/tmp/pip-build-La65vO/pysnmp-mibs/pysnmp_mibs/INTERFACETOPN-MIB.py”, line 12, in \n’, ’ File “/omd/sites/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 400, in importSymbols\n self.loadModules(modName, **userCtx)\n’, ’ File “/omd/sites/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 362, in loadModules\n self.loadModule(modName, **userCtx)\n’, ’ File “/omd/sites/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 330, in loadModule\n ‘MIB module \"%s\" load error: %s’ % (modPath, traceback.format_exception(*sys.exc_info()))\n’, ‘MibLoadError: MIB module “/omd/sites/[instance_name]/local/share/check_mk/compiled_mibs/RMON-MIB.pyc” load error: [‘Traceback (most recent call last):\n’, ’ File “/omd/sites/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 325, in loadModule\n exec (modData, g)\n’, ’ File “/omd/sites/[instance_name]/local/share/check_mk/compiled_mibs/RMON-MIB.py”, line 11, in \n DisplayString, = mibBuilder.importSymbols(“RFC1158-MIB”, “DisplayString”)\n’, ’ File “/omd/sites/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 407, in importSymbols\n \‘No symbol %s::%s at %s\’ % (modName, symName, self)\n’, ‘SmiError: No symbol RFC1158-MIB::DisplayString at <pysnmp.smi.builder.MibBuilder object at 0x7f8646926cd0>\n’]\n’]
Traceback (most recent call last):
File “/omd/sites/[instance_name]/lib/python/cmk/ec/snmp.py”, line 231, in _construct_resolver
builder.loadModules()
File “/omd/sites/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 362, in loadModules
self.loadModule(modName, **userCtx)
File “/omd/sites/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 330, in loadModule
‘MIB module “%s” load error: %s’ % (modPath, traceback.format_exception(*sys.exc_info()))
MibLoadError: MIB module “/omd/sites/[instance_name]/lib/python/pysnmp/smi/mibs/INTERFACETOPN-MIB.pyc” load error: [‘Traceback (most recent call last):\n’, ’ File “/omd/sites/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 325, in loadModule\n exec (modData, g)\n’, ’ File “/tmp/pip-build-La65vO/pysnmp-mibs/pysnmp_mibs/INTERFACETOPN-MIB.py”, line 12, in \n’, ’ File “/omd/sites/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 400, in importSymbols\n self.loadModules(modName, **userCtx)\n’, ’ File “/omd/sites/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 362, in loadModules\n self.loadModule(modName, **userCtx)\n’, ’ File “/omd/sites/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 330, in loadModule\n ‘MIB module \"%s\" load error: %s’ % (modPath, traceback.format_exception(*sys.exc_info()))\n’, ‘MibLoadError: MIB module “/omd/sites/[instance_name]/local/share/check_mk/compiled_mibs/RMON-MIB.pyc” load error: [‘Traceback (most recent call last):\n’, ’ File “/omd/sites[instance_name]/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 325, in loadModule\n exec (modData, g)\n’, ’ File “/omd/sites/[instance_name]/local/share/check_mk/compiled_mibs/RMON-MIB.py”, line 11, in \n DisplayString, = mibBuilder.importSymbols(“RFC1158-MIB”, “DisplayString”)\n’, ’ File “/omd/sites/[instance_name]/lib/python/pysnmp/smi/builder.py”, line 407, in importSymbols\n \‘No symbol %s::%s at %s\’ % (modName, symName, self)\n’, ‘SmiError: No symbol RFC1158-MIB::DisplayString at <pysnmp.smi.builder.MibBuilder object at 0x7f8646926cd0>\n’]\n’]
2022-04-20 16:29:53,609 [20] [cmk.mkeventd.EventServer] Compiled 51 active rules (ignoring 31 disabled rules)

Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)

Thank you in advance!

Best regards,
Elena

Sorry for opening this topic unnecessary. Some ‘standard’ files were left there and after removing them I started adding the mib files one by one. The FS-System files break the logic somehow. The case is still under investigation, but I successfully resolved the problematic lines from the log file.

Sorry for the inconvenience!

Happy holidays!

Hi @Elena.Dzhordzhilova , can you tell me where you found FS mibs?
I would like to monitor environment status (temperature,PSU/FAN, etc…)
thanks!
Matteo

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.