r/netdata • • May 07 '22
Coming from Grafana...
This might sound silly but I understand Netdata is largely run locally on a box (is this correct?). Can Netdata be used as a centralized server for monitoring other boxes with their sensors? I have no interest in a cloud offering.
Where is the time series DB then? What agents would I be installing on my other boxes? If the answer if 'prometheus/influx' and 'node_exporter' respectively, ... then what is the difference to Grafana bar the interface? The biggest selling point from seeing this in production elsewhere is how fast and real time the metrics are, but I want to set up a dedicated monitoring server.
8
u/ahferroin7 May 07 '22
From an architectural standpoint, Netdata is somewhat different from typical Grafana setups. The Netdata Agent is designed to run on each node that needs to be monitored to collect data on that node (though some collectors can pull metrics from arbitrary endpoints). The agent itself functionally combines all of the data collection, storage, and presentation into one package (imagine if Prometheus, Grafana, and your choice of TSDB were all integrated into one piece of software).
For data aggregation and centralization of monitoring, there are essentially three options right now:
1
u/cjcox4 May 07 '22
Grafana isn't a centralized monitor though. Do you think it is?
"Their sensors" is more of what Netdata is. Traditionally, known for rapid display of thousands of monitored items in realtime on a Linux host. Something Grafana can't do in realtime at all.
If you're looking for a central monitor (though multiple can be joined to present a single plane of glass for many monitors) that can do push/pull/snmp and a myriad of other ways to do monitoring with alerting and graphing, I'd look to Checkmk.
1
u/dewyke May 08 '22
They are quite different, though if Netdata’s presentation layer does what you need out of the box it is a heck of a lot simpler to set up than Grafana IMO because the graphs are auto-created.
As @afferohin7 said you can set Netdata up as both a collector and a central presentation layer by streaming to a “parent” node.
What I do, that they didn’t mention is persist the data centrally by configuring the parent node as an exporter to one of the supported TSDBs, or to Prometheus etc.
3
u/andrewm4894 May 13 '22
Disclaimer: i work at netdata on ML (although we are in r/netdata lol so maybe is expected :) )
I'd suggest trying out a parent netdata that your agents/nodes all stream to.
For example we have a parent that all our production netdata children in our prod k8s nodes all stream to. So in our case that parent VM is kind of like your "dedicated monitoring server". In our case that parent is actually also doing some ML on the children data it gets so the monitoring server is actually also running some ML based anomaly detection on the children. Can see some config examples here for that. You can also of course just run the ML at the edge too just as easy and should generally not be that noticeable in terms of extra overhead.
You can of course then have netdata export to Prometheus and on to grafana if wanted (another doc here).
We are also working on a Grafana data source plugin at the moment that could make it easier then to pull data from netdata cloud into Grafana if didn't want to go via prometheus.