2021-03-06 00:55:27 +01:00
|
|
|
---
|
|
|
|
{{ ansible_managed | comment }}
|
|
|
|
|
2019-11-01 14:16:32 +01:00
|
|
|
# TODOlist :
|
|
|
|
# - Faire fonctionner le monitoring des switchs défini ici
|
|
|
|
# * Configurer tous les switchs avec un compte SNMPv3
|
|
|
|
# * Mettre l'inventaire des switchs dans Ansible
|
|
|
|
# - Optimiser les règles pour les bornes Unifi,
|
|
|
|
# on pourrait indexer avec les SSID
|
|
|
|
|
2021-01-21 21:26:40 +01:00
|
|
|
eatonups:
|
|
|
|
walk:
|
|
|
|
- 1.3.6.1.2.1.33.1.2
|
|
|
|
- 1.3.6.1.2.1.33.1.3
|
|
|
|
- 1.3.6.1.2.1.33.1.4
|
|
|
|
- 1.3.6.1.4.1.534.1.6
|
2021-03-11 13:23:15 +01:00
|
|
|
- 1.3.6.1.4.1.318.1.1.10.2.3.2.1.4
|
2021-01-21 21:26:40 +01:00
|
|
|
get:
|
|
|
|
- 1.3.6.1.2.1.1.3.0
|
|
|
|
metrics:
|
|
|
|
- name: sysUpTime
|
|
|
|
oid: 1.3.6.1.2.1.1.3
|
|
|
|
type: gauge
|
|
|
|
help: The time (in hundredths of a second) since the network management portion
|
|
|
|
of the system was last re-initialized. - 1.3.6.1.2.1.1.3
|
|
|
|
- name: upsBatteryStatus
|
|
|
|
oid: 1.3.6.1.2.1.33.1.2.1
|
|
|
|
type: gauge
|
|
|
|
help: The indication of the capacity remaining in the UPS system's batteries -
|
|
|
|
1.3.6.1.2.1.33.1.2.1
|
|
|
|
- name: upsEstimatedMinutesRemaining
|
|
|
|
oid: 1.3.6.1.2.1.33.1.2.3
|
|
|
|
type: gauge
|
|
|
|
help: An estimate of the time to battery charge depletion under the present load
|
|
|
|
conditions if the utility power is off and remains off, or if it were to be
|
|
|
|
lost and remain off. - 1.3.6.1.2.1.33.1.2.3
|
|
|
|
- name: upsInputVoltage
|
|
|
|
oid: 1.3.6.1.2.1.33.1.3.3.1.3
|
|
|
|
type: gauge
|
|
|
|
help: The magnitude of the present input voltage. - 1.3.6.1.2.1.33.1.3.3.1.3
|
|
|
|
indexes:
|
|
|
|
- labelname: upsInputLineIndex
|
|
|
|
type: gauge
|
|
|
|
- name: upsOutputSource
|
|
|
|
oid: 1.3.6.1.2.1.33.1.4.1
|
|
|
|
type: gauge
|
|
|
|
help: The present source of output power - 1.3.6.1.2.1.33.1.4.1
|
|
|
|
- name: upsOutputVoltage
|
|
|
|
oid: 1.3.6.1.2.1.33.1.4.4.1.2
|
|
|
|
type: gauge
|
|
|
|
help: The present output voltage. - 1.3.6.1.2.1.33.1.4.4.1.2
|
|
|
|
indexes:
|
|
|
|
- labelname: upsOutputLineIndex
|
|
|
|
type: gauge
|
|
|
|
- name: upsOutputPower
|
|
|
|
oid: 1.3.6.1.2.1.33.1.4.4.1.4
|
|
|
|
type: gauge
|
|
|
|
help: The present output true power. - 1.3.6.1.2.1.33.1.4.4.1.4
|
|
|
|
indexes:
|
|
|
|
- labelname: upsOutputLineIndex
|
|
|
|
type: gauge
|
|
|
|
- name: upsOutputPercentLoad
|
|
|
|
oid: 1.3.6.1.2.1.33.1.4.4.1.5
|
|
|
|
type: gauge
|
|
|
|
help: The percentage of the UPS power capacity presently being used on this output
|
|
|
|
line, i.e., the greater of the percent load of true power capacity and the percent
|
|
|
|
load of VA. - 1.3.6.1.2.1.33.1.4.4.1.5
|
|
|
|
indexes:
|
|
|
|
- labelname: upsOutputLineIndex
|
|
|
|
type: gauge
|
|
|
|
- name: xupsEnvRemoteTemp
|
2021-03-10 12:55:11 +01:00
|
|
|
oid: 1.3.6.1.4.1.318.1.1.10.2.3.2.1.4
|
2021-01-21 21:26:40 +01:00
|
|
|
type: gauge
|
2021-03-16 21:13:45 +01:00
|
|
|
help: The reading of an EMP's temperature sensor (APC MIB) - 1.3.6.1.4.1.318.1.1.10.2.3.2.1.4
|
|
|
|
- name: xupsEnvRemoteTemp
|
|
|
|
oid: 1.3.6.1.4.1.534.1.6.5
|
|
|
|
type: gauge
|
|
|
|
help: The reading of an EMP's temperature sensor (Eaton MIB) - 1.3.6.1.4.1.534.1.6.5
|
2021-01-21 21:26:40 +01:00
|
|
|
- name: xupsEnvRemoteHumidity
|
|
|
|
oid: 1.3.6.1.4.1.534.1.6.6
|
|
|
|
type: gauge
|
|
|
|
help: The reading of an EMP's humidity sensor. - 1.3.6.1.4.1.534.1.6.6
|
|
|
|
version: 1
|
|
|
|
auth:
|
|
|
|
community: public
|
|
|
|
|
2019-11-01 14:16:32 +01:00
|
|
|
procurve_switch:
|
|
|
|
walk:
|
2021-03-06 00:55:27 +01:00
|
|
|
- 1.3.6.1.2.1.31.1.1.1.10
|
|
|
|
- 1.3.6.1.2.1.31.1.1.1
|
|
|
|
- 1.3.6.1.2.1.2.2.1.2
|
|
|
|
- 1.3.6.1.2.1.31.1.1.1.18
|
2019-11-01 14:16:32 +01:00
|
|
|
get:
|
2021-03-06 00:55:27 +01:00
|
|
|
- 1.3.6.1.2.1.1.3.0
|
|
|
|
- 1.3.6.1.2.1.1.5.0
|
|
|
|
- 1.3.6.1.2.1.1.6.0
|
2019-11-01 14:16:32 +01:00
|
|
|
metrics:
|
2021-03-06 00:55:27 +01:00
|
|
|
- name: sysUpTime
|
|
|
|
oid: 1.3.6.1.2.1.1.3
|
2019-11-01 14:16:32 +01:00
|
|
|
type: gauge
|
2021-03-06 00:55:27 +01:00
|
|
|
help: The time (in hundredths of a second) since the network management
|
|
|
|
portion of the system was last re-initialized. - 1.3.6.1.2.1.1.3
|
|
|
|
- name: sysName
|
|
|
|
oid: 1.3.6.1.2.1.1.5
|
|
|
|
type: DisplayString
|
|
|
|
help: An administratively-assigned name for this managed node
|
|
|
|
- 1.3.6.1.2.1.1.5
|
|
|
|
- name: sysLocation
|
|
|
|
oid: 1.3.6.1.2.1.1.6
|
|
|
|
type: DisplayString
|
|
|
|
help: The physical location of this node (e.g., 'telephone closet, 3rd
|
|
|
|
floor') - 1.3.6.1.2.1.1.6
|
|
|
|
- name: ifHCOutOctets
|
|
|
|
oid: 1.3.6.1.2.1.31.1.1.1.10
|
|
|
|
type: counter
|
|
|
|
help: The total number of octets transmitted out of the interface,
|
|
|
|
including framing characters - 1.3.6.1.2.1.31.1.1.1.10
|
|
|
|
indexes:
|
|
|
|
- labelname: ifIndex
|
|
|
|
type: gauge
|
|
|
|
lookups:
|
|
|
|
- labels:
|
|
|
|
- ifIndex
|
|
|
|
labelname: ifDescr
|
|
|
|
oid: 1.3.6.1.2.1.2.2.1.2
|
|
|
|
type: DisplayString
|
|
|
|
- labels:
|
|
|
|
- ifIndex
|
|
|
|
labelname: ifName
|
|
|
|
oid: 1.3.6.1.2.1.31.1.1.1.1
|
|
|
|
type: DisplayString
|
|
|
|
- name: ifHCInOctets
|
|
|
|
oid: 1.3.6.1.2.1.31.1.1.1.6
|
|
|
|
type: counter
|
|
|
|
help: The total number of octets received on the interface, including
|
|
|
|
framing characters - 1.3.6.1.2.1.31.1.1.1.6
|
|
|
|
indexes:
|
|
|
|
- labelname: ifIndex
|
|
|
|
type: gauge
|
|
|
|
lookups:
|
|
|
|
- labels:
|
|
|
|
- ifIndex
|
|
|
|
labelname: ifDescr
|
|
|
|
oid: 1.3.6.1.2.1.2.2.1.2
|
|
|
|
type: DisplayString
|
|
|
|
- labels:
|
|
|
|
- ifIndex
|
|
|
|
labelname: ifName
|
|
|
|
oid: 1.3.6.1.2.1.31.1.1.1.1
|
|
|
|
type: DisplayString
|
2021-03-06 01:56:18 +01:00
|
|
|
version: 2
|
|
|
|
auth:
|
|
|
|
community: "{{ snmp_switch_community }}"
|
2019-11-01 14:16:32 +01:00
|
|
|
|
|
|
|
ubiquiti_unifi:
|
|
|
|
walk:
|
|
|
|
- 1.3.6.1.4.1.41112.1.6
|
|
|
|
get:
|
|
|
|
- 1.3.6.1.2.1.1.5.0
|
|
|
|
- 1.3.6.1.2.1.1.6.0
|
|
|
|
metrics:
|
|
|
|
# Pour faire une WifiMap un jour, on peut entrer la location dans la conf des bornes
|
|
|
|
# - name: sysLocation
|
|
|
|
# oid: 1.3.6.1.2.1.1.6
|
|
|
|
# type: DisplayString
|
|
|
|
# help: The physical location of this node (e.g., 'telephone closet, 3rd floor')
|
|
|
|
# - 1.3.6.1.2.1.1.6
|
|
|
|
- name: unifiVapIndex
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.1
|
|
|
|
type: gauge
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.1'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapChannel
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.4
|
|
|
|
type: gauge
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.4'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapEssId
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.6
|
|
|
|
type: DisplayString
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.6'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapName
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.7
|
|
|
|
type: DisplayString
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.7'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
2021-02-08 13:57:32 +01:00
|
|
|
- name: unifi_vap_num_stations
|
2019-11-01 14:16:32 +01:00
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.8
|
|
|
|
type: gauge
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.8'
|
|
|
|
indexes:
|
2021-02-08 13:57:32 +01:00
|
|
|
- labelname: unifi_vap_index
|
2019-11-01 14:16:32 +01:00
|
|
|
type: gauge
|
2021-02-08 13:57:32 +01:00
|
|
|
lookups:
|
|
|
|
- labels: [unifi_vap_index]
|
|
|
|
labelname: unifi_vap_essid
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.6
|
|
|
|
type: DisplayString
|
|
|
|
- labels: [unifi_vap_index]
|
|
|
|
labelname: unifi_vap_radio
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.9
|
|
|
|
type: DisplayString
|
|
|
|
- labels: []
|
|
|
|
labelname: unifi_vap_index
|
|
|
|
# - name: unifiVapNumStations
|
|
|
|
# oid: 1.3.6.1.4.1.41112.1.6.1.2.1.8
|
|
|
|
# type: gauge
|
|
|
|
# help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.8'
|
|
|
|
# indexes:
|
|
|
|
# - labelname: unifiVapIndex
|
|
|
|
# type: gauge
|
2019-11-01 14:16:32 +01:00
|
|
|
- name: unifiVapRadio
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.9
|
|
|
|
type: DisplayString
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.9'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapRxBytes
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.10
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.10'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapRxCrypts
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.11
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.11'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapRxDropped
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.12
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.12'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapRxErrors
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.13
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.13'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapRxFrags
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.14
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.14'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapRxPackets
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.15
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.15'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapTxBytes
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.16
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.16'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapTxDropped
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.17
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.17'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapTxErrors
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.18
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.18'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapTxPackets
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.19
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.19'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapTxRetries
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.20
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.20'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapTxPower
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.21
|
|
|
|
type: gauge
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.21'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapUp
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.22
|
|
|
|
type: gauge
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.22'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiVapUsage
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.23
|
|
|
|
type: DisplayString
|
|
|
|
help: guest or regular user - 1.3.6.1.4.1.41112.1.6.1.2.1.23
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiVapIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiIfIndex
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.1
|
|
|
|
type: gauge
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.1'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiIfIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiIfName
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.5
|
|
|
|
type: DisplayString
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.5'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiIfIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiIfRxBytes
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.6
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.6'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiIfIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiIfRxDropped
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.7
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.7'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiIfIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiIfRxError
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.8
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.8'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiIfIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiIfRxMulticast
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.9
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.9'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiIfIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiIfRxPackets
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.10
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.10'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiIfIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiIfTxBytes
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.12
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.12'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiIfIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiIfTxDropped
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.13
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.13'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiIfIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiIfTxError
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.14
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.14'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiIfIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiIfTxPackets
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.15
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.15'
|
|
|
|
indexes:
|
|
|
|
- labelname: unifiIfIndex
|
|
|
|
type: gauge
|
|
|
|
- name: unifiApSystemModel
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.3.3
|
|
|
|
type: DisplayString
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.3.3'
|
|
|
|
- name: unifiApSystemUptime
|
|
|
|
oid: 1.3.6.1.4.1.41112.1.6.3.5
|
|
|
|
type: counter
|
|
|
|
help: ' - 1.3.6.1.4.1.41112.1.6.3.5'
|
|
|
|
version: 3
|
|
|
|
auth:
|
|
|
|
security_level: authPriv
|
|
|
|
username: snmp_prometheus
|
|
|
|
password: {{ snmp_unifi_password }}
|
|
|
|
auth_protocol: SHA
|
|
|
|
priv_protocol: AES
|
|
|
|
priv_password: {{ snmp_unifi_password }}
|
2021-08-20 16:58:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
apc_pdu:
|
|
|
|
walk:
|
|
|
|
- 1.3.6.1.4.1.318.1.1.26.10.2.2.1.8
|
|
|
|
- 1.3.6.1.4.1.318.1.1.26.4.3.1.4
|
|
|
|
- 1.3.6.1.4.1.318.1.1.26.4.3.1.5
|
|
|
|
- 1.3.6.1.4.1.318.1.1.26.4.3.1.6
|
|
|
|
- 1.3.6.1.4.1.318.1.1.26.6.3.1.9
|
|
|
|
- 1.3.6.1.4.1.318.1.1.26.9.4.3.1.7
|
|
|
|
metrics:
|
|
|
|
- name: rPDU2SensorTempHumidityStatusTempC
|
|
|
|
oid: 1.3.6.1.4.1.318.1.1.26.10.2.2.1.8
|
|
|
|
type: gauge
|
|
|
|
help: Sensor temperature reading in tenths of degrees Celsius - 1.3.6.1.4.1.318.1.1.26.10.2.2.1.8
|
|
|
|
indexes:
|
|
|
|
- labelname: rPDU2SensorTempHumidityStatusIndex
|
|
|
|
type: gauge
|
|
|
|
- name: rPDU2DeviceStatusLoadState
|
|
|
|
oid: 1.3.6.1.4.1.318.1.1.26.4.3.1.4
|
|
|
|
type: gauge
|
|
|
|
help: Indicates the present load status of the Rack PDU - 1.3.6.1.4.1.318.1.1.26.4.3.1.4
|
|
|
|
indexes:
|
|
|
|
- labelname: rPDU2DeviceStatusIndex
|
|
|
|
type: gauge
|
|
|
|
- name: rPDU2DeviceStatusPower
|
|
|
|
oid: 1.3.6.1.4.1.318.1.1.26.4.3.1.5
|
|
|
|
type: gauge
|
|
|
|
help: The power consumption of the Rack PDU load in hundredths of kilowatts -
|
|
|
|
1.3.6.1.4.1.318.1.1.26.4.3.1.5
|
|
|
|
indexes:
|
|
|
|
- labelname: rPDU2DeviceStatusIndex
|
|
|
|
type: gauge
|
|
|
|
- name: rPDU2DeviceStatusPeakPower
|
|
|
|
oid: 1.3.6.1.4.1.318.1.1.26.4.3.1.6
|
|
|
|
type: gauge
|
|
|
|
help: The peak power consumption of the Rack PDU load in hundredths of kilowatts
|
|
|
|
- 1.3.6.1.4.1.318.1.1.26.4.3.1.6
|
|
|
|
indexes:
|
|
|
|
- labelname: rPDU2DeviceStatusIndex
|
|
|
|
type: gauge
|
|
|
|
- name: rPDU2PhaseStatusPowerFactor
|
|
|
|
oid: 1.3.6.1.4.1.318.1.1.26.6.3.1.9
|
|
|
|
type: gauge
|
|
|
|
help: Indicates the load power factor, in hundredths, of the Rack PDU phase being
|
|
|
|
queried - 1.3.6.1.4.1.318.1.1.26.6.3.1.9
|
|
|
|
indexes:
|
|
|
|
- labelname: rPDU2PhaseStatusIndex
|
|
|
|
type: gauge
|
|
|
|
- name: rPDU2OutletMeteredStatusPower
|
|
|
|
oid: 1.3.6.1.4.1.318.1.1.26.9.4.3.1.7
|
|
|
|
type: gauge
|
|
|
|
help: Indicates the power draw of the load on the Rack PDU outlet being queried
|
|
|
|
- 1.3.6.1.4.1.318.1.1.26.9.4.3.1.7
|
|
|
|
indexes:
|
|
|
|
- labelname: rPDU2OutletMeteredStatusIndex
|
|
|
|
type: gauge
|
|
|
|
version: 3
|
|
|
|
auth:
|
|
|
|
security_level: authPriv
|
|
|
|
username: {{ snmp_pdu_user }}
|
|
|
|
password: {{ snmp_pdu_password }}
|
|
|
|
auth_protocol: SHA
|
|
|
|
priv_protocol: AES
|
|
|
|
priv_password: {{ snmp_pdu_password }}
|
|
|
|
|
2021-12-31 18:31:58 +01:00
|
|
|
ilo:
|
|
|
|
walk:
|
2022-01-01 16:45:10 +01:00
|
|
|
- 1.3.6.1.4.1.232.6.2.14.4 # Resilient memory
|
|
|
|
- 1.3.6.1.4.1.232.6.2.15.3 # Power meter
|
|
|
|
- 1.3.6.1.4.1.232.6.2.16.1 # POST tests
|
|
|
|
- 1.3.6.1.4.1.232.6.2.17.1 # Battery
|
|
|
|
- 1.3.6.1.4.1.232.6.2.6.8.1.3 # Temperature sensors location
|
|
|
|
- 1.3.6.1.4.1.232.6.2.6.8.1.4 # Temperature sensors value
|
|
|
|
- 1.3.6.1.4.1.232.6.2.6.8.1.5 # Temperature sensors limit
|
|
|
|
- 1.3.6.1.4.1.232.6.2.6.8.1.6 # Temperature sensors condition
|
|
|
|
- 1.3.6.1.4.1.232.6.2.6.7.1.3 # Fans location
|
|
|
|
- 1.3.6.1.4.1.232.6.2.6.7.1.9 # Fans condition
|
|
|
|
- 1.3.6.1.4.1.232.6.2.9.3.1.5 # Power supply
|
2021-12-31 18:31:58 +01:00
|
|
|
- 1.3.6.1.4.1.232.9.2.2 # iLO
|
|
|
|
metrics:
|
2022-01-01 16:45:10 +01:00
|
|
|
- name: cpqHeResilientMemCondition
|
|
|
|
oid: 1.3.6.1.4.1.232.6.2.14.4
|
|
|
|
type: EnumAsStateSet
|
|
|
|
help: The resilient memory condition - 1.3.6.1.4.1.232.6.2.14.4
|
|
|
|
enum_values:
|
|
|
|
1: other
|
|
|
|
2: ok
|
|
|
|
3: degraded
|
|
|
|
4: failed
|
2021-12-31 18:31:58 +01:00
|
|
|
- name: cpqHePowerMeterCurrReading
|
|
|
|
oid: 1.3.6.1.4.1.232.6.2.15.3
|
|
|
|
type: gauge
|
|
|
|
help: This is the current Power Meter reading in Watts - 1.3.6.1.4.1.232.6.2.15.3
|
|
|
|
- name: cpqHeHWBiosCondition
|
|
|
|
oid: 1.3.6.1.4.1.232.6.2.16.1
|
2022-01-01 11:59:23 +01:00
|
|
|
type: EnumAsStateSet
|
2021-12-31 18:31:58 +01:00
|
|
|
help: This value indicates an error has been detected during Pre-OS Test (POST)
|
|
|
|
or during initial hardware initialization - 1.3.6.1.4.1.232.6.2.16.1
|
|
|
|
enum_values:
|
|
|
|
1: other
|
|
|
|
2: ok
|
|
|
|
3: degraded
|
|
|
|
4: failed
|
2022-01-01 16:45:10 +01:00
|
|
|
- name: cpqHeSysBatteryCondition
|
|
|
|
oid: 1.3.6.1.4.1.232.6.2.17.1
|
|
|
|
type: EnumAsStateSet
|
|
|
|
help: The battery condition - 1.3.6.1.4.1.232.6.2.17.1
|
|
|
|
indexes:
|
|
|
|
- labelname: cpqHeSysBatteryChassis
|
|
|
|
type: gauge
|
|
|
|
- labelname: cpqHeSysBatteryIndex
|
|
|
|
type: gauge
|
|
|
|
enum_values:
|
|
|
|
1: other
|
|
|
|
2: ok
|
|
|
|
3: degraded
|
|
|
|
4: failed
|
2021-12-31 18:31:58 +01:00
|
|
|
- name: cpqHeTemperatureLocale
|
|
|
|
oid: 1.3.6.1.4.1.232.6.2.6.8.1.3
|
|
|
|
type: EnumAsInfo
|
|
|
|
help: This specifies the location of the temperature sensor present in the system.
|
|
|
|
- 1.3.6.1.4.1.232.6.2.6.8.1.3
|
|
|
|
indexes:
|
|
|
|
- labelname: cpqHeTemperatureChassis
|
|
|
|
type: gauge
|
|
|
|
- labelname: cpqHeTemperatureIndex
|
|
|
|
type: gauge
|
|
|
|
enum_values:
|
|
|
|
1: other
|
|
|
|
2: unknown
|
|
|
|
3: system
|
|
|
|
4: systemBoard
|
|
|
|
5: ioBoard
|
|
|
|
6: cpu
|
|
|
|
7: memory
|
|
|
|
8: storage
|
|
|
|
9: removableMedia
|
|
|
|
10: powerSupply
|
|
|
|
11: ambient
|
|
|
|
12: chassis
|
|
|
|
13: bridgeCard
|
|
|
|
- name: cpqHeTemperatureCelsius
|
|
|
|
oid: 1.3.6.1.4.1.232.6.2.6.8.1.4
|
|
|
|
type: gauge
|
|
|
|
help: This is the current temperature sensor reading in degrees celsius - 1.3.6.1.4.1.232.6.2.6.8.1.4
|
|
|
|
indexes:
|
|
|
|
- labelname: cpqHeTemperatureChassis
|
|
|
|
type: gauge
|
|
|
|
- labelname: cpqHeTemperatureIndex
|
|
|
|
type: gauge
|
|
|
|
- name: cpqHeTemperatureThreshold
|
|
|
|
oid: 1.3.6.1.4.1.232.6.2.6.8.1.5
|
|
|
|
type: gauge
|
|
|
|
help: This is the shutdown threshold temperature sensor setting in degrees celsius
|
|
|
|
- 1.3.6.1.4.1.232.6.2.6.8.1.5
|
|
|
|
indexes:
|
|
|
|
- labelname: cpqHeTemperatureChassis
|
|
|
|
type: gauge
|
|
|
|
- labelname: cpqHeTemperatureIndex
|
|
|
|
type: gauge
|
|
|
|
- name: cpqHeTemperatureCondition
|
|
|
|
oid: 1.3.6.1.4.1.232.6.2.6.8.1.6
|
2022-01-01 11:59:23 +01:00
|
|
|
type: EnumAsStateSet
|
2021-12-31 18:31:58 +01:00
|
|
|
help: The Temperature sensor condition - 1.3.6.1.4.1.232.6.2.6.8.1.6
|
|
|
|
indexes:
|
|
|
|
- labelname: cpqHeTemperatureChassis
|
|
|
|
type: gauge
|
|
|
|
- labelname: cpqHeTemperatureIndex
|
|
|
|
type: gauge
|
|
|
|
enum_values:
|
|
|
|
1: other
|
|
|
|
2: ok
|
|
|
|
3: degraded
|
|
|
|
4: failed
|
|
|
|
- name: cpqHeFltTolFanLocale
|
|
|
|
oid: 1.3.6.1.4.1.232.6.2.6.7.1.3
|
|
|
|
type: EnumAsInfo
|
|
|
|
help: This specifies the location of the fan present in the system.
|
|
|
|
- 1.3.6.1.4.1.232.6.2.6.7.1.3
|
|
|
|
indexes:
|
|
|
|
- labelname: cpqHeFltTolFanChassis
|
|
|
|
type: gauge
|
|
|
|
- labelname: cpqHeFltTolFanIndex
|
|
|
|
type: gauge
|
|
|
|
enum_values:
|
|
|
|
1: other
|
|
|
|
2: unknown
|
|
|
|
3: system
|
|
|
|
4: systemBoard
|
|
|
|
5: ioBoard
|
|
|
|
6: cpu
|
|
|
|
7: memory
|
|
|
|
8: storage
|
|
|
|
9: removableMedia
|
|
|
|
10: powerSupply
|
|
|
|
11: ambient
|
|
|
|
12: chassis
|
|
|
|
13: bridgeCard
|
|
|
|
- name: cpqHeFltTolFanCondition
|
|
|
|
oid: 1.3.6.1.4.1.232.6.2.6.7.1.9
|
2022-01-01 11:59:23 +01:00
|
|
|
type: EnumAsStateSet
|
2021-12-31 18:31:58 +01:00
|
|
|
help: The fan condition - 1.3.6.1.4.1.232.6.2.6.7.1.9
|
|
|
|
indexes:
|
|
|
|
- labelname: cpqHeFltTolFanChassis
|
|
|
|
type: gauge
|
|
|
|
- labelname: cpqHeFltTolFanIndex
|
|
|
|
type: gauge
|
|
|
|
enum_values:
|
|
|
|
1: other
|
|
|
|
2: ok
|
|
|
|
3: degraded
|
|
|
|
4: failed
|
|
|
|
- name: cpqHeFltTolPowerSupplyStatus
|
|
|
|
oid: 1.3.6.1.4.1.232.6.2.9.3.1.5
|
2022-01-01 11:59:23 +01:00
|
|
|
type: EnumAsStateSet
|
2021-12-31 18:31:58 +01:00
|
|
|
help: The status of the power supply. - 1.3.6.1.4.1.232.6.2.9.3.1.5
|
|
|
|
indexes:
|
|
|
|
- labelname: cpqHeFltTolPowerSupplyChassis
|
|
|
|
type: gauge
|
|
|
|
- labelname: cpqHeFltTolPowerSupplyBay
|
|
|
|
type: gauge
|
|
|
|
enum_values:
|
|
|
|
1: noError
|
|
|
|
2: generalFailure
|
|
|
|
3: bistFailure
|
|
|
|
4: fanFailure
|
|
|
|
5: tempFailure
|
|
|
|
6: interlockOpen
|
|
|
|
7: epromFailed
|
|
|
|
8: vrefFailed
|
|
|
|
9: dacFailed
|
|
|
|
10: ramTestFailed
|
|
|
|
11: voltageChannelFailed
|
|
|
|
12: orringdiodeFailed
|
|
|
|
13: brownOut
|
|
|
|
14: giveupOnStartup
|
|
|
|
15: nvramInvalid
|
|
|
|
16: calibrationTableInvalid
|
|
|
|
17: noPowerInput
|
|
|
|
- name: cpqSm2CntlrInterfaceStatus
|
|
|
|
oid: 1.3.6.1.4.1.232.9.2.2.17
|
2022-01-01 11:59:23 +01:00
|
|
|
type: EnumAsStateSet
|
2021-12-31 18:31:58 +01:00
|
|
|
help: Remote Insight/ Integrated Lights-Out Interface Status - 1.3.6.1.4.1.232.9.2.2.17
|
|
|
|
enum_values:
|
|
|
|
1: other
|
|
|
|
2: ok
|
|
|
|
3: notResponding
|
|
|
|
- name: cpqSm2CntlriLOSecurityOverrideSwitchState
|
|
|
|
oid: 1.3.6.1.4.1.232.9.2.2.27
|
2022-01-01 11:59:23 +01:00
|
|
|
type: EnumAsStateSet
|
2021-12-31 18:31:58 +01:00
|
|
|
help: Integrated Lights-Out Security Override Switch State - 1.3.6.1.4.1.232.9.2.2.27
|
|
|
|
enum_values:
|
|
|
|
1: notSupported
|
|
|
|
2: set
|
|
|
|
3: notSet
|
|
|
|
- name: cpqSm2CntlrLicenseActive
|
|
|
|
oid: 1.3.6.1.4.1.232.9.2.2.30
|
2022-01-01 11:59:23 +01:00
|
|
|
type: EnumAsStateSet
|
2021-12-31 18:31:58 +01:00
|
|
|
help: Remote Insight License State - 1.3.6.1.4.1.232.9.2.2.30
|
|
|
|
enum_values:
|
|
|
|
1: none
|
|
|
|
2: iloAdvanced
|
|
|
|
3: iloLight
|
|
|
|
4: iloAdvancedBlade
|
|
|
|
5: iloStandard
|
|
|
|
6: iloEssentials
|
|
|
|
7: iloScaleOut
|
|
|
|
8: iloAdvancedPremiumSecurity
|
|
|
|
- name: cpqSm2CntlrServerPowerState
|
|
|
|
oid: 1.3.6.1.4.1.232.9.2.2.32
|
2022-01-01 11:59:23 +01:00
|
|
|
type: EnumAsStateSet
|
2021-12-31 18:31:58 +01:00
|
|
|
help: The current power state for the server - 1.3.6.1.4.1.232.9.2.2.32
|
|
|
|
enum_values:
|
|
|
|
1: unknown
|
|
|
|
2: poweredOff
|
|
|
|
3: poweredOn
|
|
|
|
4: insufficientPowerOrPowerOnDenied
|
|
|
|
version: 3
|
2022-01-01 16:45:32 +01:00
|
|
|
# Reduce timeout to retry faster
|
|
|
|
timeout: 1s
|
2021-12-31 18:31:58 +01:00
|
|
|
auth:
|
|
|
|
security_level: authPriv
|
|
|
|
username: {{ snmp_ilo_user }}
|
|
|
|
password: {{ snmp_ilo_auth }}
|
|
|
|
auth_protocol: SHA
|
|
|
|
priv_protocol: AES
|
|
|
|
priv_password: {{ snmp_ilo_priv }}
|
|
|
|
|
2021-03-06 00:55:27 +01:00
|
|
|
...
|