]>
Commit | Line | Data |
---|---|---|
20effc67 TL |
1 | Feature: Hosts Overview Dashboard |
2 | ||
3 | Scenario: "Test network load succeeds" | |
4 | Given the following series: | |
5 | | metrics | values | | |
6 | | node_network_receive_bytes{instance="127.0.0.1", device="eth1"} | 10 100 | | |
7 | | node_network_receive_bytes{instance="127.0.0.1", device="eth2"} | 10 100 | | |
8 | | node_network_transmit_bytes{instance="127.0.0.1", device="eth1"} | 10 100 | | |
9 | | node_network_transmit_bytes{instance="127.0.0.1", device="eth2"} | 10 100 | | |
10 | When variable `osd_hosts` is `127.0.0.1` | |
11 | Then Grafana panel `Network Load` with legend `EMPTY` shows: | |
12 | | metrics | values | | |
13 | | {} | 6 | | |
14 | ||
15 | Scenario: "Test network load with bonding succeeds" | |
16 | Given the following series: | |
17 | | metrics | values | | |
18 | | node_network_receive_bytes{instance="127.0.0.1", device="eth1"} | 10 100 200 | | |
19 | | node_network_receive_bytes{instance="127.0.0.1", device="eth2"} | 10 100 200 | | |
20 | | node_network_transmit_bytes{instance="127.0.0.1", device="eth1"} | 10 100 200 | | |
21 | | node_network_transmit_bytes{instance="127.0.0.1", device="eth2"} | 10 100 200 | | |
22 | | node_network_transmit_bytes{instance="127.0.0.1", device="bond0"} | 20 200 300 | | |
23 | | node_network_transmit_bytes{instance="127.0.0.1", device="bond0"} | 20 200 300 | | |
24 | | bonding_slaves{instance="127.0.0.1", master="bond0"} | 2 | | |
25 | When variable `osd_hosts` is `127.0.0.1` | |
26 | Then Grafana panel `Network Load` with legend `EMPTY` shows: | |
27 | | metrics | values | | |
28 | | {} | 6 | | |
29 | ||
30 | Scenario: "Test AVG Disk Utilization" | |
31 | Given the following series: | |
32 | | metrics | values | | |
33 | | node_disk_io_time_seconds_total{device="sda",instance="localhost:9100"} | 10+60x1 | | |
34 | | node_disk_io_time_seconds_total{device="sdb",instance="localhost:9100"} | 10+60x1 | | |
35 | | node_disk_io_time_seconds_total{device="sdc",instance="localhost:9100"} | 10 2000 | | |
36 | | ceph_disk_occupation_human{ceph_daemon="osd.0",device="sda",instance="localhost:9283"} | 1.0 | | |
37 | | ceph_disk_occupation_human{ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | | |
38 | When variable `osd_hosts` is `localhost` | |
39 | Then Grafana panel `AVG Disk Utilization` with legend `EMPTY` shows: | |
40 | | metrics | values | | |
41 | | {} | 100 | |