But only 1 value is parsed each time.
After a few tries of creating graphs, one time I get the total_topics, the other time I got the total_replies.
This is the output of the script
Code: Select all
total_replies:486128 total_topics:52177 total_members:24699
These are the output fields in the data input method
Code: Select all
Output Fields Add
Name Field Order Friendly Name Update RRA
mem_count 0 (Not In Use) mem_count Selected Delete
total_topics 0 (Not In Use) total_topics Selected Delete
total_replies 0 (Not In Use) total_replies Selected
All datasource item in the data templates are correct as guage+the right name.
this is the datasource debug
Code: Select all
Data Source Debug
/usr/bin/rrdtool create \
/var/www/cacti/rra/localhost_total_members_95.rrd \
--step 300 \
DS:total_members:GAUGE:600:0:100 \
DS:total_topics:GAUGE:600:0:100 \
DS:total_replies:GAUGE: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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN: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 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \