heya I finally got my BW counters to work so thanks to the people that mailed
me. Now to another problem. I created a rrd where i want all system related
information entered, here is the command i used to create it:
/bin/rrdtool create system-state.rrd \
DS:bwinput:COUNTER:600:U:U DS:bwoutput:COUNTER:600:U:U \
DS:cpuidle:GAUGE:600:0:100 DS:memoryfree:GAUGE:600:0:261512 \
DS:swapfree:GAUGE:600:0:262200 DS:processes:GAUGE:600:0:U \
DS:connections:COUNTER:600:0: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 worked and the rrd is created being ~350KB in size. Now when i use the
rrdupdate as follows:
/bin/rrdtool update q-fw1-hardware.rrd
N:$inet_in:$inet_out:$cpu_usage:$mem_avail:$swap_avail:$proc:$conn
it goes thru without complains etc, and every variable i have there is defined
and returns a value when executed.
however when i check the db size, it has not changed and when i try to create a
graph, the graph is blank.
here is the script i use for cpu load:
--
Q u a r t a l O y
Florian Rommel ([EMAIL PROTECTED])
Senior System Administrator
Eteläesplanadi 22A, FIN-00130 Helsinki, Finland
Tel: +358 [0]424 258 253
Fax: +358 [0]424 258 360
GSM: +358 [0]408 480 052
http://www.quartal.com
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi