Adding basic support for Vertiv PDUs and power graphs (#12908)

* Trying to add basic support for Vertiv PDU power graphs

* Support for fortiswitch in gen_rancid (#12894)

* Trying to add basic support for Vertiv PDUs and power graphs

* Update geist-watchdog.yaml

* Update geist-watchdog.yaml

* Update vertiv-pdu.yaml

Co-authored-by: Cliff Albert <cliff@oisec.net>
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
This commit is contained in:
dust241999 2021-05-22 20:02:50 -04:00 committed by GitHub
parent 21a5f756f4
commit 558d486a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8242 additions and 1 deletions

View File

@ -0,0 +1,35 @@
mib: VERTIV-V5-MIB
modules:
os:
hardware: VERTIV-V5-MIB::productModelNumber.0
serial: VERTIV-V5-MIB::productSerialNumber.0
version: VERTIV-V5-MIB::productVersion.0
sensors:
current:
data:
-
oid: pduLineTable
value: pduLineCurrent
num_oid: '.1.3.6.1.4.1.21239.5.2.3.4.1.4.{{ $index }}'
descr: pduLineName
divisor: 100
-
oid: pduBreakerTable
value: pduBreakerCurrent
num_oid: '.1.3.6.1.4.1.21239.5.2.3.3.1.4.{{ $index }}'
descr: pduBreakerLabel
divisor: 100
-
oid: pduPhaseTable
value: pduPhaseCurrent
num_oid: '.1.3.6.1.4.1.21239.5.2.3.2.1.8.{{ $index }}'
descr: pduPhaseName
divisor: 100
voltage:
data:
-
oid: pduPhaseTable
value: pduPhaseVoltage
num_oid: '.1.3.6.1.4.1.21239.5.2.3.2.1.4.{{ $index }}'
descr: pduPhaseName
divisor: 100

View File

@ -6,7 +6,8 @@ group: geist
discovery: discovery:
- -
sysObjectID: sysObjectID:
- .1.3.6.1.4.1.21239. - .1.3.6.1.4.1.21239.2
- .1.3.6.1.4.1.21239.5
sysDescr_except: sysDescr_except:
- RCM-O - RCM-O
mib_dir: geist mib_dir: geist

View File

@ -0,0 +1,9 @@
os: vertiv-pdu
text: 'Vertiv PDU'
type: power
icon: vertiv
group: vertiv
discovery:
- sysObjectID:
- .1.3.6.1.4.1.21239.42.1.53
mib_dir: vertiv

6471
mibs/vertiv/VERTIV-V5-MIB Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,178 @@
1.3.6.1.2.1.1.1.0|4|<private>
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.21239.42.1.53
1.3.6.1.2.1.1.3.0|67|282420114
1.3.6.1.2.1.1.4.0|4|<private>
1.3.6.1.2.1.1.5.0|4|<private>
1.3.6.1.2.1.1.6.0|4|<private>
1.3.6.1.2.1.2.2.1.1.1|2|1
1.3.6.1.2.1.2.2.1.1.2|2|2
1.3.6.1.2.1.2.2.1.1.3|2|3
1.3.6.1.2.1.2.2.1.1.4|2|4
1.3.6.1.2.1.2.2.1.1.12|2|12
1.3.6.1.2.1.2.2.1.2.1|4|lo
1.3.6.1.2.1.2.2.1.2.2|4|eth0
1.3.6.1.2.1.2.2.1.2.3|4|port1
1.3.6.1.2.1.2.2.1.2.4|4|port2
1.3.6.1.2.1.2.2.1.2.12|4|br0
1.3.6.1.2.1.2.2.1.3.1|2|24
1.3.6.1.2.1.2.2.1.3.2|2|6
1.3.6.1.2.1.2.2.1.3.3|2|6
1.3.6.1.2.1.2.2.1.3.4|2|6
1.3.6.1.2.1.2.2.1.3.12|2|6
1.3.6.1.2.1.2.2.1.4.1|2|65536
1.3.6.1.2.1.2.2.1.4.2|2|1500
1.3.6.1.2.1.2.2.1.4.3|2|1500
1.3.6.1.2.1.2.2.1.4.4|2|1500
1.3.6.1.2.1.2.2.1.4.12|2|1500
1.3.6.1.2.1.2.2.1.5.1|66|10000000
1.3.6.1.2.1.2.2.1.5.2|66|100000000
1.3.6.1.2.1.2.2.1.5.3|66|100000000
1.3.6.1.2.1.2.2.1.5.4|66|10000000
1.3.6.1.2.1.2.2.1.5.12|66|0
1.3.6.1.2.1.2.2.1.6.1|4|
1.3.6.1.2.1.2.2.1.6.2|4x|0019850ADD9D
1.3.6.1.2.1.2.2.1.6.3|4x|0019850ADD9D
1.3.6.1.2.1.2.2.1.6.4|4x|0019850ADD9D
1.3.6.1.2.1.2.2.1.6.12|4x|0019850ADD9D
1.3.6.1.2.1.2.2.1.7.1|2|1
1.3.6.1.2.1.2.2.1.7.2|2|1
1.3.6.1.2.1.2.2.1.7.3|2|1
1.3.6.1.2.1.2.2.1.7.4|2|1
1.3.6.1.2.1.2.2.1.7.12|2|1
1.3.6.1.2.1.2.2.1.8.1|2|1
1.3.6.1.2.1.2.2.1.8.2|2|1
1.3.6.1.2.1.2.2.1.8.3|2|1
1.3.6.1.2.1.2.2.1.8.4|2|2
1.3.6.1.2.1.2.2.1.8.12|2|1
1.3.6.1.2.1.2.2.1.9.1|67|0
1.3.6.1.2.1.2.2.1.9.2|67|0
1.3.6.1.2.1.2.2.1.9.3|67|0
1.3.6.1.2.1.2.2.1.9.4|67|0
1.3.6.1.2.1.2.2.1.9.12|67|0
1.3.6.1.2.1.2.2.1.10.1|65|1402886385
1.3.6.1.2.1.2.2.1.10.2|65|2213484929
1.3.6.1.2.1.2.2.1.10.3|65|2021243689
1.3.6.1.2.1.2.2.1.10.4|65|0
1.3.6.1.2.1.2.2.1.10.12|65|1585323590
1.3.6.1.2.1.2.2.1.11.1|65|638633933
1.3.6.1.2.1.2.2.1.11.2|65|48060310
1.3.6.1.2.1.2.2.1.11.3|65|48060310
1.3.6.1.2.1.2.2.1.11.4|65|0
1.3.6.1.2.1.2.2.1.11.12|65|18222880
1.3.6.1.2.1.2.2.1.12.1|65|0
1.3.6.1.2.1.2.2.1.12.2|65|0
1.3.6.1.2.1.2.2.1.12.3|65|0
1.3.6.1.2.1.2.2.1.12.4|65|0
1.3.6.1.2.1.2.2.1.12.12|65|0
1.3.6.1.2.1.2.2.1.13.1|65|0
1.3.6.1.2.1.2.2.1.13.2|65|0
1.3.6.1.2.1.2.2.1.13.3|65|191031
1.3.6.1.2.1.2.2.1.13.4|65|0
1.3.6.1.2.1.2.2.1.13.12|65|7983
1.3.6.1.2.1.2.2.1.14.1|65|0
1.3.6.1.2.1.2.2.1.14.2|65|481
1.3.6.1.2.1.2.2.1.14.3|65|0
1.3.6.1.2.1.2.2.1.14.4|65|0
1.3.6.1.2.1.2.2.1.14.12|65|0
1.3.6.1.2.1.2.2.1.15.1|65|0
1.3.6.1.2.1.2.2.1.15.2|65|0
1.3.6.1.2.1.2.2.1.15.3|65|0
1.3.6.1.2.1.2.2.1.15.4|65|0
1.3.6.1.2.1.2.2.1.15.12|65|0
1.3.6.1.2.1.2.2.1.16.1|65|1402886385
1.3.6.1.2.1.2.2.1.16.2|65|1424376407
1.3.6.1.2.1.2.2.1.16.3|65|1399725143
1.3.6.1.2.1.2.2.1.16.4|65|0
1.3.6.1.2.1.2.2.1.16.12|65|1394800281
1.3.6.1.2.1.2.2.1.17.1|65|638633933
1.3.6.1.2.1.2.2.1.17.2|65|6083769
1.3.6.1.2.1.2.2.1.17.3|65|6078987
1.3.6.1.2.1.2.2.1.17.4|65|0
1.3.6.1.2.1.2.2.1.17.12|65|6070268
1.3.6.1.2.1.2.2.1.18.1|65|0
1.3.6.1.2.1.2.2.1.18.2|65|0
1.3.6.1.2.1.2.2.1.18.3|65|0
1.3.6.1.2.1.2.2.1.18.4|65|0
1.3.6.1.2.1.2.2.1.18.12|65|0
1.3.6.1.2.1.2.2.1.19.1|65|0
1.3.6.1.2.1.2.2.1.19.2|65|0
1.3.6.1.2.1.2.2.1.19.3|65|0
1.3.6.1.2.1.2.2.1.19.4|65|0
1.3.6.1.2.1.2.2.1.19.12|65|0
1.3.6.1.2.1.2.2.1.20.1|65|0
1.3.6.1.2.1.2.2.1.20.2|65|0
1.3.6.1.2.1.2.2.1.20.3|65|0
1.3.6.1.2.1.2.2.1.20.4|65|0
1.3.6.1.2.1.2.2.1.20.12|65|0
1.3.6.1.2.1.2.2.1.21.1|66|0
1.3.6.1.2.1.2.2.1.21.2|66|0
1.3.6.1.2.1.2.2.1.21.3|66|0
1.3.6.1.2.1.2.2.1.21.4|66|0
1.3.6.1.2.1.2.2.1.21.12|66|0
1.3.6.1.2.1.2.2.1.22.1|6|0.0
1.3.6.1.2.1.2.2.1.22.2|6|0.0
1.3.6.1.2.1.2.2.1.22.3|6|0.0
1.3.6.1.2.1.2.2.1.22.4|6|0.0
1.3.6.1.2.1.2.2.1.22.12|6|0.0
1.3.6.1.2.1.31.1.5.0|67|0
1.3.6.1.4.1.21239.5.2.1.2.0|4|5.6.1
1.3.6.1.4.1.21239.5.2.1.8.0|4|MN03EDR1-15P3B8-6PS15D0H10-S
1.3.6.1.4.1.21239.5.2.1.10.0|4|<private>
1.3.6.1.4.1.21239.5.2.3.2.1.2.1|4|Phase AB
1.3.6.1.4.1.21239.5.2.3.2.1.2.2|4|Phase BC
1.3.6.1.4.1.21239.5.2.3.2.1.2.3|4|Phase CA
1.3.6.1.4.1.21239.5.2.3.2.1.3.1|4|Phase AB
1.3.6.1.4.1.21239.5.2.3.2.1.3.2|4|Phase BC
1.3.6.1.4.1.21239.5.2.3.2.1.3.3|4|Phase CA
1.3.6.1.4.1.21239.5.2.3.2.1.4.1|66|2068
1.3.6.1.4.1.21239.5.2.3.2.1.4.2|66|2079
1.3.6.1.4.1.21239.5.2.3.2.1.4.3|66|2062
1.3.6.1.4.1.21239.5.2.3.2.1.8.1|66|712
1.3.6.1.4.1.21239.5.2.3.2.1.8.2|66|711
1.3.6.1.4.1.21239.5.2.3.2.1.8.3|66|708
1.3.6.1.4.1.21239.5.2.3.2.1.12.1|66|1434
1.3.6.1.4.1.21239.5.2.3.2.1.12.2|66|1440
1.3.6.1.4.1.21239.5.2.3.2.1.12.3|66|1425
1.3.6.1.4.1.21239.5.2.3.2.1.13.1|66|1472
1.3.6.1.4.1.21239.5.2.3.2.1.13.2|66|1478
1.3.6.1.4.1.21239.5.2.3.2.1.13.3|66|1461
1.3.6.1.4.1.21239.5.2.3.2.1.14.1|66|97
1.3.6.1.4.1.21239.5.2.3.2.1.14.2|66|97
1.3.6.1.4.1.21239.5.2.3.2.1.14.3|66|97
1.3.6.1.4.1.21239.5.2.3.2.1.15.1|66|5047296
1.3.6.1.4.1.21239.5.2.3.2.1.15.2|66|5123811
1.3.6.1.4.1.21239.5.2.3.2.1.15.3|66|5031780
1.3.6.1.4.1.21239.5.2.3.2.1.17.1|66|33
1.3.6.1.4.1.21239.5.2.3.2.1.17.2|66|33
1.3.6.1.4.1.21239.5.2.3.2.1.17.3|66|33
1.3.6.1.4.1.21239.5.2.3.2.1.19.1|66|151
1.3.6.1.4.1.21239.5.2.3.2.1.19.2|66|153
1.3.6.1.4.1.21239.5.2.3.2.1.19.3|66|151
1.3.6.1.4.1.21239.5.2.3.3.1.2.1|4|Circuit 1
1.3.6.1.4.1.21239.5.2.3.3.1.2.2|4|Circuit 2
1.3.6.1.4.1.21239.5.2.3.3.1.2.3|4|Circuit 3
1.3.6.1.4.1.21239.5.2.3.3.1.2.4|4|Circuit 4
1.3.6.1.4.1.21239.5.2.3.3.1.2.5|4|Circuit 5
1.3.6.1.4.1.21239.5.2.3.3.1.2.6|4|Circuit 6
1.3.6.1.4.1.21239.5.2.3.3.1.3.1|4|Circuit 1 - Phase AB
1.3.6.1.4.1.21239.5.2.3.3.1.3.2|4|Circuit 2 - Phase BC
1.3.6.1.4.1.21239.5.2.3.3.1.3.3|4|Circuit 3 - Phase CA
1.3.6.1.4.1.21239.5.2.3.3.1.3.4|4|Circuit 4 - Phase AB
1.3.6.1.4.1.21239.5.2.3.3.1.3.5|4|Circuit 5 - Phase BC
1.3.6.1.4.1.21239.5.2.3.3.1.3.6|4|Circuit 6 - Phase CA
1.3.6.1.4.1.21239.5.2.3.3.1.4.1|66|455
1.3.6.1.4.1.21239.5.2.3.3.1.4.2|66|458
1.3.6.1.4.1.21239.5.2.3.3.1.4.3|66|454
1.3.6.1.4.1.21239.5.2.3.3.1.4.4|66|256
1.3.6.1.4.1.21239.5.2.3.3.1.4.5|66|252
1.3.6.1.4.1.21239.5.2.3.3.1.4.6|66|252
1.3.6.1.4.1.21239.5.2.3.4.1.2.1|4|Line A
1.3.6.1.4.1.21239.5.2.3.4.1.2.2|4|Line B
1.3.6.1.4.1.21239.5.2.3.4.1.2.3|4|Line C
1.3.6.1.4.1.21239.5.2.3.4.1.3.1|4|Line A
1.3.6.1.4.1.21239.5.2.3.4.1.3.2|4|Line B
1.3.6.1.4.1.21239.5.2.3.4.1.3.3|4|Line C
1.3.6.1.4.1.21239.5.2.3.4.1.4.1|66|1226
1.3.6.1.4.1.21239.5.2.3.4.1.4.2|66|1234
1.3.6.1.4.1.21239.5.2.3.4.1.4.3|66|1231
1.3.6.1.6.3.10.2.1.3.0|2|2824201