Re: Precentage graph question

Gandalf <[email protected]>
Newsgroups gmane.network.cacti.user
Message-ID <[email protected]>
I only see one single data source. So I do not understand, why "total all data
sources" is required. And as there is only a single data source, I can't guess
how a percentage calculation could make sense. For this, you would need two data
sources being related to each other
Reinhard

On 10.07.2013 14:21, Andreas Davour wrote:
> 
> This is how the graph debug output looks like:
> 
> RRDTool Command:
> 
> /usr/bin/rrdtool graph - \
> --imgformat=PNG \
> --start=-86400 \
> --end=-300 \
> --title='emoswspush00.sx1 - emoswspush - utilization' \
> --rigid \
> --base=1000 \
> --height=120 \
> --width=500 \
> --alt-autoscale-max \
> --lower-limit='0' \
> --vertical-label='' \
> --slope-mode \
> --font TITLE:9: \
> --font AXIS:8: \
> --font LEGEND:8: \
> --font UNIT:8: \
> DEF:a="/usr/share/cacti/rra/emoswspush00_sx1_conn_closed_8686.rrd":'conn_utilization':AVERAGE \
> CDEF:cdefb='a,100,*,TIME,1373458466,GT,a,a,UN,0,a,IF,IF,/' \
>  \
> AREA:cdefb#FF5F00FF:""  \
> GPRINT:a:AVERAGE:"%6.2lf%%\n" 
> 
> RRDTool Says:
> 
> OK
> 
> At Tue, 09 Jul 2013 19:59:59 +0200,
> Gandalf wrote:
>>
>> We need the graph debug code to support you.
>> Goto Graph Management, switch to DEBUG and post the output
>> Reinhard
>>
>> On 09.07.2013 11:16, Andreas Davour wrote:
>>>
>>> I have a data input method that gives me a fraction, like 0.3 or
>>> something similar. I'd like to graph that as a percentage. 
>>>
>>> Now it will generate a graph which is filling with colour when it's
>>> close to zero, and not filling more as the number increase to 1. My
>>> percentage graph is backwards. 
>>>
>>> This is what I have done, hopefully someone can point of where I'm
>>> feet up and heads down.
>>>
>>> Item # 1 	COMMENT: 	COMMENT 	AVERAGE 	  	FFFFFF
>>> Item # 2 	(conn_utilization): 	AREA 	AVERAGE 	  	FF5F00
>>> Item # 3 	(conn_utilization): <HR> 	GPRINT 	AVERAGE
>>>
>>> For Item # 2 CDEF is "multiply by 100, divided by total all data
>>> sources", and the GPRINT type is "percentage as decimal".
>>>
>>> I guess I'm missing something...
>>>
>>> /andreas
>>>
>>> ------------------------------------------------------------------------------
>>> See everything from the browser to the database with AppDynamics
>>> Get end-to-end visibility with application monitoring from AppDynamics
>>> Isolate bottlenecks and diagnose root cause in seconds.
>>> Start your free trial of AppDynamics Pro today!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> cacti-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/cacti-user
>>>
>>
>> ------------------------------------------------------------------------------
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> cacti-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/cacti-user
> 
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> cacti-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cacti-user
> 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.