Sponsored Content
Top Forums UNIX for Dummies Questions & Answers linux rrdtool help create graph Post 302276812 by borderblaster on Wednesday 14th of January 2009 04:22:28 PM
Old 01-14-2009
linux rrdtool help create graph

I need some help with creating graphs using the rrdtool. I have never used it before. I installed by yum install rrdtool.

Basically I have a txt file with these values

432
542
234
531
1004

Does anyone know the syntax of rrdtool to automatically take the values from the txt file and create a graph in an html page?
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

create graph with detail info

hey, i want to create a graph. The graph should show how many IPs are connected to a pool. But the graph should also show which IPs are connected. Does anyone know a tool which is able to do that? I already worked with PNP but I think this can't work because of rrd. (6 Replies)
Discussion started by: vostro
6 Replies

2. Shell Programming and Scripting

using Perl with rrdtool to create and update graphs

Hi guys, im having real difficulty getting my head around perl and rrdtool and was hoping someone could help I want to run a perl script from cron which retrieves the data every 5 mins, creates .rrd's if not already created, and updates the DS from the reultsHash or $key, then creates the... (2 Replies)
Discussion started by: jeffersno1
2 Replies

3. UNIX for Dummies Questions & Answers

rrdtool question

Hi, DEF:clients=cccam.rrd:kliensek:AVERAGE DEF:activeclients=cccam_actclient.rrd:activeclients:AVERAGE "LINE1:clients#0000FF:Connected clients" COMMENT:" \n" "LINE2:activeclients#99FF00:Active clients" COMMENT:" \n" GPRINT:clients:LAST:'Current'\%5.0lf%s COMMENT:" \n"... (2 Replies)
Discussion started by: adriankoooo
2 Replies

4. Red Hat

Why do we use RRDtool in MRTG?

Hi Guys, Why do we use RRDtool in MRTG? I have implemented MRTG for some routers, I have read some notes about RRDTOOL also but don't know what is use of these tool. Any one one please explain me the use of RRDTOOL in their own words? (1 Reply)
Discussion started by: manalisharmabe
1 Replies

5. AIX

Memory utilization graph using RRDTool?

Has anyone ever seen one done? I recently setup lpar2rrd for a project i'm working on. Never noticed that lpar2rrd doesn't have the best memory usage graphs. It's only the whole system but I was wondering is there a way i can add in another webpage that pulls the data from the HMC to collect the... (2 Replies)
Discussion started by: vpundit
2 Replies

6. Shell Programming and Scripting

How to create an 'uptime' graph?

Hi, Can someone advise how to create an uptime graph? I want to create one for an Oracle database to be able to show how long it's been up for. UNIX SA dont't want to install any database plugin that I can use. I am just looking for something 'simple' similar to Nagios/Cacti. Not sure what... (3 Replies)
Discussion started by: newbie_01
3 Replies

7. Shell Programming and Scripting

Python-rrdtool try except rrdtool.error module object has no attribute error

I have this code that gives this error on Linux and will be grateful if you can help import rrdtool try: ret_asd = rrdtool.update(myfile.rrd,'N:%s:%s' %(metric1, metric2)); except rrdtool.error, e: print e When i run the above i get the below error except... (1 Reply)
Discussion started by: kaf3773
1 Replies
RRDDUMP(1)							      rrdtool								RRDDUMP(1)

NAME
rrddump - dump the contents of an RRD to XML format SYNOPSIS
rrdtool dump filename.rrd [filename.xml] [--header|-h {none,xsd,dtd}] [--no-header] [--daemon address] > filename.xml DESCRIPTION
The dump function writes the contents of an RRD in human readable (?) XML format to a file or to stdout. This format can be read by rrdrestore. Together they allow you to transfer your files from one computer architecture to another as well to manipulate the contents of an RRD file in a somewhat more convenient manner. filename.rrd The name of the RRD you want to dump. filename.xml The (optional) filename that you want to write the XML output to. If not specified, the XML will be printed to stdout. --header|-h {none,xsd,dtd} By default RRDtool will add a dtd header to the xml file. Here you can customize this to and xsd header or no header at all. --no-header A shortcut for --header=none. If you want to restore the dump with RRDtool 1.2 you should use the --no-header option since 1.2 can not deal with xml headers. --daemon address Address of the rrdcached daemon. If specified, a "flush" command is sent to the server before reading the RRD files. This allows rrdtool to return fresh data even if the daemon is configured to cache values for a long time. For a list of accepted formats, see the -l option in the rrdcached manual. rrdtool dump --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd EXAMPLES
To transfer an RRD between architectures, follow these steps: 1. On the same system where the RRD was created, use rrdtool dump to export the data to XML format. 2. Transfer the XML dump to the target system. 3. Run rrdtool restore to create a new RRD from the XML dump. See rrdrestore for details. ENVIRONMENT VARIABLES
The following environment variables may be used to change the behavior of "rrdtool dump": RRDCACHED_ADDRESS If this environment variable is set it will have the same effect as specifying the "--daemon" option on the command line. If both are present, the command line argument takes precedence. AUTHOR
Tobias Oetiker <tobi@oetiker.ch> 1.4.8 2013-05-23 RRDDUMP(1)
All times are GMT -4. The time now is 01:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy