Hey GodOfSuicide, I didn't receive your mail, but I'll try to help you here
If you have a look in my ircgraph.tcl, you may see:
Code: Select all
Rrd::create $newfile DS:userslocal:GAUGE:600:U:U DS:ircops:GAUGE:600:U:U DS:usersglobal:GAUGE:600:U:U DS:channels:GAUGE:600:U:U DS:invisibles:GAUGE:600:U:U DS:normals:GAUGE:600:U:U DS:totalservers:GAUGE:600:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
This is the creation of a database with default values, so step is 300 seconds, and the 600 value in DS:
name:GAUGE.... is the max delay between two updates.
If you want to have an update every minute, use the
--step (or -s) value, this give you:
Code: Select all
Rrd::create $newfile -s 60 DS:userslocal:GAUGE:120:U:U DS:ircops:GAUGE:120:U:U DS:usersglobal:GAUGE:120:U:U DS:channels:GAUGE:120:U:U DS:invisibles:GAUGE:120:U:U DS:normals:GAUGE:120:U:U DS:totalservers:GAUGE:120:U:U RRA:AVERAGE:0.5:1:700 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
This gives you a step of 1 minute (60 seconds:)) and the gauges can stay 2 minutes max without being updated.
Does this help you?