Resend, because the mailer broke some line.
Below a script that demonstrates an ABSOLUTE counter for counting e-mail
messages (spam in this case). I posted it, because I couldn't find any
satisfactory examples of ABSOLUTE and as a chance to get
feedback from others and possibly help others.
It
I have a monitor scripts that gets invoked every time a user
interacts with a Web service. There are several Web services
that we are collecting data from. Each one goes to a
different RRD. Some services are very busy (several hits per
second) and some are not (a few hits per
week).
I am using rrtool 1.0.45 on Solaris 9 for mrtg and CPU stats via
routers2.cgi. I need to convert the files to an AIX system 5.2 ML4
running rrdtool 1.0.49. I searched the archives for hints and looked at
the documentation for using xport but I cna't get it right. For every
.rrd file I have
in it. I was hoping I could write a simple shell loop to dump
everything:
for x in `ls *.rrd`
do
rrdtool xport ${x} ${x}_xport
done
Wouldn't it be much easier to use rrdtool dump and rrdtool restore?
Serge.
-
Op de inhoud van dit e-mailbericht en de daaraan gehechte
On Thu, Jan 20, 2005 at 08:04:56AM -0500, James B Horwath wrote:
Hi James.
for x in `ls *.rrd`
do
rrdtool xport ${x} ${x}_xport
---^
xport ??? Thats wrong.
The name (and description in the man page) is a little bit misleading
(rrdxport - Export data in XML format based on data from one
Thanks everyone, this is just what I needed.
Regards,
Jim
Jim Horwath
GCUX
Andreas Maus [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
01/20/2005 08:33 AM
To: James B Horwath [EMAIL PROTECTED]
cc: rrd-users@list.ee.ethz.ch
Subject:[rrd-users] Re: Converting rrd files from
rrdtool create resp.rrd --step 5 \
DS:resp:GAUGE:10:0:U \
RRA:AVERAGE:0.999:1:1000
If I do single data point update using:
rrdtool update resp.rrd 1106249083:45
and *not* post any update for a while ( 10 seconds ), the
RRD fetch command shows that the AVERAGE
Serge Maandag wrote:
snip
I still would use the log file solution.
It's way cleaner.
I took mailgraph as an example for my scripts, and I build this with it:
http://haas.oezie.org/rrd/httpd/ (and the script here
http://haas.oezie.org/rrd/httpd.pl) it works like a tail -f logfile, and