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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
<!DOCTYPE html>
<html lang="en" class="h-100">
<!--
Copyright (C) 2018-2020 Arthur de Jong
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
-->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content="Arthur de Jong">
<title>Graphs</title>
<link rel="apple-touch-icon" href="apple-touch-icon.png" sizes="180x180">
<link rel="icon" href="favicon-32x32.png" sizes="32x32" type="image/png">
<link rel="icon" href="favicon-16x16.png" sizes="16x16" type="image/png">
<link rel="icon" href="favicon.ico">
</head>
<body class="d-flex flex-column h-100">
<nav class="navbar navbar-expand-md navbar-light bg-light fixed-top">
<span class="navbar-brand">
<img src="logo.png" width="50" height="30" class="d-inline-block align-top" alt="munin-plot">
munin-plot
</span>
<div class="btn-group d-none">
<button class="btn btn-outline-secondary" type="button" id="clearGraphs" title="Close all graphs">
<i class="fa fa-eraser"></i>
</button>
<div class="btn-group" id="dashboards">
<button class="btn btn-outline-secondary dropdown-toggle" type="button" data-toggle="dropdown">
<i class="fa fa-tachometer-alt"></i>
<span>Dashboards</span>
</button>
<div class="dropdown-menu"></div>
</div>
</div>
<div id="reportrange" class="dropdown-toggle btn btn-outline-secondary ml-auto d-none">
<span></span>
<i class="fa fa-calendar"></i>
</div>
</nav>
<div class="container-fluid">
<div class="row loadingrow"><div class="col-sm-2"></div><div class="col-sm-8"><div class="loading"></div><h3>LOADING</h3></div></div>
<div class="row">
<div class="col-md-12">
<ul id="draggablelist" class="list-unstyled">
</ul>
<!-- template use for generating new graphs -->
<ul id="template">
<li class="card">
<div class="card-leftheader text-secondary">
<span class="draghandle" title="drag to re-order"><i class="fa fa-arrows-alt"></i></span>
<span class="sizesm sizeactive" title="small graph"></span>
<span class="sizemd" title="medium graph"></span>
<span class="sizelg" title="large graph"></span>
<span class="closegraph" title="close"><i class="fa fa-window-close"></i></span>
</div>
<div class="card-rightbody">
<div class="container-fluid">
<div class="row graphtitle small"></div>
<div class="row">
<div class="myplot col col-sm-8">
<div class="loading loading-small"></div>
</div>
<div class="mylegend col col-sm-4">
<table class="table table-sm table-hover">
<thead>
<th colspan="2">data</th>
<th>min</th>
<th>avg</th>
<th>max</th>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="row addgraph">
<div class="col col-sm-1">
<button class="btn btn-success" type="button" data-toggle="collapse" data-target="#addgraph" aria-expanded="false" aria-controls="addgraph"><i class="fa fa-plus"></i></button>
</div>
<div class="col col-sm-8">
<div class="collapse" id="addgraph">
<div class="card card-body">
<div class="row">
<div class="col col-md-12">
<div class="input-group input-group-sm">
<div class="input-group-prepend">
<label for="graphfilter" class="input-group-text"><i class="fa fa-search"></i></label>
</div>
<input id="graphfilter" class="form-control"></input>
<select id="hostselect" class="form-control">
<option value="">All hosts</option>
</select>
<select id="categoryselect" class="form-control">
<option value="">All categories</option>
</select>
</div>
</div>
</div>
<div class="row">
<div class="col col-md-12">
<div id="graphselect" class="list-group">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="footer mt-auto py-2 bg-light">
<div class="container">
<small class="text-muted">Generated with <a href="https://arthurdejong.org/munin-plot/">munin-plot</a>.</small>
</div>
</footer>
</body>
</html>
|