News for hackers. Stuff that matters.
Re:Systems Monitoring with Prometheus and Grafana by dewey on Wednesday August 12, 2020 @07:21AM (#24130839)
You could self host it.
Re:Systems Monitoring with Prometheus and Grafana by abhishekjha on Wednesday August 12, 2020 @09:21AM (#24131786)
Can I self host for monitoring cluster of servers? Currently I have grafana installed on each of my servers and I am having to monitor them individually. I want a centralised dashboard over telegraf + influxdb.
Re:Systems Monitoring with Prometheus and Grafana by detaro on Wednesday August 12, 2020 @09:22AM (#24131799)
Why would you install Grafana + Influx on each server instead of one central one?
Re:Systems Monitoring with Prometheus and Grafana by abhishekjha on Wednesday August 12, 2020 @09:51AM (#24132066)
I haven't spent much time on this but most of the docs were for setting it up on each hosts. Is there a proper tutorial for clusters?

Also I wanted to keep the monitoring unaffected for other servers if one of them go down. If I setup a central server for monitoring then that becomes a single point of failure.

Re:Systems Monitoring with Prometheus and Grafana by heliodor on Wednesday August 12, 2020 @05:54PM (#24137462)
Grafana is meant to run as a single instance. For monitoring multiple servers, you need to get the metrics into one data store, from which Grafana will read. That's Prometheus' job. These pieces should not be on the same servers that run your product. For HA, you can run two or more Prometheuses as duplicates, so you can switch to another one if the main one is down.
Re:Systems Monitoring with Prometheus and Grafana by abhishekjha on Wednesday August 12, 2020 @08:38PM (#24138794)
Would the one datasource have a single database with several tables, one for each server? Lets say I am monitoring mysql. Currently I have a `mysql` table in a databse named `telegraf` on each host. Can I combine multiple influx datasources into a single dashboard beacause that would be easiler right now for my current setup?
Re:Systems Monitoring with Prometheus and Grafana by heliodor on Thursday August 13, 2020 @07:07AM (#24142040)
You handle multiple servers by tagging your metrics with the server id or name. No need to create a table per server.

Each panel in a dashboard points to a specific data source, so you can have multiple data sources in one dashboard.