Commit 2439d3eb authored by Jérémie Gaidamour's avatar Jérémie Gaidamour

[nancy] Fix graphite, graphique, graphene

parent c198d518
......@@ -91,6 +91,7 @@ global_hash["sites"].each do |site_uid, site|
# Write node info
cluster["nodes"].each do |node_uid, node|
pp node_uid
# pp node if node_uid == "graphique-1"
# next unless node_uid == "griffon-1"
node["uid"] = node_uid
......@@ -170,8 +171,11 @@ global_hash["sites"].each do |site_uid, site|
network_adapter["switch"] = switch if switch
network_adapter["switch_port"] = port if port
# end
}
node["sensors"] ||= {}
if node.key?("sensors") and node.key?("pdu") and node["pdu"].key?("pdu_name")
node["sensors"]["power"] = {} unless node["sensors"].key?("power")
node["sensors"]["power"]["via"] = {} unless node["sensors"]["power"].key?("via")
......
......@@ -3,7 +3,10 @@
model: "Carri System 5393"
created_at: 2011-01-20
kavlan: true
production: true
#production: true
queues:
- default
- admin
# Retired nodes
nodes:
......@@ -24,8 +27,8 @@ nodes:
virtual_size: null
operating_system:
name: debian
release: Wheezy
version: "7"
release: Jessie
version: "8.2"
kernel: 3.2.0-4-amd64
block_devices:
sda:
......@@ -47,6 +50,11 @@ nodes:
device: eth2
vendor: intel
version: 82574L
eth2:
bridged: false
device: eth2
vendor: intel
version: 82574L
ib0:
device: ib0
vendor: Mellanox
......
......@@ -68,7 +68,7 @@ graphene-1:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
processor:
......
......@@ -14,7 +14,7 @@ graphene-10:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -7,7 +7,7 @@ graphene-100:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -7,7 +7,7 @@ graphene-101:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -61,7 +61,7 @@ graphene-102:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -7,7 +7,7 @@ graphene-103:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -7,7 +7,7 @@ graphene-104:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -14,7 +14,7 @@ graphene-105:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -68,7 +68,7 @@ graphene-106:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
processor:
......
......@@ -7,7 +7,7 @@ graphene-107:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -68,7 +68,7 @@ graphene-108:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
processor:
......
......@@ -14,7 +14,7 @@ graphene-109:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -14,7 +14,7 @@ graphene-11:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -68,7 +68,7 @@ graphene-110:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
main_memory:
......
......@@ -7,7 +7,7 @@ graphene-111:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -14,7 +14,7 @@ graphene-112:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -68,7 +68,7 @@ graphene-113:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
processor:
......
......@@ -7,7 +7,7 @@ graphene-114:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -61,7 +61,7 @@ graphene-115:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -14,7 +14,7 @@ graphene-116:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -14,7 +14,7 @@ graphene-117:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -7,7 +7,7 @@ graphene-118:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -7,7 +7,7 @@ graphene-119:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -7,7 +7,7 @@ graphene-12:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -68,7 +68,7 @@ graphene-120:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
processor:
......
......@@ -68,7 +68,7 @@ graphene-121:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
processor:
......
......@@ -14,7 +14,7 @@ graphene-122:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -14,7 +14,7 @@ graphene-123:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -61,7 +61,7 @@ graphene-124:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -7,7 +7,7 @@ graphene-125:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -68,7 +68,7 @@ graphene-126:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
processor:
......
......@@ -68,7 +68,7 @@ graphene-127:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
main_memory:
......
......@@ -7,7 +7,7 @@ graphene-128:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -14,7 +14,7 @@ graphene-129:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -68,7 +68,7 @@ graphene-13:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
processor:
......
......@@ -68,7 +68,7 @@ graphene-130:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
processor:
......
......@@ -68,7 +68,7 @@ graphene-131:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
processor:
......
......@@ -7,7 +7,7 @@ graphene-132:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -68,7 +68,7 @@ graphene-133:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
main_memory:
......
......@@ -61,7 +61,7 @@ graphene-134:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -68,7 +68,7 @@ graphene-135:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
main_memory:
......
......@@ -14,7 +14,7 @@ graphene-136:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -68,7 +68,7 @@ graphene-137:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
main_memory:
......
......@@ -68,7 +68,7 @@ graphene-138:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
supported_job_types:
virtual: ivt
processor:
......
......@@ -7,7 +7,7 @@ graphene-139:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -7,7 +7,7 @@ graphene-14:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -61,7 +61,7 @@ graphene-140:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -14,7 +14,7 @@ graphene-141:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -61,7 +61,7 @@ graphene-142:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
block_devices:
sda:
model: Hitachi HDS72103
......
......@@ -7,7 +7,7 @@ graphene-143:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......
......@@ -14,7 +14,7 @@ graphene-144:
operating_system:
kernel: 3.16.0-4-amd64
name: debian
version: 8.2
version: "8.2"
network_interfaces:
ib0:
mounted: true
......