Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating an aggregate graph without associated template causes RRDtool error #2598

Closed
yingbaiibm opened this issue Apr 1, 2019 · 5 comments
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@yingbaiibm
Copy link

To Reproduce
Steps to reproduce the behavior:

  1. Go to management - graphs page
  2. Choose a graph and create aggregate graph
  3. After save the aggregate graph, preview tab can not see the graph. unknow RRDtool error. --failed
  4. If create aggregate graph with aggregate template, then in preview tab, the graph can be show well.

Expected behavior
At preview tab, graph can show well for aggregate graph created without aggregate template.

Screenshots
Screen Shot 2019-04-01 at 3 32 20 PM
Screen Shot 2019-04-01 at 3 32 46 PM

Desktop (please complete the following information):

  • OS: [e.g. iOS] rhel73 x64
  • Browser [e.g. chrome, safari] FF
  • Version [e.g. 22] cacti1.2.2
@cigamit
Copy link
Member

cigamit commented Apr 10, 2019

Can you please provide the error, or the debug output from the Preview tab with debug enabled?

@cigamit cigamit added the unverified Some days we don't have a clue label Apr 10, 2019
@cigamit
Copy link
Member

cigamit commented Apr 10, 2019

@yingbaiibm, second piece that we need is a screen capture of how you went about creating the aggregate. Nee to know what you included and skipped and the various settings that drove this error.

@yingbaiibm
Copy link
Author

It's just simple aggregate graph creation, do not need to change anything.
After click save button, the RRDtools error will exist.
No error log in cacti.log
NO error in /var/log/httpd/error_log

cacti 1.2.3
rhel73 x64
FF

1
2
3
4
5
6

Append detail graph debug info for this graph
RRDtool Command:

/bin/rrdtool graph -
--imgformat=PNG
--start='-86400'
--end='-300'
--pango-markup
--title='Aggregate - GRID Available Memory'
--vertical-label='available memory'
--slope-mode
--base=1000
--height=120
--width=500
--tabwidth '30'
--rigid
--alt-autoscale-max
--lower-limit='0'
COMMENT:"From 2019/04/10 10:41:40 To 2019/04/11 10:36:40\c"
COMMENT:" \n"
--color BACK#F3F3F3
--color CANVAS#FDFDFD
--color SHADEA#CBCBCB
--color SHADEB#999999
--color FONT#000000
--color AXIS#2C4D43
--color ARROW#2C4D43
--color FRAME#2C4D43
--border 1 --font TITLE:11:'Arial'
--font AXIS:8:'Arial'
--font LEGEND:8:'Courier'
--font UNIT:8:'Arial'
--font WATERMARK:6:'Arial'
--slope-mode
--watermark 'Generated by Cacti®' \

RRDtool Says:

@cigamit
Copy link
Member

cigamit commented Apr 11, 2019

This is completely understandable as you skipped all items. I guess maybe the right thing to do would be to block the save button unless one item was not marked to skip. Easy enough to force fix. It's a minor issue though.

cigamit added a commit that referenced this issue Apr 11, 2019
Create aggregate without aggregate graph tempate, rrdtools error
@cigamit cigamit added bug Undesired behaviour resolved A fixed issue and removed unverified Some days we don't have a clue labels Apr 11, 2019
@cigamit
Copy link
Member

cigamit commented Apr 11, 2019

Okay, until you click at least one 'total' item, you can no longer save. That should cover this issue well.

@cigamit cigamit added this to the v1.2.4 milestone Apr 17, 2019
@cigamit cigamit closed this as completed Apr 25, 2019
@netniV netniV changed the title [Aggregate] Create aggregate without aggregate graph tempate, rrdtools error Creating an aggregate graph without associated template causes RRDtool error Apr 28, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants