Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Help to configure Collectd
« previous
next »
Print
Pages:
1
2
[
3
]
Author
Topic: Help to configure Collectd (Read 5206 times)
Patrick M. Hausen
Hero Member
Posts: 6826
Karma: 573
Re: Help to configure Collectd
«
Reply #30 on:
April 04, 2023, 10:00:47 am »
Haven't found the time yet. You need to learn Grafana and InfluxQL if you want to create dashboards.
If you want to use a complete dashboard you downloaded from some source you need to ask the author which time series database (Influx, Graphite, ...) they are using and how their template is set up.
Grafana is not a one stop solution.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Dexter_23
Jr. Member
Posts: 50
Karma: 0
Re: Help to configure Collectd
«
Reply #31 on:
April 04, 2023, 10:26:40 am »
Ok but in my case what type of dashboard i need for my scenario?
InfluxDB o Graphite?
Logged
Patrick M. Hausen
Hero Member
Posts: 6826
Karma: 573
Re: Help to configure Collectd
«
Reply #32 on:
April 04, 2023, 10:42:24 am »
Influx since you are using Influx as the time series database.
But then this depends on the template. Dashboards are in no way "standardised". What exactly do you want to achieve in the end?
Collectd just sends a series of entries to the time series database. They are structured like this:
servers.foo.bar.baz.quux <measurement> <timestamp>
The template in the influxdb config says that each line starts with the literal "servers" and that the following fields are named "hostname", "resource" and "instance" respectively.
You can then reference these fiels in Grafana like in my screenshot.
"Select the field value of gauge.system" from the default data source (InfluxDB) where the hostname matches the host selected by the user, the instance is named "cpu-average" and the resource is named "aggregation". You get these things from the "show series" output in Influx. That shows you all that is available.
Again, there is no one stop dashboard. If you name the field "foo" instead of "instance", you must use "foo" in Grafana - it's all sort of like "programming".
You probably might want to start some reading on Grafana. There's a Grafana forum, too.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Dexter_23
Jr. Member
Posts: 50
Karma: 0
Re: Help to configure Collectd
«
Reply #33 on:
April 04, 2023, 02:37:45 pm »
i don't have thies field like your screenshoot i think...
Logged
Print
Pages:
1
2
[
3
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Help to configure Collectd