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
Create graphs from csv file
Re: Create graphs from csv file
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.
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
Re: Create graphs from csv file
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
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
Re: Create graphs from csv file
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
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.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.
Former Nagios Employee
Re: Create graphs from csv file
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
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