...
Code Block |
---|
sudo service influxdb start |
Configuration
Database
...
Creation
We use the database called "inspectit". You do not have to create it as the CMR monitoring will create the database if it is not available.
Disable
...
Reporting
As of version 0.7.1, InfluxDB reports anonymous data once every 24 hours to m.influxdb.com. To minimize our bandwidth usage, we will disable this reporting. Find the file /etc/influxdb/influxdb.conf. Change the property reporting-disabled to true.
Code Block |
---|
reporting-disabled = true |
...
Admin
...
For security reasons you should also change the admin user. The default user is root / root. In addition it is advised that you create a seperate user for inspectit, that does not have admin right. Navigate to your influxDB instance (http://[yourserver]:8083) and create a new non-admin user with:
Code Block |
---|
CREATE USER <username> WITH PASSWORD '<password>' |
...
Web-Interface
InfluxDB provides an admin web-interface which is disabled by default. It can be enabled by setting the following configuration parameter:
Code Block |
---|
[admin]
https-enabled = true |
Enable Authentication
By default, InfluxDB allows full access to the system for all (anonymous) users.
The process of enabling the authentication can be found in the official InfluxDB documentation: https://docs.influxdata.com/influxdb/v1.0/query_language/authentication_and_authorization/#set-up-authentication
Verify the installation
On a successful start, the service manager script will provide the following output.
...