[rrd-users] rrd-users PROBLEM
Bryce as root
root at zen.ics.uwe.ac.uk
Tue Aug 10 11:40:10 MEST 1999
> > *> With the help of rrdgraph command I can get .gif/.png file . Instead of
> > *> this I want as my database is being updated, my graph on the screen
> > *> should be updated according to the changes in database by the time. I
> > *> don't want to create gif/png file . Actually I want this for real time
> > *> plotting. How I can do this thing.
> > not sure what you expect to see ... a movie ? for updating you must uyse
> > rrdtool update
> > cheers
> > tobi
> lemme guess
> you are talking about making the web page reload the graph
> thats not a rrdtool problem at all. You'd be wanting to play with .meta files
> and expiries. the mail tool I'll (eventually) submit uses that technique but
> be aware, its something your web server would have to supportand your browser to
> Tobi, I think he's refering to the 5 minute update feature you had with mrtg
I should have appended this
<META HTTP-EQUIV="Refresh" CONTENT="300" >
<META HTTP-EQUIV="Pragma" CONTENT="no-cache" >
<META HTTP-EQUIV="Expires" CONTENT="Tue Aug 10 10:15:10 BST 1999">
Basically it says 'Update this page every 5 minutes'
'Do not cache this page cos that would be daft'
'Assuming you keep a decent NTP clock, this page
will self destruct at...'
The only fun to be had is the dynamic rebuilding of the 'Expires' line
If you use shell, you can get it by using something like
FUTURE=`$GNUDATE --date="+5 minutes"`
* To unsubscribe from the rrd-users mailing list, send a message with the
subject: unsubscribe to rrd-users-request at list.ee.ethz.ch
More information about the rrd-users