Commit b96be8a3 authored by Pascal Morillon's avatar Pascal Morillon
Browse files

[admin] Rennes - fixes sensors

parent 7f6ac3a7
...@@ -146,7 +146,7 @@ site :rennes do |site_uid| ...@@ -146,7 +146,7 @@ site :rennes do |site_uid|
:power => { :power => {
:available => true, :available => true,
:via => { :via => {
:pdu => { :uid => lookup('paradent_manual', node_uid, 'pdu', 'pdu_name') } :pdu => [{ :uid => lookup('paradent_manual', node_uid, 'pdu', 'pdu_name') }]
} }
}, },
:temperature => { :temperature => {
......
...@@ -167,7 +167,7 @@ site :rennes do |site_uid| ...@@ -167,7 +167,7 @@ site :rennes do |site_uid|
:power => { :power => {
:available => true, :available => true,
:via => { :via => {
:pdu => { :uid => lookup('parapide_manual', node_uid, 'pdu', 'pdu_name') }, :pdu => [{ :uid => lookup('parapide_manual', node_uid, 'pdu', 'pdu_name') }],
} }
}, },
:temperature => { :temperature => {
......
...@@ -195,10 +195,10 @@ site :rennes do |site_uid| ...@@ -195,10 +195,10 @@ site :rennes do |site_uid|
:power => { :power => {
:available => true, :available => true,
:via => { :via => {
:pdu => { :pdu => [{
:uid => lookup('parapluie_manual', node_uid, 'pdu', 'pdu_name'), :uid => lookup('parapluie_manual', node_uid, 'pdu', 'pdu_name'),
:port => lookup('parapluie_manual', node_uid, 'pdu', 'pdu_position'), :port => lookup('parapluie_manual', node_uid, 'pdu', 'pdu_position'),
}, }],
:api => { :metric => "pdu" } :api => { :metric => "pdu" }
} }
}, },
......
Supports Markdown
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