summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuana Mincu <luana.mincu@enea.com>2021-02-15 18:35:24 +0200
committerMiruna Paun <mrpa@enea.se>2021-02-17 14:35:52 +0100
commit4e49c2c2fd68c56f054facddea608dc1a3c3935f (patch)
tree5addae1887c51c2db410b6e477bd266587e239a4
parente98d2c526c0914655c2b733284d373536b8d3d4e (diff)
downloadnfv-access-documentation-4e49c2c2fd68c56f054facddea608dc1a3c3935f.tar.gz
ELCCR-1312: Grafana documentation updates
Change-Id: I776b25bff931e2cae042f47c81b9333ab6460e88
-rw-r--r--doc/book-enea-nfv-access-getting-started/doc/book.xml3
-rw-r--r--doc/book-enea-nfv-access-getting-started/doc/grafana.xml183
-rw-r--r--doc/book-enea-nfv-access-getting-started/doc/images/telemetry_settings.pngbin0 -> 28459 bytes
-rw-r--r--doc/book-enea-nfv-access-getting-started/doc/images/telemetry_start.pngbin0 -> 13522 bytes
4 files changed, 186 insertions, 0 deletions
diff --git a/doc/book-enea-nfv-access-getting-started/doc/book.xml b/doc/book-enea-nfv-access-getting-started/doc/book.xml
index d148f3b..fa3fc4f 100644
--- a/doc/book-enea-nfv-access-getting-started/doc/book.xml
+++ b/doc/book-enea-nfv-access-getting-started/doc/book.xml
@@ -36,6 +36,9 @@
36 <xi:include href="log_collector.xml" 36 <xi:include href="log_collector.xml"
37 xmlns:xi="http://www.w3.org/2001/XInclude" /> 37 xmlns:xi="http://www.w3.org/2001/XInclude" />
38 38
39 <xi:include href="grafana.xml"
40 xmlns:xi="http://www.w3.org/2001/XInclude" />
41
39 <xi:include href="troubleshooting.xml" 42 <xi:include href="troubleshooting.xml"
40 xmlns:xi="http://www.w3.org/2001/XInclude" /> 43 xmlns:xi="http://www.w3.org/2001/XInclude" />
41</book> 44</book>
diff --git a/doc/book-enea-nfv-access-getting-started/doc/grafana.xml b/doc/book-enea-nfv-access-getting-started/doc/grafana.xml
new file mode 100644
index 0000000..5f5aaf2
--- /dev/null
+++ b/doc/book-enea-nfv-access-getting-started/doc/grafana.xml
@@ -0,0 +1,183 @@
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<chapter id="grafana">
3 <title>Using Grafana and InfluxDB</title>
4
5 <para>InfluxDB is essentially a time series database process that runs on a
6 server, while Grafana is a visualization tool for time series data.
7 Grafana is a very lightweight server-side application, and most of the
8 monitoring runs in a browser.</para>
9
10 <section id="grafana_settings">
11 <title>Setting Grafana and InfluxDB parameters</title>
12
13 <para>Customizing InfluxDB and Grafana parameters can be done by selecting
14 <emphasis role="bold">System</emphasis>, then the <emphasis role="bold">Configuration</emphasis>
15 menu, accessing the <emphasis role="bold">Properties</emphasis> tab, and clicking on the
16 <emphasis role="bold">Telemetry</emphasis> tab. The settings that can be changed
17 are listed in the table below:</para>
18
19 <table>
20 <title>Telemetry settings</title>
21
22 <tgroup cols="3">
23 <colspec align="left" colname="1" colwidth="1*" />
24
25 <colspec align="left" colname="2" colwidth="3*" />
26
27 <colspec align="left" colname="3" colwidth="1*" />
28
29 <tbody>
30 <row>
31 <entry><emphasis role="bold">Field name</emphasis></entry>
32
33 <entry><emphasis role="bold">Description</emphasis></entry>
34
35 <entry><emphasis role="bold">Default value</emphasis></entry>
36 </row>
37
38 <row>
39 <entry>Grafana Hostname or IP Address</entry>
40
41 <entry>The hostname or IP address where the Grafana instance is
42 installed.</entry>
43
44 <entry>no default</entry>
45 </row>
46
47 <row>
48 <entry>Grafana Port</entry>
49
50 <entry>The port Grafana uses.</entry>
51
52 <entry>3000</entry>
53 </row>
54
55 <row>
56 <entry>Grafana Dashboard</entry>
57
58 <entry>The dashboard that should be used when opening Grafana
59 using the Enea uCPE Manager.</entry>
60
61 <entry>host</entry>
62 </row>
63
64 <row>
65 <entry>InfluxDB Hostname or IP Address</entry>
66
67 <entry>The hostname or IP address where the InfluxDB database is
68 installed.</entry>
69
70 <entry>no default</entry>
71 </row>
72
73 <row>
74 <entry>InfluxDB Port</entry>
75
76 <entry>The port used for communication between InfluxDB and the
77 Telemetry server.</entry>
78
79 <entry>25826</entry>
80 </row>
81
82 <row>
83 <entry>InfluxDB Username</entry>
84
85 <entry>The username used for encrypting communication between
86 InfluxDB and the Telemetry server.</entry>
87
88 <entry>admin</entry>
89 </row>
90
91 <row>
92 <entry>InfluxDB Password</entry>
93
94 <entry>The password used for encrypting communication between
95 InfluxDB and the Telemetry server.</entry>
96
97 <entry>admin</entry>
98 </row>
99 </tbody>
100 </tgroup>
101 </table>
102
103 <para>When changing any of the settings in the <emphasis
104 role="bold">Telemetry</emphasis> tab, the Enea uCPE Manager will inform all
105 uCPE devices of the change if they have telemetry running.</para>
106
107 <figure>
108 <title>Telemetry Properties</title>
109
110 <mediaobject>
111 <imageobject>
112 <imagedata contentwidth="615"
113 fileref="images/telemetry_settings.png" />
114 </imageobject>
115 </mediaobject>
116 </figure>
117 </section>
118
119 <section id="telemetry_start_stop">
120 <title>Starting and stopping Telemetry</title>
121
122 <para>When a uCPE Device is selected, in the <emphasis
123 role="bold">Operations</emphasis> menu, the <emphasis role="bold">Start
124 Telemetry</emphasis> and <emphasis role="bold">Stop
125 Telemetry</emphasis> options are available.</para>
126
127 <para>When starting Telemetry for a uCPE device, the Enea uCPE Manager sends
128 the following information about the InfluxDB:</para>
129
130 <itemizedlist>
131 <listitem>
132 <para>The IP address and hostname where InfluxDB is installed.</para>
133 </listitem>
134
135 <listitem>
136 <para>The port used for communication between InfluxDB and the
137 Telemetry server.</para>
138 </listitem>
139
140 <listitem>
141 <para>The credentials used for encrypting communication between
142 InfluxDB and the Telemetry server.</para>
143 </listitem>
144 </itemizedlist>
145
146 <para>These fields are read-only and are populated with the values already
147 set in the <emphasis role="bold">System Configuration</emphasis>. If one of the
148 fields is not set or if it does not have the desired value, modify it in the
149 <emphasis role="bold">System Configuration</emphasis>. The password is sent
150 encrypted using the Base64 scheme.</para>
151
152 <figure>
153 <title>Telemetry Start Dialog</title>
154
155 <mediaobject>
156 <imageobject>
157 <imagedata contentwidth="615" fileref="images/telemetry_start.png" />
158 </imageobject>
159 </mediaobject>
160 </figure>
161
162 <para>When the Telemetry status is changed on a uCPE device, a notification is
163 sent to the Enea uCPE Manager. These notifications can be inspected under
164 <emphasis role="bold">Fault</emphasis> found in the
165 <emphasis role="bold">Event</emphasis> menu.</para>
166 </section>
167
168 <section id="grafana_launch">
169 <title>Launching Grafana</title>
170
171 <para>When a uCPE Device is selected, the <emphasis
172 role="bold">Telemetry</emphasis> button is available. Pressing this
173 button will open a new window pointing to Grafana. The current uCPE device will
174 be selected in Grafana.</para>
175
176 <para>The hostname or IP Address and the port of the Grafana installation
177 can be customized by selecting <emphasis role="bold">System</emphasis>, then the
178 <emphasis role="bold">Configuration</emphasis> menu, accessing the
179 <emphasis role="bold">Properties</emphasis> tab, and clicking on the
180 <emphasis role="bold">Telemetry</emphasis> tab. The default dashboard available when
181 launching Grafana can be customized as well.</para>
182 </section>
183</chapter> \ No newline at end of file
diff --git a/doc/book-enea-nfv-access-getting-started/doc/images/telemetry_settings.png b/doc/book-enea-nfv-access-getting-started/doc/images/telemetry_settings.png
new file mode 100644
index 0000000..92c0b1f
--- /dev/null
+++ b/doc/book-enea-nfv-access-getting-started/doc/images/telemetry_settings.png
Binary files differ
diff --git a/doc/book-enea-nfv-access-getting-started/doc/images/telemetry_start.png b/doc/book-enea-nfv-access-getting-started/doc/images/telemetry_start.png
new file mode 100644
index 0000000..36d3ff6
--- /dev/null
+++ b/doc/book-enea-nfv-access-getting-started/doc/images/telemetry_start.png
Binary files differ