Skip to content

Commit

Permalink
Merge pull request prometheus#670 from Crabbey/main
Browse files Browse the repository at this point in the history
Add Servertech Sentry 4 PDU branches
  • Loading branch information
RichiH authored Jun 17, 2021
2 parents ebd489e + 6245417 commit 15dd541
Show file tree
Hide file tree
Showing 2 changed files with 256 additions and 0 deletions.
4 changes: 4 additions & 0 deletions generator/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ modules:
- 1.3.6.1.4.1.1718.4.1.3.3 # st4InputCordMonitorTable
- 1.3.6.1.4.1.1718.4.1.4.3 # st4LineMonitorTable
- 1.3.6.1.4.1.1718.4.1.5.3 # st4PhaseMonitorTable
- 1.3.6.1.4.1.1718.4.1.7.3 # st4BranchMonitorTable
- 1.3.6.1.4.1.1718.4.1.8.3 # st4OutletMonitorTable
- 1.3.6.1.4.1.1718.4.1.9.3 # st4TempSensorMonitorTable
- 1.3.6.1.4.1.1718.4.1.14.3 # st4FanSensorMonitorTable
Expand All @@ -139,6 +140,9 @@ modules:
- source_indexes: [st4UnitIndex, st4InputCordIndex, st4PhaseIndex]
lookup: st4PhaseLabel
drop_source_indexes: true
- source_indexes: [st4UnitIndex, st4InputCordIndex, st4BranchIndex]
lookup: st4BranchLabel
drop_source_indexes: true
- source_indexes: [st4UnitIndex, st4InputCordIndex, st4OutletIndex]
lookup: st4OutletName
drop_source_indexes: true
Expand Down
252 changes: 252 additions & 0 deletions snmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22177,6 +22177,8 @@ servertech_sentry4:
- 1.3.6.1.4.1.1718.4.1.4.3
- 1.3.6.1.4.1.1718.4.1.5.2.1.4
- 1.3.6.1.4.1.1718.4.1.5.3
- 1.3.6.1.4.1.1718.4.1.7.2.1.4
- 1.3.6.1.4.1.1718.4.1.7.3
- 1.3.6.1.4.1.1718.4.1.8.2.1.3
- 1.3.6.1.4.1.1718.4.1.8.3
- 1.3.6.1.4.1.1718.4.1.9.3
Expand Down Expand Up @@ -23538,6 +23540,256 @@ servertech_sentry4:
labelname: st4InputCordIndex
- labels: []
labelname: st4PhaseIndex
- name: st4BranchState
oid: 1.3.6.1.4.1.1718.4.1.7.3.1.1
type: gauge
help: The on/off state of the branch. - 1.3.6.1.4.1.1718.4.1.7.3.1.1
indexes:
- labelname: st4UnitIndex
type: gauge
- labelname: st4InputCordIndex
type: gauge
- labelname: st4BranchIndex
type: gauge
lookups:
- labels:
- st4UnitIndex
labelname: st4UnitName
oid: 1.3.6.1.4.1.1718.4.1.2.2.1.3
type: DisplayString
- labels:
- st4UnitIndex
- st4InputCordIndex
labelname: st4InputCordName
oid: 1.3.6.1.4.1.1718.4.1.3.2.1.3
type: DisplayString
- labels:
- st4UnitIndex
- st4InputCordIndex
- st4BranchIndex
labelname: st4BranchLabel
oid: 1.3.6.1.4.1.1718.4.1.7.2.1.4
type: DisplayString
- labels: []
labelname: st4UnitIndex
- labels: []
labelname: st4InputCordIndex
- labels: []
labelname: st4UnitIndex
- labels: []
labelname: st4InputCordIndex
- labels: []
labelname: st4BranchIndex
enum_values:
0: unknown
1: "on"
2: "off"
- name: st4BranchStatus
oid: 1.3.6.1.4.1.1718.4.1.7.3.1.2
type: gauge
help: The status of the branch. - 1.3.6.1.4.1.1718.4.1.7.3.1.2
indexes:
- labelname: st4UnitIndex
type: gauge
- labelname: st4InputCordIndex
type: gauge
- labelname: st4BranchIndex
type: gauge
lookups:
- labels:
- st4UnitIndex
labelname: st4UnitName
oid: 1.3.6.1.4.1.1718.4.1.2.2.1.3
type: DisplayString
- labels:
- st4UnitIndex
- st4InputCordIndex
labelname: st4InputCordName
oid: 1.3.6.1.4.1.1718.4.1.3.2.1.3
type: DisplayString
- labels:
- st4UnitIndex
- st4InputCordIndex
- st4BranchIndex
labelname: st4BranchLabel
oid: 1.3.6.1.4.1.1718.4.1.7.2.1.4
type: DisplayString
- labels: []
labelname: st4UnitIndex
- labels: []
labelname: st4InputCordIndex
- labels: []
labelname: st4UnitIndex
- labels: []
labelname: st4InputCordIndex
- labels: []
labelname: st4BranchIndex
enum_values:
0: normal
1: disabled
2: purged
5: reading
6: settle
7: notFound
8: lost
9: readError
10: noComm
11: pwrError
12: breakerTripped
13: fuseBlown
14: lowAlarm
15: lowWarning
16: highWarning
17: highAlarm
18: alarm
19: underLimit
20: overLimit
21: nvmFail
22: profileError
23: conflict
- name: st4BranchCurrent
oid: 1.3.6.1.4.1.1718.4.1.7.3.1.3
type: gauge
help: The measured current on the branch in hundredth Amps. - 1.3.6.1.4.1.1718.4.1.7.3.1.3
indexes:
- labelname: st4UnitIndex
type: gauge
- labelname: st4InputCordIndex
type: gauge
- labelname: st4BranchIndex
type: gauge
lookups:
- labels:
- st4UnitIndex
labelname: st4UnitName
oid: 1.3.6.1.4.1.1718.4.1.2.2.1.3
type: DisplayString
- labels:
- st4UnitIndex
- st4InputCordIndex
labelname: st4InputCordName
oid: 1.3.6.1.4.1.1718.4.1.3.2.1.3
type: DisplayString
- labels:
- st4UnitIndex
- st4InputCordIndex
- st4BranchIndex
labelname: st4BranchLabel
oid: 1.3.6.1.4.1.1718.4.1.7.2.1.4
type: DisplayString
- labels: []
labelname: st4UnitIndex
- labels: []
labelname: st4InputCordIndex
- labels: []
labelname: st4UnitIndex
- labels: []
labelname: st4InputCordIndex
- labels: []
labelname: st4BranchIndex
- name: st4BranchCurrentStatus
oid: 1.3.6.1.4.1.1718.4.1.7.3.1.4
type: gauge
help: The status of the measured current on the branch. - 1.3.6.1.4.1.1718.4.1.7.3.1.4
indexes:
- labelname: st4UnitIndex
type: gauge
- labelname: st4InputCordIndex
type: gauge
- labelname: st4BranchIndex
type: gauge
lookups:
- labels:
- st4UnitIndex
labelname: st4UnitName
oid: 1.3.6.1.4.1.1718.4.1.2.2.1.3
type: DisplayString
- labels:
- st4UnitIndex
- st4InputCordIndex
labelname: st4InputCordName
oid: 1.3.6.1.4.1.1718.4.1.3.2.1.3
type: DisplayString
- labels:
- st4UnitIndex
- st4InputCordIndex
- st4BranchIndex
labelname: st4BranchLabel
oid: 1.3.6.1.4.1.1718.4.1.7.2.1.4
type: DisplayString
- labels: []
labelname: st4UnitIndex
- labels: []
labelname: st4InputCordIndex
- labels: []
labelname: st4UnitIndex
- labels: []
labelname: st4InputCordIndex
- labels: []
labelname: st4BranchIndex
enum_values:
0: normal
1: disabled
2: purged
5: reading
6: settle
7: notFound
8: lost
9: readError
10: noComm
11: pwrError
12: breakerTripped
13: fuseBlown
14: lowAlarm
15: lowWarning
16: highWarning
17: highAlarm
18: alarm
19: underLimit
20: overLimit
21: nvmFail
22: profileError
23: conflict
- name: st4BranchCurrentUtilized
oid: 1.3.6.1.4.1.1718.4.1.7.3.1.5
type: gauge
help: The amount of the branch current capacity used in tenth percent. - 1.3.6.1.4.1.1718.4.1.7.3.1.5
indexes:
- labelname: st4UnitIndex
type: gauge
- labelname: st4InputCordIndex
type: gauge
- labelname: st4BranchIndex
type: gauge
lookups:
- labels:
- st4UnitIndex
labelname: st4UnitName
oid: 1.3.6.1.4.1.1718.4.1.2.2.1.3
type: DisplayString
- labels:
- st4UnitIndex
- st4InputCordIndex
labelname: st4InputCordName
oid: 1.3.6.1.4.1.1718.4.1.3.2.1.3
type: DisplayString
- labels:
- st4UnitIndex
- st4InputCordIndex
- st4BranchIndex
labelname: st4BranchLabel
oid: 1.3.6.1.4.1.1718.4.1.7.2.1.4
type: DisplayString
- labels: []
labelname: st4UnitIndex
- labels: []
labelname: st4InputCordIndex
- labels: []
labelname: st4UnitIndex
- labels: []
labelname: st4InputCordIndex
- labels: []
labelname: st4BranchIndex
- name: st4OutletState
oid: 1.3.6.1.4.1.1718.4.1.8.3.1.1
type: gauge
Expand Down

0 comments on commit 15dd541

Please sign in to comment.