Commit d33023a2 authored by PARISOT Clement's avatar PARISOT Clement

[nancy] pdu, network - Add resolution to sensors

parent 7dd60f0d
...@@ -1165,6 +1165,12 @@ ...@@ -1165,6 +1165,12 @@
"mtu": 9220, "mtu": 9220,
"routes": { "routes": {
}, },
"sensors": {
"network": {
"available": true,
"resolution": 10
}
},
"site": "nancy", "site": "nancy",
"snmp_community": "public", "snmp_community": "public",
"type": "network_equipment", "type": "network_equipment",
......
...@@ -68,6 +68,11 @@ ...@@ -68,6 +68,11 @@
"model": "Infiniband", "model": "Infiniband",
"routes": { "routes": {
}, },
"sensors": {
"network": {
"available": false
}
},
"site": "nancy", "site": "nancy",
"snmp_community": "public", "snmp_community": "public",
"type": "network_equipment", "type": "network_equipment",
......
...@@ -155,6 +155,12 @@ ...@@ -155,6 +155,12 @@
"mtu": 9216, "mtu": 9216,
"routes": { "routes": {
}, },
"sensors": {
"network": {
"available": true,
"resolution": 1
}
},
"site": "nancy", "site": "nancy",
"snmp_community": "public", "snmp_community": "public",
"type": "network_equipment", "type": "network_equipment",
......
...@@ -141,6 +141,12 @@ ...@@ -141,6 +141,12 @@
"mtu": 9216, "mtu": 9216,
"routes": { "routes": {
}, },
"sensors": {
"network": {
"available": true,
"resolution": 1
}
},
"site": "nancy", "site": "nancy",
"snmp_community": "public", "snmp_community": "public",
"type": "network_equipment", "type": "network_equipment",
......
...@@ -126,6 +126,12 @@ ...@@ -126,6 +126,12 @@
"mtu": 9216, "mtu": 9216,
"routes": { "routes": {
}, },
"sensors": {
"network": {
"available": true,
"resolution": 1
}
},
"site": "nancy", "site": "nancy",
"snmp_community": "public", "snmp_community": "public",
"type": "network_equipment", "type": "network_equipment",
......
...@@ -154,6 +154,12 @@ ...@@ -154,6 +154,12 @@
"mtu": 9216, "mtu": 9216,
"routes": { "routes": {
}, },
"sensors": {
"network": {
"available": true,
"resolution": 1
}
},
"site": "nancy", "site": "nancy",
"snmp_community": "public", "snmp_community": "public",
"type": "network_equipment", "type": "network_equipment",
......
...@@ -68,6 +68,11 @@ ...@@ -68,6 +68,11 @@
"model": "Infiniband", "model": "Infiniband",
"routes": { "routes": {
}, },
"sensors": {
"network": {
"available": false
}
},
"site": "nancy", "site": "nancy",
"snmp_community": "public", "snmp_community": "public",
"type": "network_equipment", "type": "network_equipment",
......
...@@ -183,6 +183,12 @@ ...@@ -183,6 +183,12 @@
"mtu": 9220, "mtu": 9220,
"routes": { "routes": {
}, },
"sensors": {
"network": {
"available": true,
"resolution": 1
}
},
"site": "nancy", "site": "nancy",
"snmp_community": "public", "snmp_community": "public",
"type": "network_equipment", "type": "network_equipment",
......
...@@ -166,6 +166,12 @@ ...@@ -166,6 +166,12 @@
"mtu": 9216, "mtu": 9216,
"routes": { "routes": {
}, },
"sensors": {
"network": {
"available": true,
"resolution": 1
}
},
"site": "nancy", "site": "nancy",
"snmp_community": "public", "snmp_community": "public",
"type": "network_equipment", "type": "network_equipment",
......
...@@ -217,6 +217,12 @@ ...@@ -217,6 +217,12 @@
"mtu": 9216, "mtu": 9216,
"routes": { "routes": {
}, },
"sensors": {
"network": {
"available": true,
"resolution": 1
}
},
"site": "nancy", "site": "nancy",
"snmp_community": "public", "snmp_community": "public",
"type": "network_equipment", "type": "network_equipment",
......
...@@ -200,6 +200,12 @@ ...@@ -200,6 +200,12 @@
"mtu": 9216, "mtu": 9216,
"routes": { "routes": {
}, },
"sensors": {
"network": {
"available": true,
"resolution": 1
}
},
"site": "nancy", "site": "nancy",
"snmp_community": "public", "snmp_community": "public",
"type": "network_equipment", "type": "network_equipment",
......
...@@ -196,6 +196,12 @@ ...@@ -196,6 +196,12 @@
"mtu": 9216, "mtu": 9216,
"routes": { "routes": {
}, },
"sensors": {
"network": {
"available": true,
"resolution": 1
}
},
"site": "nancy", "site": "nancy",
"snmp_community": "public", "snmp_community": "public",
"type": "network_equipment", "type": "network_equipment",
......
...@@ -151,6 +151,12 @@ ...@@ -151,6 +151,12 @@
"mtu": 9216, "mtu": 9216,
"routes": { "routes": {
}, },
"sensors": {
"network": {
"available": true,
"resolution": 1
}
},
"site": "nancy", "site": "nancy",
"snmp_community": "public", "snmp_community": "public",
"type": "network_equipment", "type": "network_equipment",
......
{ {
"ip": "172.17.79.243",
"mac": "00:C0:B7:85:24:B7",
"model": "AP8653", "model": "AP8653",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": true, "per_outlets": true,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7",
......
{ {
"ip": "172.17.79.244",
"mac": "00:C0:B7:85:13:9C",
"model": "AP8653", "model": "AP8653",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": true, "per_outlets": true,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7",
......
{ {
"ip": "172.17.79.208",
"mac": "00:C0:B7:4D:A4:B0",
"model": "AP7953", "model": "AP7953",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": false, "per_outlets": false,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"total_oids": [ "total_oids": [
......
{ {
"ip": "172.17.79.209",
"mac": "00:C0:B7:4D:A4:A3",
"model": "AP7953", "model": "AP7953",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": false, "per_outlets": false,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"total_oids": [ "total_oids": [
......
{ {
"ip": "172.17.79.210",
"mac": "00:C0:B7:4D:A4:AA",
"model": "AP7953", "model": "AP7953",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": false, "per_outlets": false,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"total_oids": [ "total_oids": [
......
{ {
"ip": "172.17.79.211",
"mac": "00:C0:B7:4D:A4:BC",
"model": "AP7953", "model": "AP7953",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": false, "per_outlets": false,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"total_oids": [ "total_oids": [
......
{ {
"ip": "172.17.79.212",
"mac": "00:C0:B7:4D:A4:AC",
"model": "AP7953", "model": "AP7953",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": false, "per_outlets": false,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"total_oids": [ "total_oids": [
......
{ {
"ip": "172.17.79.213",
"mac": "00:C0:B7:4D:A1:87",
"model": "AP7953", "model": "AP7953",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": false, "per_outlets": false,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"total_oids": [ "total_oids": [
......
{ {
"ip": "172.17.79.214",
"mac": "00:C0:B7:4D:D7:87",
"model": "", "model": "",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": true, "per_outlets": true,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"outlet_prefix_oid": "iso.3.6.1.4.1.534.6.6.7.6.5.1.3.0", "outlet_prefix_oid": "iso.3.6.1.4.1.534.6.6.7.6.5.1.3.0",
......
{ {
"ip": "172.17.79.215",
"mac": "00:C0:B7:4D:A1:87",
"model": "", "model": "",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": true, "per_outlets": true,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"outlet_prefix_oid": "iso.3.6.1.4.1.534.6.6.7.6.5.1.3.0", "outlet_prefix_oid": "iso.3.6.1.4.1.534.6.6.7.6.5.1.3.0",
......
{ {
"ip": "172.17.79.216",
"mac": "00:C0:B7:4D:A4:B0",
"model": "AP7953", "model": "AP7953",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": false, "per_outlets": false,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"total_oids": [ "total_oids": [
......
{ {
"ip": "172.17.79.217",
"mac": "00:C0:B7:4D:A4:A3",
"model": "AP7953", "model": "AP7953",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": false, "per_outlets": false,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"total_oids": [ "total_oids": [
......
{ {
"ip": "172.17.79.245",
"mac": "00:C0:B7:85:13:93",
"model": "AP8653", "model": "AP8653",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": true, "per_outlets": true,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7",
......
{ {
"ip": "172.17.79.246",
"mac": "00:C0:B7:85:13:A4",
"model": "AP8653", "model": "AP8653",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": true, "per_outlets": true,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7",
......
{ {
"ip": "172.17.79.247",
"mac": "00:C0:B7:85:13:D9",
"model": "AP8653", "model": "AP8653",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": true, "per_outlets": true,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7",
......
{ {
"ip": "172.17.79.248",
"mac": "00:C0:B7:85:13:65",
"model": "AP8653", "model": "AP8653",
"sensors": [ "sensors": [
{ {
"power": { "power": {
"per_outlets": true, "per_outlets": true,
"resolution": 1,
"snmp": { "snmp": {
"available": true, "available": true,
"outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7",
......
...@@ -4,6 +4,10 @@ gw-nancy: ...@@ -4,6 +4,10 @@ gw-nancy:
kind: router kind: router
site: nancy site: nancy
snmp_community: public snmp_community: public
sensors:
network:
available: true
resolution: 10
mtu: 9220 mtu: 9220
vlans: vlans:
naming_pattern: Vlan%VLANID% naming_pattern: Vlan%VLANID%
......
...@@ -4,6 +4,9 @@ sgraoullyib: ...@@ -4,6 +4,9 @@ sgraoullyib:
kind: switch kind: switch
site: nancy site: nancy
snmp_community: public snmp_community: public
sensors:
network:
available: false
weathermap: weathermap: