Create graphs from csv file

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Create graphs from csv file

Post by peter19x »

Hello,

I am still exploring Nagios XI features and I was wondering If the below can be done.

Send a CSV File to nagios, nagios receives it and transform it into a graph or multiple graphs ?

Is there anyway to accomplish that?

Thanks,
Peter
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Create graphs from csv file

Post by rkennedy »

Just to clarify, are you looking to monitor a CSV file some how?

The reason I ask is because I'm a bit confused here. What you're describing sounds more like you need a graphing software.
Former Nagios Employee
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: Create graphs from csv file

Post by peter19x »

Hello,

Thank you for replying.

What I have is a server that generates a table in a CSV format every 5 min for example. I am looking for a way on Nagios XI to receive those CSV files every 5 minutes and add them together to form a live graph.

What I thought of doing is creating a script that extract the data I need from the CSV file and send them to a check_command performance data. But before digging into this solution I was wondering if there is an add-on in Nagios XI that can do such a thing.

Thanks,
Peter
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Create graphs from csv file

Post by rkennedy »

Off the top of my head, I don't know of a plugin that would do this. Check out our exchange - you might be able to find one there. https://exchange.nagios.org
What I thought of doing is creating a script that extract the data I need from the CSV file and send them to a check_command performance data. But before digging into this solution I was wondering if there is an add-on in Nagios XI that can do such a thing.
I don't see a reason why this wouldn't work though. By pulling data from the CSV, and assigning it to a value / variable - it should end up graphing fine once you present it in the performance data. It sounds very useful for those applications that will export as CSV.
Former Nagios Employee
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: Create graphs from csv file

Post by peter19x »

Hello,

Apologies for the late reply. I have forgotten this post.

I have created a script that takes all values from the CSV file and send them as perfdata with passive checks. This was the most straightforward solution for me.

I am fine with closing this post.

Many Thanks,
Peter
Locked