[rrd-users] example config

Quenton Quenton_help at gmx.de
Tue May 18 17:02:48 MEST 2004

Hi everbody,
I am new in this news group .
I wanne monitor serveral values from a sip Proxy . I want to update my rrd database every second , if this is possible ?
Can somebody give me s an example pl script/ konfiguration . I have problems with time value, I wanne graph for 1 Hour and a second graph for one 
Thanks a lot in advance
best regards 

Here are my first try:

use RRDs;
$time= `perl -e 'print time'`;
print $time;
`rrdtool create sip.rrd --start $time --step 1 DS:creqin:GAUGE:1:0:1000 RRA:MAX:0.5:1:24 `;

while( $i > 0 ){
    $creqin=`/usr/local/bin/snmpget -v 1 -c public -Oqv localhost `;
    RRDs::update ("sip.rrd","$time:$creqin");

`rrdtool graph sip.gif --start $time_alt --end $time DEF:sip=sip.rrd:creqin:MAX LINE2:sip#FF0000`;
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