Hello Ariel,
thank you for your input.
The issue with the linked files is that they don't follow the SNMP/MIB syntax, that's also why the MIB Importer fails to import it. I did however address the most grotesque issues and created an importable/usable MIB File. It's the Text in the box below, just create a new text (.txt) file copy this text into it and save it as ThinkServer-TSM.mib:
Note: Provided as-is without any warranties. Alternatively, contact the vendor and ask them to correct the MIB Instead. This should be importable and usable with PRTG now.
---------------------------------------------------------------------------
--
-- Title: Systems Management Instrumentation MIB of Lenovo ThinkServer
--
-- Version: 1.0.0
--
-- Release Date: 2014.11.11
--
-- Description: This MIB defines MIB objects that make system instrumentation
-- data available to SNMP management applications.
--
-- Copyright (c) 2013-2014 Lenovo Corp.
-- All Rights Reserved.
--
--
-- OID Format Legend:
-- <a> = attribute ID
-- <i> = index ID
--
---------------------------------------------------------------------------
---------------------------------------------------------------------------
-- Begin MIB
---------------------------------------------------------------------------
ThinkServer-TSM DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-IDENTITY,
OBJECT-TYPE,
Integer32,
Integer32, Opaque, enterprises
FROM SNMPv2-SMI
TEXTUAL-CONVENTION, DisplayString
FROM SNMPv2-TC;
---------------------------------------------------------------------------
-- Object Identifiers
--------------------------------------------------------------------------
thinkServerMIB MODULE-IDENTITY
LAST-UPDATED "201701090914Z"
ORGANIZATION "Lenovo Group"
CONTACT-INFO "[email protected]"
DESCRIPTION
"EPG-ThinkServer"
REVISION "201701090914Z"
DESCRIPTION
"Fixed upperxlowercase and minor issues (LucianoLingnau @ Paessler AG)"
REVISION "201411110000Z"
DESCRIPTION
"first release"
::= { enterprises 19046 }
platformObjects OBJECT IDENTIFIER ::= { thinkServerMIB 10 }
---bmcObjects OBJECT IDENTIFIER ::= { thinkServerMIB 3 }
---chassisInfoObjects OBJECT IDENTIFIER ::= { thinkServerMIB 4}
---boardInfoObjects OBJECT IDENTIFIER ::= { thinkServerMIB 5}
---productInfoObjects OBJECT IDENTIFIER ::= { thinkServerMIB 6}
---------------------------------------------------------------------------
-- "Float32TC" was used originally(but not importer). Replaced with "Float" and added the tc below.
--------------------------------------------------------------------------
Float ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
""
SYNTAX Opaque (SIZE (7))
---------------------------------------------------------------------------
-- platformName
--------------------------------------------------------------------------
platformName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "The server name"
::= { thinkServerMIB 1 }
---------------------------------------------------------------------------
-- systemLocation
--------------------------------------------------------------------------
systemLocation OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "The System Location"
::= { thinkServerMIB 2 }
---------------------------------------------------------------------------
-- sensorTable
---------------------------------------------------------------------------
sensorTable OBJECT-TYPE
SYNTAX SEQUENCE OF SensorEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of sensor entries."
::= { platformObjects 2 }
---------------------------------------------------------------------------
-- sensorEntry
---------------------------------------------------------------------------
sensorEntry OBJECT-TYPE
SYNTAX SensorEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the sensor table."
INDEX { sensorIndex }
::= { sensorTable 1 }
SensorEntry ::=
SEQUENCE {
sensorIndex Integer32,
sensorName DisplayString,
sensorNumber Integer32,
sensorValue INTEGER
}
sensorIndex OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The unique value which identifies the sensor."
::= { sensorEntry 1 }
sensorName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A textual full name assigned to a sensor."
::= { sensorEntry 2 }
sensorNumber OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The sensor number."
::= { sensorEntry 3 }
sensorValue OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The sensor value."
::= { sensorEntry 4 }
---------------------------------------------------------------------------
-- fRUTables
---------------------------------------------------------------------------
fRUTable OBJECT-TYPE
SYNTAX SEQUENCE OF FRUEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of platform FRU entries."
::= { platformObjects 3 }
---------------------------------------------------------------------------
-- fRUEntry (FRU)
---------------------------------------------------------------------------
fRUEntry OBJECT-TYPE
SYNTAX FRUEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the FRU table."
INDEX { fRUIndex }
::= { fRUTable 1 }
FRUEntry ::=
SEQUENCE {
fRUIndex Integer32,
fRUVendorName Integer32,
fRUVendorPartNumber Integer32,
fRUVendorAssemblyRevision Integer32,
fRUVendorSerialNumber Integer32
}
fRUIndex OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The unique value which identifies the FRU."
::= { fRUEntry 1 }
fRUVendorName OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The vendor name for the FRU."
::= { fRUEntry 2 }
fRUVendorPartNumber OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The vendor part number for the FRU."
::= { fRUEntry 3 }
fRUVendorAssemblyRevision OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The vendor assembley revision for the FRU."
::= { fRUEntry 4 }
fRUVendorSerialNumber OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The vendor serial number for the FRU."
::= { fRUEntry 5 }
END
If it fails to find any compatible data in PRTG (when deploying the SNMP Library sensor), please perform a walk from the following OID with our SNMP Tester and share the results:
If you need a guide to import the MIB, please refer to:
One deal-breaker with this MIB file, is that there's no "syntax definition" for the sensorValue, this may make getting alerts tricky, you'll have to set-up limits to get the sensors alerting.
Best Regards,
Luciano Lingnau [Paessler Support]
Add comment