how to view graph from a single rrd file

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

how to view graph from a single rrd file

Post by zaji_nms »

Dear Expert

if there is just single rrd file either from /var/lib/mrtg/ or from /usr/local/nagios/share/perfdata , how to view its data as normal graph?

Regards
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: how to view graph from a single rrd file

Post by benjaminsmith »

Hi @zaji_nms,

Have you tried using the Graph Explorer from the home page under Graphs in Nagios XI. If there's an rrd file from a host or service with data, you can pull it up from this interface.

If you prefer to use another application for graphing, you also have the ability to download the data from the RRD file as csv, xml or json from the 'hamburger' menu in the upper right corner of the graph.

Let me know if that answers your question or not.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: how to view graph from a single rrd file

Post by zaji_nms »

Dear benjaminsmith

no

consider one single (strayed) file without knowing its Host/Service, after viewing it, we will able to figure out the Host+Service of that rrd file.

if there is any tool currently (or can be a feature in future), from the menu, will select the file along with full path and NagiosXI will plot the graph

just viewing graph without thinking much about what is/was the Unit, X-Y-Axis labels.

regards
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: how to view graph from a single rrd file

Post by benjaminsmith »

Hello @zaji_nms,
if there is any tool currently (or can be a feature in future), from the menu, will select the file along with full path and NagiosXI will plot the graph
That type of functionality doesn't exists, but as mentioned, you can view and download every RRD graph from the Graph Explorer. The rrd files and their xml component are stored in /usr/local/nagios/share/perfdata.

You can also export an rrd file to xml from the command line.

Code: Select all

rrdtool dump file.rrd
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked