11/12/2022 0 Comments Ntopng purge data![]() Once the setup is up and running – you need to create a database. A quick look at Xenial suggests they’re still on version 2.6 !! version 4.4 or better Grafana) running on the likes of Orange Pi Zero, NanoPi Neo, M3 etc… that would be nice. Now, while Antonio and I have managed to get this running on Stretch for the Pi2 and Pi3 I (after updating “the script” to work with Stretch) – would love to hear details of working up to date (i.e. As new points are added for previously unused sets – they just become available in Grafana for you to use, via drop-down menus. A key point here is the ease of adding data. Well, that’s what my setup looks like – yours may end up looking completely different. So having introduced the subject – what does Grafana look like in action? It runs from any modern browser – I use Chrome – and looks like this. I usually use a function to copy the more familiar msg.topic into msg.measurement – that makes life even easier as you can send incoming MQTT data straight to the database for use by Grafana. You don’t need to worry about time and creating records or tables etc.įor Node-Red there is a node in which you simply send two items – msg.payload – which is the value you want to graph – and msg.measurement which is the name of the series. Ntopng purge data series#I’m not saying InfluxDB is great – but it DOES make life easy when working with Grafana because it uses Time Series data – in which all you send is a data series name – and a current value – that’s it… the rest is done in the background. Grafana can work with a variety of databases – but works well alongside InfluxDB. I worked originally with MYSQL and various graphing packages that ran on Debian but there was never a simple to use system until Grafana came by. I’ve never been that happy with this though I did write a node to work with one of the providers – but I’ve always preferred the idea of keeping the data locally. There are many such services where you can send your Raspberry Pi or simply data, which may be from a variety of sources to a service – sometimes free, sometimes not – to log and display your data. Back in the dim and distant past, people were happy with simply line graphs and horrible fonts to display data until along came a number of services to produce pretty information which was easy to generate. Ntopng purge data install#However, reader Antonio and I have been working on this and we have an install for the latest Grafana with Influx.īut firstly let’s discuss what this is all about. At the time the install was not that easy – and when along came STRETCH for the Raspberry Pi (2 and 3) it got worse. Some time ago I wrote a blog entry about garden sensors inside of which was buried some information about using Grafana and InfluxDB. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |