Storing Time series in a DB instead RRD

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
oliveratom
Posts: 2
Joined: Thu Jan 12, 2023 1:14 pm

Storing Time series in a DB instead RRD

Post by oliveratom »

Hello everyone,
I´m new at the forum and an old and rusty user of cacti, its been a while since I don't use it.
I'm now trying to implement it for monitoring infrastructure, and I would like to know if there is a way to store all the Time series values, collected from the network devices into a DB could be general purpose like MySQL or noSQL like MongoDB, then I will use a JS library to query the values and represent them graphically. In summary I will be using collectors and the framework of cacti but not using the data persistence with RRD. Do you think it is possible? If there is any article or topic in this forum I will be very glad if anyone can post it in the answers
Thanks in advance for your help
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Storing Time series in a DB instead RRD

Post by phalek »

Hi

Yes, you actually can do this with the CereusTransporter plugin I wrote.

It currently doesn't support MongoDB, but it does support Boson, InfluxDB1, InfluxDB2 and OpenTSB,

I am testing it against InfluxDB so I know it works (See screenshots attached)

The version supporting InfluxDB2 is about to be released within the next days.

You can actually disable the rrd updates on Cacti, so it only feeds the noSQL databases ....

Checkout this post here: https://www.urban-software.com/2023/01/ ... influxdb2/

Or follow me on LinkedIn for some news: https://www.linkedin.com/in/thomasurban/
Attachments
Cacti_LoadAverage.png
Cacti_LoadAverage.png (117.02 KiB) Viewed 206 times
InfluxDB2_LoadAverage.png
InfluxDB2_LoadAverage.png (329.48 KiB) Viewed 206 times
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Storing Time series in a DB instead RRD

Post by TheWitness »

Believe it or not, I still prefer Cacti's UI, but love Grafana's dash-boarding and graphs creation interface. As one of the primary authors of Cacti, I'm glad to see such a nice dash-boarding interface such as Grafana's.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
oliveratom
Posts: 2
Joined: Thu Jan 12, 2023 1:14 pm

Re: Storing Time series in a DB instead RRD

Post by oliveratom »

Thank you Phalek,
I will certainly take a look into it. It looks promising.


Best Regards.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest