Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Grafana panel help needed

Hi
I have been using grafana to keep eye on load averages and disk usage without learning promql. But now I need a way to collect total bandwidth usage by month and days.
What would be the best way to do it ?
Can we achieve alone with default "node exporter" ?
I also see that we can use telegraf exec and export vnstat data

[[inputs.exec]]
  commands = [
    "/usr/bin/vnstat -i eth0 -tr --short --json",
    "/usr/bin/vnstat -i tun0 -tr --short --json"
    ]
  timeout = "10s"
  name_suffix = "_vnstat"
  data_format = "json"
  json_name_key="vnstat"
  tag_keys= ["interface"]

Or can use telegraf [net data plugin] (https://github.com/influxdata/telegraf/blob/master/plugins/inputs/net/README.md)

[[inputs.net]]
  interfaces = ["eth*", "enp0s[0-1]", "lo"]
  ##

In the end of the day, want to keep metrics collected to minimum as just total bandwidth used days wise and atleast for last 3 months.

Any help would be appreciated.

Comments

  • I hope I am not asking something which is very complicated ?

  • You are indeed asking something that is more in the category of devops , software development or data science. I'm a developer myself but haven't played with grafana.

    Searched around and I think I found your post in grafana. Try asking chatgpt .

  • Fair enough, still playing with it, I am close though.

Sign In or Register to comment.