Commit fee352aa authored by Sebastien Philippot's avatar Sebastien Philippot

[rennes] fix parasilo-pdu-1 sensors: _array required by rake valid:schema and...

[rennes] fix parasilo-pdu-1 sensors: _array required by rake valid:schema and paravance-[1-2] description
parent 7fc4e546
Pipeline #55708 passed with stages
in 1 minute and 31 seconds
......@@ -272,4 +272,4 @@
},
"type": "node",
"uid": "parasilo-16"
}
}
\ No newline at end of file
......@@ -185,13 +185,7 @@
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"port": 6,
"uid": "parasilo-pdu-1"
}
]
}
}
}
},
......
......@@ -185,13 +185,7 @@
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"port": 7,
"uid": "parasilo-pdu-1"
}
]
}
}
}
},
......
{
"ip": "172.17.97.201",
"model": "AP8659",
"ports": {
"6": "paravance-1",
"7": "paravance-2"
},
"sensors": [
{
"power": {
"per_outlets": false,
"resolution": 1,
"snmp": {
"available": true,
"outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7",
"total_oids": [
"iso.3.6.1.4.1.318.1.1.12.1.16.0"
],
"unit": "W"
}
}
}
],
"type": "pdu",
"uid": "parasilo-pdu-1"
"uid": "parasilo-pdu-1",
"vendor": "APC"
}
\ No newline at end of file
---
nodes:
paravance-1:
pdu:
- uid: parasilo-pdu-1
port: 6
paravance-2:
pdu:
- uid: parasilo-pdu-1
port: 7
# paravance-1:
# pdu:
# - uid: parasilo-pdu-1
# port: 6
# paravance-2:
# pdu:
# - uid: parasilo-pdu-1
# port: 7
paravance-3:
pdu:
- uid: paravance-pdu-2
......
......@@ -42,8 +42,19 @@ pdus:
outlet_prefix_oid: iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7
resolution: 1
parasilo-pdu-1:
parasilo-pdu-[1-1]:
vendor: APC
model: AP8659
sensors:
- power:
per_outlets: false
snmp:
available: true
total_oids:
- iso.3.6.1.4.1.318.1.1.12.1.16.0
unit: W
outlet_prefix_oid: iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7
resolution: 1
parasilo-pdu-[2-4]:
vendor: APC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment