Convert .CSV file into Graphs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajthegladiator
Posts: 10
Joined: Tue Jan 15, 2013 9:50 am

Convert .CSV file into Graphs

Post by rajthegladiator »

HI,


SDC (static data collector) is the application that collects the data from OLT in saves into
csv format, We need to present the data in NagoisXi in graphical format by using SDC output.

can we create the Graph from that .CSV file.



After every 10 min the data will be generated from OLT and will be saved in the .CSV file and simultaneously the graph should generate it.

just want to know that whether it is possible to do it or we have to write script for the same.

______________________________________________________________________________________________________________________________________________

We also want to know whether we can create a backup of configuration details of a particular devices (OLT,Swiches,Firewall,etc)

is there any plugin or add on for the same or we need to write a script.






Thanks
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Convert .CSV file into Graphs

Post by abrist »

You may want to look at google charts or highcharts. Google charts only supports JSON, but a small jquery addon can convert csv to json. We use highcharts in XI for the graph explorer, though we are not parsing csv. I found a good blog post concerning these options:
http://liewdaryl.wordpress.com/2012/10/ ... ta-source/
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
WilsonJohn
Posts: 1
Joined: Wed Nov 27, 2013 12:20 am

Re: Convert .CSV file into Graphs

Post by WilsonJohn »

For converting .CSV file into graphs you can use a charting software koolchart which uses javascript charts for doing this.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Convert .CSV file into Graphs

Post by scottwilkerson »

rajthegladiator wrote:...
We also want to know whether we can create a backup of configuration details of a particular devices (OLT,Swiches,Firewall,etc)
...
for a single devices configuration, this would be as simple as grabbing the config files from

Code: Select all

/usr/local/nagios/etc/hosts/<HOSTNAME>.cfg
/usr/local/nagios/etc/services/<HOSTNAME>.cfg
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked