PROBLEM! Need Help RRD Autoscale strange behaviour

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

Moderators: Developers, Moderators

Post Reply
acolombo
Posts: 7
Joined: Mon Nov 30, 2015 9:38 am

PROBLEM! Need Help RRD Autoscale strange behaviour

Post by acolombo »

Hi,
i've notice a strange behaviour in graph created with CDEF that divide the datasource by 300 to get a gauge values/sec.
the autoscale maximum seems to be ingnored and the the graph scale goes very high.
graph_image.php.png
graph_image.php.png (18.77 KiB) Viewed 820 times
I've tried with this CDEF: cdef=a,b,+,c,+,300,/ and this: cdef=a,300,/,b,300,/,+,c,300,/,+

RRD Tool graph debug mode info:
RRDTool Command:
/app/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='- Radius Access (MI)' \
--base='1000' \
--height='120' \
--width='576' \
--alt-autoscale-min \
--upper-limit='100' \
--units-exponent='1' \
--vertical-label='requests/sec' \
--slope-mode \
--font TITLE:11: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a='xxx/cacti-0.8.8f/rra/xxx_13591.rrd':'snmp_oid':AVERAGE \
DEF:b='xxx/cacti-0.8.8f/rra/xxx_3861.rrd':'snmp_oid':AVERAGE \
DEF:c='xxx/cacti-0.8.8f/rra/xxx_13593.rrd':'snmp_oid':AVERAGE \
DEF:d='xxx/cacti-0.8.8f/rra/xxx_13592.rrd':'snmp_oid':AVERAGE \
DEF:e='xxx/cacti-0.8.8f/rra/xxx_3862.rrd':'snmp_oid':AVERAGE \
DEF:f='xxx/cacti-0.8.8f/rra/xxx_13595.rrd':'snmp_oid':AVERAGE \
CDEF:cdefa='a,b,+,c,+,300,/' \
CDEF:cdefb='a,b,+,c,+,300,/' \
CDEF:cdefg='d,UN,0,d,IF,e,UN,0,e,IF,+,f,UN,0,f,IF,+,300,/' \
CDEF:cdefh='d,UN,0,d,IF,e,UN,0,e,IF,+,f,UN,0,f,IF,+,300,/' \
LINE1:cdefa#C0C0C0FF:'Accepts' \
GPRINT:cdefb:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefb:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefb:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:b:'' \
LINE1:c:'' \
LINE2:cdefg#DE0056FF:'Rejects' \
GPRINT:cdefh:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefh:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefh:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:e:'' \
LINE1:f:''
RRDTool Says:
OK

I'ts a desired behavior or it's a bug, or i've done something wrong??

These are our settings:
Technical Support
General Information
Date Mon, 14 Nov 2016 17:51:03 +0100
Cacti Version 0.8.8f
Cacti OS unix
SNMP Version NET-SNMP version: 5.5
RRDTool Version RRDTool 1.4.x
Hosts 541
Graphs 3176
Data Sources Script/Command: 1283
SNMP: 6579
SNMP Query: 242
Script - Script Server (PHP): 6
Total: 8110
Poller Information
Interval 300
Type SPINE 0.8.8f Copyright 2002-2015 by The Cacti Group
Items Action[0]: 6801
Action[1]: 1276
Action[2]: 6
Total: 8083
Concurrent Processes 6
Max Threads 90
PHP Servers 8
Script Timeout 50
Max OID 40
Last Run Statistics Time:27.2432 Method:spine Processes:6 Threads:90 Hosts:536 HostsPerProcess:90 DataSources:8083 RRDsProcessed:7827
PHP Information
PHP Version 5.5.5
PHP OS Linux
PHP uname Linux xxxx 2.6.32-504.el6.x86_64 #1 SMP Tue Sep 16 01:56:35 EDT 2014 x86_64
PHP SNMP Installed
max_execution_time 30
memory_limit 512M
Last edited by acolombo on Mon Nov 21, 2016 4:56 am, edited 1 time in total.
acolombo
Posts: 7
Joined: Mon Nov 30, 2015 9:38 am

Re: RRD Autoscale strange behaviour

Post by acolombo »

Please Help!!
Anyone had a similar behaviour?

Thank's Alex
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests