From root, 6 Years ago, written in Plain Text.
Embed
  1. diff --git a/includes/definitions/discovery/apc.yaml b/includes/definitions/discovery/apc.yaml
  2. index c7370ce..776ddbf 100644
  3. --- a/includes/definitions/discovery/apc.yaml
  4. +++ b/includes/definitions/discovery/apc.yaml
  5. @@ -85,34 +85,34 @@ modules:
  6.                          - { descr: open, graph: 1, value: 1, generic: 0 }
  7.                          - { descr: closed, graph: 1, value: 2, generic: 2 }
  8.                  -
  9. -                    oid: rPDU2PhaseStatusTable
  10. +                    oid: rPDU2PhaseStatusLoadState
  11.                      value: rPDU2PhaseStatusLoadState
  12.                      num_oid: .1.3.6.1.4.1.318.1.1.26.6.3.1.4.
  13.                      index: 'rPDU2PhaseStatusLoadState.{{ $index }}'
  14. -                    descr: 'Load state #{{ $index }}'
  15. +                    descr: 'Load State, Phase #{{ $index }}'
  16.                      states:
  17. -                        - { descr: lowLoad, graph: 1, value: 1, generic: 1 }
  18. +                        - { descr: lowLoad, graph: 1, value: 1, generic: 0 }
  19.                          - { descr: normal, graph: 1, value: 2, generic: 0 }
  20.                          - { descr: nearOverload, graph: 1, value: 3, generic: 1 }
  21.                          - { descr: overload, graph: 1, value: 4, generic: 2 }
  22.                  -
  23. -                    oid: rPDU2DeviceStatusTable
  24. +                    oid: rPDU2DeviceStatusLoadState
  25.                      value: rPDU2DeviceStatusLoadState
  26.                      num_oid: .1.3.6.1.4.1.318.1.1.26.4.3.1.4.
  27.                      index: 'rPDU2DeviceStatusLoadState.{{ $index }}'
  28. -                    descr: rPDU2DeviceStatusName
  29. +                    descr: 'Device State'
  30.                      states:
  31. -                        - { descr: lowLoad, graph: 1, value: 1, generic: 1 }
  32. +                        - { descr: lowLoad, graph: 1, value: 1, generic: 0 }
  33.                          - { descr: normal, graph: 1, value: 2, generic: 0 }
  34.                          - { descr: nearOverload, graph: 1, value: 3, generic: 1 }
  35.                          - { descr: overload, graph: 1, value: 4, generic: 2 }
  36.                          - { descr: notsupported, graph: 1, value: 5, generic: 3 }
  37.                  -
  38. -                    oid: rPDU2DeviceStatusTable
  39. +                    oid: rPDU2DeviceStatusPowerSupplyAlarm
  40.                      value: rPDU2DeviceStatusPowerSupplyAlarm
  41.                      num_oid: .1.3.6.1.4.1.318.1.1.26.4.3.1.12.
  42.                      index: 'rPDU2DeviceStatusPowerSupplyAlarm.{{ $index }}'
  43. -                    descr: rPDU2DeviceStatusName
  44. +                    descr: 'Power Supply State'
  45.                      states:
  46.                          - { descr: normal, graph: 1, value: 1, generic: 0 }
  47.                          - { descr: alarm, graph: 1, value: 2, generic: 2 }
  48. @@ -250,13 +250,6 @@ modules:
  49.                      index: 'airIRRP100UnitStatusCompressorDriveDCLinkVoltage.{{ $index }}'
  50.                      descr: Compressor Drive DC Link
  51.                      divisor: 10
  52. -                -
  53. -                    oid: rPDU2PhaseStatusTable
  54. -                    value: rPDU2PhaseStatusVoltage
  55. -                    num_oid: .1.3.6.1.4.1.318.1.1.26.6.3.1.6.
  56. -                    index: 'rPDU2PhaseStatusVoltage.{{ $index }}'
  57. -                    descr: 'Voltage #{{ $index }}'
  58. -                    skip_value_lt: 0
  59.          current:
  60.              data:
  61.                  -
  62. @@ -277,13 +270,6 @@ modules:
  63.                      index: 'airIRRP100UnitStatusHumidifierCurrent.{{ $index }}'
  64.                      descr: Humidifier
  65.                      divisor: 10
  66. -                -
  67. -                    oid: rPDU2PhaseStatusTable
  68. -                    value: rPDU2PhaseStatusCurrent
  69. -                    num_oid: .1.3.6.1.4.1.318.1.1.26.6.3.1.5.
  70. -                    divisor: 10
  71. -                    index: 'rPDU2PhaseStatusCurrent.{{ $index }}'
  72. -                    descr: 'Current #{{ $index }}'
  73.          fanspeed:
  74.              data:
  75.                  -
  76. @@ -354,13 +340,13 @@ modules:
  77.                      oid: rPDU2PhaseStatusTable
  78.                      value: rPDU2PhaseStatusPower
  79.                      num_oid: .1.3.6.1.4.1.318.1.1.26.6.3.1.7.
  80. -                    multiplier: 1000
  81. +                    multiplier: 10
  82.                      index: 'rPDU2PhaseStatusPower.{{ $index }}'
  83. -                    descr: 'Power #{{ $index }}'
  84. +                    descr: 'Power, Phase #{{ $index }}'
  85.                  -
  86.                      oid: rPDU2DeviceStatusTable
  87.                      value: rPDU2DeviceStatusPower
  88.                      num_oid: .1.3.6.1.4.1.318.1.1.26.4.3.1.5.
  89. -                    multiplier: 100
  90. +                    multiplier: 10
  91.                      index: 'rPDU2DeviceStatusPower.{{ $index }}'
  92. -                    descr: rPDU2DeviceStatusName
  93. \ No newline at end of file
  94. +                    descr: 'Power, Total'
  95.