Is InfluxDB OSS Metric scrapper devoted only to the cloud version? I installed that scrapper (from community templates) on my Ubuntu server but it doesn’t bring me any data to my dashboard.
ARe you using?
This should work for OSS.
It looks like maybe your telegraf configuration isn’t set up properly?
You will need to configure the following ENV variables for your Telegraf config to run:
- INFLUX_URL: This is the url for your cloud account such as https://us-west-2-1.aws.cloud2.influxdata.com
- INFLUX_ORG: This is your organization name for your InfluxDB Cloud account.
- INFLUX_TOKEN: This is a token that Telegraf would use to fetch the remote config from your InfluxDB Cloud account and write data to the
oss_metricsbucket. If you are just getting started, the easiest way is to just use an All Access token generated from the UI.
I don’t have a cloud version. I have the Influxdb 2.x installed on my Ubuntu server (actually the latest LTS version) on RPi 4 machine. So, will it run in my environment? The variables pointed out by you are in my environment.
In the former version (a year ago) it worked fine.
PS. I have the latest versions of Telegraf and the InfluxDb installed on my machine.
@marekpow as @Anaisdg wrote, this will work on your Ubuntu server. However, the template is only the database side of things, you now need something to fill your database. We provide a program named Telegraf to do exactly this, collect the data on your systems and send it to your InfluxDB (on your Raspi).
So you also need Telegraf installed, configured (this is done via the template) and running…