[rrd-users] AW: Add a new DS.

Baenisch, Stephan Stephan.Baenisch at izb.de
Mon Sep 22 11:06:05 MEST 2003


Yes it is.

Take a look in the mail from Jeff Rodriguez in the mailinglist archive. He
wrote a script that adds a new ds to a rrdb.
I modified it a little because of problems with CET/CEST (european
winter/summer time). Dont know if that matters for you.

my modifications:
-----
	
########################################################################
	# Add the extra "<v> NaN </v>" under the RRAs. Just print normal
lines #
	
########################################################################
	if ($parse == 1)
	{
		if ($line =~ /CEST/)
		{
			print substr($line, 0, 55);
			print "<v> NaN </v>";
			print substr($line, 55);
			print "\n";
		}
		else #($line =~ /CET/)
		{
			print substr($line, 0, 54);
			print "<v> NaN </v>";
			print substr($line, 54);
			print "\n";
		}
	}
	else
	{
		print "$line\n";
	}
-----

Greetings

Stephan


> ----------
> Von: 	Carles Xavier Munyoz Baldó[SMTP:carles at unlimitedmail.org]
> Gesendet: 	Freitag, 19. September 2003 18:05
> An: 	'rrd-users at list.ee.ethz.ch'
> Betreff: 	[rrd-users] Add a new DS.
> 
> Hi,
> Is it possible to add a new DS to a previously created round robin
> database 
> file ?
> How ?
> 
> Greetings.
> ---
> Carles Xavier Munyoz Baldó
> carles at unlimitedmail.org
> http://www.unlimitedmail.net/
> ---
> 
> --
> Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
> Archive     http://www.ee.ethz.ch/~slist/rrd-users
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
> 

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list