Hi All,
I`m working with a tool to generate a specific traffic (seagull), this tool generate a log file in .csv format. I would like monitoring and draw a graphic with a column of this file.
I was searching information about it but I only saw how export config information or similar in .csv file (otherwise).
Any idea o documentation to find information about it?
Many thanks!!
Monitoring from CSV file
Re: Monitoring from CSV file
Is it possible to do it with:
awk to catch the information and then to use perf data?
Could be a good option?
awk to catch the information and then to use perf data?
Could be a good option?
Re: Monitoring from CSV file
Maybe I am missing something, but is this a Nagios question? Nagios is used for monitoring, but it sounds like you are looking for spreadsheet visualization software. Can you provide some more detail on what you are looking to achieve?
Former Nagios employee
Re: Monitoring from CSV file
Sorry! You are right!
I want to graph this through ICINGA, Check_mk or something like that but, for do it, I need to implement something with perf_data.
My problem is, i don`t know exactly how...
I want to graph this through ICINGA, Check_mk or something like that but, for do it, I need to implement something with perf_data.
My problem is, i don`t know exactly how...
Re: Monitoring from CSV file
We don't provide support for Icinga, so if that's what you are using you will need to go to their forums.
That being said, you will likely need to write a custom plugin for this. I'm still not 100% clear on exactly what you are looking to do, but it sounds like you want to graph based off a specific field in a CSV?
That being said, you will likely need to write a custom plugin for this. I'm still not 100% clear on exactly what you are looking to do, but it sounds like you want to graph based off a specific field in a CSV?
Former Nagios employee
Re: Monitoring from CSV file
Exactly!
I wrote a plugin to get a column from csv file and to get an output with perf_data format, I was testing if it is working or not.
One quick question, is it necessary to change any part of nagios configuration to enable perf_data? I read about it but i dont have any clear on my mind.
thanks!
I wrote a plugin to get a column from csv file and to get an output with perf_data format, I was testing if it is working or not.
One quick question, is it necessary to change any part of nagios configuration to enable perf_data? I read about it but i dont have any clear on my mind.
thanks!
Re: Monitoring from CSV file
The option for processing host/service perf data is located in the nagios.cfg file (main config file):
https://assets.nagios.com/downloads/nag ... gmain.html
Make sure that your plugin is written in accordance to the Nagios Plugins Development Guidelines:
https://nagios-plugins.org/doc/guidelines.html#AEN200
Code: Select all
process_performance_data=1Make sure that your plugin is written in accordance to the Nagios Plugins Development Guidelines:
https://nagios-plugins.org/doc/guidelines.html#AEN200
Be sure to check out our Knowledgebase for helpful articles and solutions!