Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MIB for PC-Engines Alix

Status
Not open for further replies.

swiri

Technical User
Sep 14, 2012
2
IE
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
 
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
 
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
 
Interesting. Little surprised they would do that by default, but there it is.

Glad to see things are working for you.

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top