
4.7
Configuration Settings of Grafana
Grafana's configuration options can be specified using environment variables or the
grafana.ini
configuration
file, which is located at
/etc/grafana/
. This file contains default settings that Urika-GX ships with, and can be
modified as needed. Options in this configuration file can be overridden using environment variables.
Grafana needs to be restarted for the changes in the
grafana.ini
file to take effect. To do so, log onto login2
(login node 2), become root or use
sudo
, and then execute the following command:
#
systemctl restart grafana-server
In addition, the metrics that Grafana displays on the UI are retrieved from the
collectl.conf
file, which
specifies the list of metrics that need to be collected from each node and stored in InfluxDB. By default, a subset
of the list of collected metrics is displayed on the Grafana dashboard. Users with admin or editor privileges can
create/modify dashboards to update the default list of displayed metrics if needed. The
collectl.conf
configuration file contains instructions for making such updates.
4.8
Change the Default Timezone Displayed on Grafana
Prerequisites
This procedure requires root privileges. Before performing this procedure, use the
urika-state
command to
ensure that the system is operating in the service mode that supports using Grafana. For more information, see
the
urika-state
man page and refer to
on page 177.
About this task
Urika-GX ships with UTC as the default timezone displayed on the Grafana UI. This procedure can be used to
change the timezone for newly created dashboards or copies of the predefined dashboards shipped with the
system.
NOTE: The timezone for the default set of Dashboards shipped with the system cannot be changed.
Since the time displayed on the Grafana UI uses the browser's timezone and that displayed on the Spark
History server's UI uses the Urika-GX system's timezone, the timezones displayed on the two UIs may
not be the same.
Procedure
1. Access the Grafana UI using the Urika-GX Applications Interface by pointing a browser at
http://
hostname
-login1
(which is the recommended way of access) or at http://
hostname
-login2
:3000
.
2. Log on to Grafana as an admin.
System Monitoring
S3016
93