Created scripts. Can't get all values

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
athlonkmf
Posts: 4
Joined: Wed Mar 23, 2005 2:34 pm

Created scripts. Can't get all values

Post by athlonkmf »

I've created a script that should output 3 values.

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 \
Any idea what I did wrong?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests