librenms/mibs/fiberhome/WRI-CPU-MIB
CZ 23740bce6f device: Added support for FiberHome Switches S5800/S4800/S2800 (#8569)
* Fiber Home Switch Device Support
- Basic OS support
- New Logo
- Sensor support
- Fiberhome MIBS (wriSMI)

* Fibrehome Switch Device Support
- add mempools discovery

* Fiberhome Switch Device Support
- remove mib bases high/low limit for FAN entity

* Fiberhome Switch Device Support
- remove unsupported processor high_limit option

* FiberHome Switch Device Support
- snmpprec files for S28/S48/S58 added
- removed not used FH MIB files

* Fiberhome Switch Device Support
- add snmprec for FHN5800 FHN4800 FHN2800

* Update fiberhome.svg

* FiberHome Switch Device Support - changes as per request

* FiberHome Switch Device Support
- adjusted code to PSR2 standard

* FiberHome Switch Device Support - add tests

* FiberHome Switch Device Support - added back fiberhome.png since currently expected in other json

* FiberHome Switches Device Support - Deleted fiberhome.svg (for now)

* Fiberhome Switch Device Support - corrected wrong MIB renaming

* Update fiberhome-switch.inc.php

* Update fiberhome-switch.inc.php

* Update fiberhome-switch.inc.php

* Update fiberhome-switch_fh4800.json

* Update fiberhome-switch.json

* Update fiberhome-switch_fh2800.json

* Update fiberhome-switch.yaml
2018-04-22 14:01:37 +01:00

225 lines
5.6 KiB
Plaintext

WRI-CPU-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Counter32, Gauge32,
Integer32, TimeTicks, Counter64,enterprises,
NOTIFICATION-TYPE,Unsigned32
FROM SNMPv2-SMI
TEXTUAL-CONVENTION,RowStatus
FROM SNMPv2-TC
wri,wriProducts
FROM WRI-SMI;
-- CPU monitor
msppCpu MODULE-IDENTITY
LAST-UPDATED "201001110000Z"
ORGANIZATION "Wuhan FiberHome Networks Co.,Ltd."
CONTACT-INFO
" FHN Customer Service
Tel: 027-87693784"
DESCRIPTION
"The MIB module to describe the monitor for cpu."
REVISION "201001110000Z"
DESCRIPTION
"Add some attributes for cpu table."
REVISION "200901110000Z"
DESCRIPTION
"Init version for cpu monitor."
::= {msppChassis 4}
mspp OBJECT IDENTIFIER ::= { wriProducts 8012 }
msppChassis OBJECT IDENTIFIER ::= {mspp 1}
-- msppCpu OBJECT IDENTIFIER ::= {msppChassis 4}
cpuTable OBJECT-TYPE
SYNTAX SEQUENCE OF CpuEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Cpu information table."
::= { msppCpu 1 }
cpuEntry OBJECT-TYPE
SYNTAX CpuEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the cpu table."
INDEX {cpuIndex }
::= { cpuTable 1 }
CpuEntry ::=
SEQUENCE {
cpuIndex Unsigned32,
cpuUsage Counter32,
cpuMaxUsage Counter32,
cpuHthreshold Counter32,
cpuLthreshold Counter32,
cpuOneTrap INTEGER,
cpuStatus INTEGER,
cpuDescr OCTET STRING,
cpuAllSetting OCTET STRING,
cpuLastOneMinuteUsage Counter32,
cpuLastFiveMinuteUsage Counter32,
--xf add 2014-7-2
cpuIndexDescr OCTET STRING
}
-- The following section describes the components of the table.
cpuIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Cpu index."
::= { cpuEntry 1 }
cpuUsage OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current usage of cpu"
::= { cpuEntry 2 }
cpuMaxUsage OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Max usage of cpu."
::= { cpuEntry 3 }
cpuHthreshold OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"High threshold of cpu."
::= { cpuEntry 4 }
cpuLthreshold OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"low threshold of cpu."
::= { cpuEntry 5 }
cpuOneTrap OBJECT-TYPE
SYNTAX INTEGER{
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Trap enable or not of the cpu"
::= { cpuEntry 6 }
cpuStatus OBJECT-TYPE
SYNTAX INTEGER{
normal(0),
highoverflow(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Cpu status"
::= { cpuEntry 7 }
cpuDescr OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Cpu description."
::= { cpuEntry 8}
cpuAllSetting OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"All parameter operation for the cpu."
::= { cpuEntry 9 }
cpuLastOneMinuteUsage OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The last-1-minute usage of cpu"
::= { cpuEntry 10 }
cpuLastFiveMinuteUsage OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The last-5-minute usage of cpu"
::= { cpuEntry 11 }
-- xf add 2014-7-2
cpuIndexDescr OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Cpu index description."
::= { cpuEntry 12 }
cpuTrap OBJECT IDENTIFIER ::= {msppCpu 2}
cpuOverThreshold NOTIFICATION-TYPE
OBJECTS {cpuUsage,cpuHthreshold,cpuLthreshold}
STATUS current
DESCRIPTION
"mspp cpu over threshold trap."
::= { cpuTrap 1}
cpuUnderThreshold NOTIFICATION-TYPE
OBJECTS {cpuUsage,cpuHthreshold,cpuLthreshold}
STATUS current
DESCRIPTION
"mspp cpu under threshold trap."
::= { cpuTrap 2}
cpuRecoverThreshold NOTIFICATION-TYPE
OBJECTS {cpuUsage,cpuHthreshold,cpuLthreshold}
STATUS current
DESCRIPTION
"mspp cpu recover threshold trap."
::= { cpuTrap 3}
cpuGeneral OBJECT IDENTIFIER ::= {msppCpu 3}
cpuNum OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Cpu numbers"
::= { cpuGeneral 1 }
cpuTrapEnable OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Enable cpu trap or not."
::= { cpuGeneral 2 }
cpuMonitor OBJECT-TYPE
SYNTAX INTEGER{
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Enable cpu monitor or not."
::= { cpuGeneral 3 }
END