-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAsuranceturix.xml
74 lines (74 loc) · 3.09 KB
/
Asuranceturix.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<form>
<label>Tape Drive Status</label>
<description>Asuranceturix, annoying the TSM admins</description>
<row>
<panel>
<title>Drive Status TSMLIB0</title>
<table id="drive_status_lib0">
<searchString>| `drive_status("TSMLIB0")`</searchString>
<earliestTime>-24h@h</earliestTime>
<latestTime>now</latestTime>
<option name="wrap">true</option>
<option name="rowNumbers">true</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">row</option>
<option name="count">35</option>
</table>
</panel>
<panel>
<title>Drive Status TSMLIB2</title>
<table id="drive_status_lib2">
<searchString>| `drive_status("*LIB2")`</searchString>
<earliestTime>-24h@h</earliestTime>
<latestTime>now</latestTime>
<option name="wrap">true</option>
<option name="rowNumbers">true</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">row</option>
<option name="count">35</option>
</table>
</panel>
</row>
<row>
<panel>
<title>Drive Utilization TSMLIB0</title>
<input type="time" token="time1" searchWhenChanged="true">
<label/>
<default>Last 72 hours</default>
</input>
<chart>
<searchString>`tsmdb("drives")` ONLINE=YES VOLUME_NAME!="" LIBRARY_NAME=TSMLIB0 | bin span=5m _time | stats count by _time | timechart avg(count) minspan=5m</searchString>
<earliestTime>$time1.earliest$</earliestTime>
<latestTime>$time1.latest$</latestTime>
<option name="charting.chart">column</option>
<option name="charting.chart.nullValueMode">gaps</option>
<option name="charting.drilldown">all</option>
<option name="charting.legend.placement">none</option>
<option name="charting.axisTitleX.text">Time</option>
<option name="charting.axisTitleY.text">Drives</option>
<option name="charting.axisLabelsY.majorUnit">4</option>
<option name="charting.axisY.maximumNumber">24</option>
</chart>
</panel>
<panel>
<title>Drive Utilization TSMLIB2</title>
<input type="time" token="time2" searchWhenChanged="true">
<label/>
<default>Last 72 hours</default>
</input>
<chart>
<searchString>`tsmdb("drives")` ONLINE=YES VOLUME_NAME!="" LIBRARY_NAME=*LIB2 | bin span=5m _time | stats count by _time | timechart avg(count) minspan=5m</searchString>
<earliestTime>$time2.earliest$</earliestTime>
<latestTime>$time2.latest$</latestTime>
<option name="charting.chart">column</option>
<option name="charting.chart.nullValueMode">gaps</option>
<option name="charting.drilldown">all</option>
<option name="charting.legend.placement">none</option>
<option name="charting.axisTitleX.text">Time</option>
<option name="charting.axisTitleY.text">Drives</option>
<option name="charting.axisLabelsY.majorUnit">5</option>
<option name="charting.axisY.maximumNumber">30</option>
</chart>
</panel>
</row>
</form>