Getting errors when retrieving the list of MIBs from a snmp daemon

I'm trying to configure and use the SLES 11 (OpenSUSE) snmp daemon.

The first thing I want to do is to run the snmpd daemon and query the availables MIBs. I do this by executing the following:

sudo /etc/init.d/snmpd start
sudo snmpwalk -mALL -v1 -ccomname localhost system 2 > /dev/null

After executing it, I obtain the following errors:

Expected "(" (_): At line 254 in /usr/share/snmp/mibs/acs4000.mib
Bad operator ((): At line 254 in /usr/share/snmp/mibs/acs4000.mib
Should be ACCESS (_): At line 134 in /usr/share/snmp/mibs/NFS-220.mib
Bad parse of OBJECT-TYPE: At line 134 in /usr/share/snmp/mibs/NFS-220.mib
Timeout: No Response from localhost

I have not installed any MIB, so the displayed above must be the OS default ones.

I do not know why the error is occurring nor how to solve it.

0
задан 25 July 2017 в 11:01
1 ответ

لقد قمت بحل المشكلة عن طريق استبدال الأحرف "_" التي أنتجت الخطأ بأحرف "-".

0
ответ дан 5 December 2019 в 07:40

Теги

Похожие вопросы