aboutsummaryrefslogtreecommitdiffstats
path: root/mibs
diff options
context:
space:
mode:
authorRoman Korynkevych <romanx.korynkevych@intel.com>2017-04-18 16:41:35 +0100
committerRoman Korynkevych <romanx.korynkevych@intel.com>2017-04-21 12:54:22 +0100
commitd3806e10bcec958da42af166cd7806e9ddd03bfe (patch)
tree2478baebe6c0c7c8e482007817b48bd7cf2e9873 /mibs
parentf9613d4f1195812e51c8a754a9185b7695ef6957 (diff)
mibs: Add hugepages mib to barometer.
Add mib definition for hugepages feature to barometer for SNMP equivalence support. Change-Id: I46f33717598cb7cfe3379e26c27dcdef1fc4b594 Signed-off-by: Roman Korynkevych <romanx.korynkevych@intel.com>
Diffstat (limited to 'mibs')
-rw-r--r--mibs/Intel-Hugepages.txt112
1 files changed, 112 insertions, 0 deletions
diff --git a/mibs/Intel-Hugepages.txt b/mibs/Intel-Hugepages.txt
new file mode 100644
index 00000000..d4fda296
--- /dev/null
+++ b/mibs/Intel-Hugepages.txt
@@ -0,0 +1,112 @@
+INTEL-HUGEPAGES-MIB DEFINITIONS ::= BEGIN
+
+IMPORTS
+ MODULE-IDENTITY, OBJECT-TYPE, Counter64
+ FROM SNMPv2-SMI
+
+ hostAssist
+ FROM Intel-SA-MIB;
+
+--*****************************************************************************
+--
+-- MODULE IDENTITY AND REVISION GROUP
+--
+--*****************************************************************************
+
+intelHugepages MODULE-IDENTITY
+ LAST-UPDATED "201703070000Z" -- coordinated universal time UTC format is YYMMDDHHmmZ
+ ORGANIZATION "Intel, Server Management Software"
+ CONTACT-INFO " "
+ DESCRIPTION "This SNMP MIB module supports the Hugepages SNMP subagent for monitoring
+ hugepages counters per-node for NUMA systems and overall hugepage statistics
+ for non-NUMA systems.
+
+ Version: 1.0 03/07/2017
+
+ Intel copyright information 2017"
+ ::= { hostAssist 4 }
+
+-------------------------------------------------------------------------------
+-- Intel Hugepages Table
+-------------------------------------------------------------------------------
+
+hugepagesTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF HugepagesTableEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION "This Group defines the Hugepages Table."
+ ::= { intelHugepages 1 }
+
+hugepagesTableEntry OBJECT-TYPE
+ SYNTAX HugepagesTableEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION "This Group defines the Hugepages Table Entry."
+ INDEX { IMPLIED hugepagesNode }
+ ::= { hugepagesTable 1 }
+
+HugepagesTableEntry ::= SEQUENCE {
+ hugepagesNode SnmpAdminString,
+ hugepagesMemoryFree Counter64,
+ hugepagesMemoryUsed Counter64,
+ hugepagesPageFree Counter64,
+ hugepagesPageUsed Counter64,
+ hugepagesPercentFree Integer32,
+ hugepagesPercentUsed Integer32
+}
+
+hugepagesNode OBJECT-TYPE
+ SYNTAX SnmpAdminString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION "A textual string containing information about the node and
+ hugepages size used on this node."
+ ::= { hugepagesTableEntry 1 }
+
+hugepagesMemoryFree OBJECT-TYPE
+ SYNTAX Counter64
+ UNITS "kBytes"
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION "This counter defines the number of free hugepages memory."
+ ::= { hugepagesTableEntry 2 }
+
+hugepagesMemoryUsed OBJECT-TYPE
+ SYNTAX Counter64
+ UNITS "kBytes"
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION "This counter defines the number of used hugepages memory."
+ ::= { hugepagesTableEntry 3 }
+
+hugepagesPagesFree OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION "This counter defines the number of free pages."
+ ::= { hugepagesTableEntry 4 }
+
+hugepagesPagesUsed OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION "This counter defines the number of used pages."
+ ::= { hugepagesTableEntry 5 }
+
+hugepagesPercentFree OBJECT-TYPE
+ SYNTAX Integer32 (0..100)
+ UNITS "%"
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION "This counter defines the percentage of free memory."
+ ::= { hugepagesTableEntry 6 }
+
+hugepagesPercentUsed OBJECT-TYPE
+ SYNTAX Integer32 (0..100)
+ UNITS "%"
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION "This counter defines the percentage of used memory."
+ ::= { hugepagesTableEntry 7 }
+
+END