Commit b96be8a3 authored by Pascal Morillon's avatar Pascal Morillon

[admin] Rennes - fixes sensors

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