×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

MIB for PC-Engines Alix

MIB for PC-Engines Alix

MIB for PC-Engines Alix

(OP)
Hi all,

I am new to SNMP and this might be a silly question so apologies in advance. I spent most of the day Googling but couldn't find an answer.

I have an Alix from PC Engines and I have SNMP installed. I want to query the interface status so I understand the device needs to support RFC 1213 (IF-MIB)

If I run on the device itself: snmpwalk -v1 -c public localhost

I get the contents of the devices MIB which is very basic and doesnt seem to contain anything related to interface status:

CODE -->

SNMPv2-MIB::sysDescr.0 = STRING: Linux nagios 3.2.17-voyage #1 SMP PREEMPT Mon May 14 01:36:16 HKT 2012 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (454941) 1:15:49.41
SNMPv2-MIB::sysContact.0 = STRING: Me <me@example.org>
SNMPv2-MIB::sysName.0 = STRING: nagios
SNMPv2-MIB::sysLocation.0 = STRING: Sitting on the Dock of the Bay
SNMPv2-MIB::sysServices.0 = INTEGER: 72
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (36) 0:00:00.36
SNMPv2-MIB::sysORID.1 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.2 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.3 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.6 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.7 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.8 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORDescr.1 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.3 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.8 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (35) 0:00:00.35
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (35) 0:00:00.35
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (35) 0:00:00.35
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (36) 0:00:00.36
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (36) 0:00:00.36
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (36) 0:00:00.36
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (36) 0:00:00.36
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (36) 0:00:00.36
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (455188) 1:15:51.88
HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2012-9-14,16:0:48.0,+1:0
HOST-RESOURCES-MIB::hrSystemInitialLoadDevice.0 = INTEGER: 1536
HOST-RESOURCES-MIB::hrSystemInitialLoadParameters.0 = STRING: "root=LABEL=ROOT_FS
"
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 1
HOST-RESOURCES-MIB::hrSystemProcesses.0 = Gauge32: 70
HOST-RESOURCES-MIB::hrSystemMaxProcesses.0 = INTEGER: 0
End of MIB 

I can't seem to find a new MIB from the manufacturer. Is there anything I can do to query the interface status via snmp on this device?

Thanks
swiri

RE: MIB for PC-Engines Alix

Looks like that is all it supports.

There is a chance that they have limited the -v1 public view, to only see part of the supported MIB objects.

You would need look at their documentation for more info.

Bill

RE: MIB for PC-Engines Alix

(OP)
Thanks Bill. It looks like you are right. The default snmpd.conf file was limiting what I could see when using snmpwalk via public view.

CODE -->

rocommunity public  default    -V systemonly 

This was the culprit right here. Once adjusted it works fine and gives me all the info I need.

Thanks again
Swiri

RE: MIB for PC-Engines Alix

Interesting. Little surprised they would do that by default, but there it is.

Glad to see things are working for you.

Bill

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close