SNMP Walk Plugin Er...
 
Notifications
Clear all

[Solved] SNMP Walk Plugin Error

6 Posts
2 Users
0 Reactions
599 Views
de43ca65e3ad830691b396a604f0800b?s=80&d=mm&r=g
Posts: 4
Topic starter
(@jbradley419)
Active Member
Joined: 3 weeks ago

Would anyone be able to give me some guidance on this error?  I get this when i try to run and SNMP walk on my firewall. 

/etc/snmp/snmp.conf: line 1: Error: Blank line following X token.
net-snmp: 1 error(s) in config file(s)
MIB search path: /usr/share/httpd/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ENTITY-MIB): At line 18 in /usr/share/snmp/mibs/PAN-ENTITY-EXT-MIB.my
Did not find 'entPhysicalIndex' in module #-1 (/usr/share/snmp/mibs/PAN-ENTITY-EXT-MIB.my)
/etc/snmp/snmp.conf: line 1: Error: Blank line following X token.
net-snmp: 1 error(s) in config file(s)
snmpwalk: Timeout
5 Replies
f63654a35ea0c3ef153a4cd650ec4e56?s=80&d=mm&r=g
Posts: 14
Admin
(@sandor)
Member
Joined: 4 months ago

Hey jbradley419

The first line suggests that there something is misconfigured in your /etc/snmp/snmp.conf file. The first thing I would do is to check the file and look to see if the token is in fact there and if it is check to see if there is any unnecessary spaces. The error is also suggesting that it is missing required MIB's to do the SNMP walk. I'll attach some documentation that should help. Let us know if this fixes the issue.

https://assets.nagios.com/downloads/nagiosxi/docs/Using-The-SNMP-Walk-Wizard.pdf

Thanks,
Sandor G

Reply
de43ca65e3ad830691b396a604f0800b?s=80&d=mm&r=g
Posts: 4
Topic starter
(@jbradley419)
Active Member
Joined: 3 weeks ago

Hey!,  I do not see a token all i see is the letter X in the config file.  How do i find/generate the token to add to the config file?

Reply
f63654a35ea0c3ef153a4cd650ec4e56?s=80&d=mm&r=g
Posts: 14
Admin
(@sandor)
Member
Joined: 4 months ago

I believe you generally generate a token by editing your snmp settings on the device. Usually it will generate a unique id token when setting it up so thinking about it I don't think that you will need to do this on the XI machine itself. Rereading the error itself its having an issue with the blank line following the x token. Could you attempt to remove that line and see if it no longer gives the error?

Reply
de43ca65e3ad830691b396a604f0800b?s=80&d=mm&r=g
Posts: 4
Topic starter
(@jbradley419)
Active Member
Joined: 3 weeks ago

There was no blank line.  when i remove the X the error goes away.  but i am still receiving the below error.

MIB search path: /usr/share/httpd/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ENTITY-MIB): At line 18 in /usr/share/snmp/mibs/PAN-ENTITY-EXT-MIB.my
Did not find 'entPhysicalIndex' in module #-1 (/usr/share/snmp/mibs/PAN-ENTITY-EXT-MIB.my)
Reply
Page 1 / 2
Share: