Enhancement #2507

Offer CGP to view collectd graphs

Added by Filippo Carletti over 7 years ago. Updated over 7 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-cgp
Target version:v6.5-beta3
Resolution: NEEDINFO:No

Description

http://pommi.nethuis.nl/category/cgp/

Now, to view collectd stats we have collectd-web, but CGP seems a better alternative: it's maintained, it can use canvas to draw graphs in client.

Associated revisions

Revision 7eee9e32
Added by Filippo Carletti over 7 years ago

Initial release. Refs #2507

Revision c2568d94
Added by Davide Principi over 7 years ago

Added nethserver-cgp to Statistics group. Refs #2507

nethserver-cgp is now an optional package of nethserver-statistics group.

History

#1 Updated by Filippo Carletti over 7 years ago

If CGP doesn't "filter" disk graphs we should find a way to filter disk graphs from collectd.

#2 Updated by Filippo Carletti over 7 years ago

  • Status changed from NEW to TRIAGED
  • Assignee set to Filippo Carletti
  • % Done changed from 0 to 20

#3 Updated by Filippo Carletti over 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • % Done changed from 20 to 30

#4 Updated by Filippo Carletti over 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#5 Updated by Filippo Carletti over 7 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Filippo Carletti)
  • Target version set to v6.5-beta3
  • % Done changed from 60 to 70

First release in nethserver-testing:
nethserver-cgp-0.0.1-1.ns6.noarch.rpm

Test case

On a system where collectd is installed run:
yum install nethserver-cgp
then go to dashboard and click on Collectd Graph Panel in the Application tab. Look at the graphs.

#6 Updated by Davide Principi over 7 years ago

  • Assignee set to Davide Principi

#7 Updated by Davide Principi over 7 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

VERIFIED

Note:
It works, but it seems there were no canvas on my client (tried both FF and CR). The server returns PNG images: is this what was expected?

BTW to get HTML canvas edit in /var/www/html/cgp/conf/config.local.php:

$CONFIG['graph_type'] = 'canvas';

#9 Updated by Filippo Carletti over 7 years ago

Davide Principi wrote:

It works, but it seems there were no canvas on my client (tried both FF and CR). The server returns PNG images: is this what was expected?

BTW to get HTML canvas edit in /var/www/html/cgp/conf/config.local.php:[...]

I found some issues (nothing displayed, primarly) with canvas in some graphs, I choose to use png as default.
I suggest to document how to set canvas.

#10 Updated by Davide Principi over 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Released in nethserver/6.5/base repository.

Also available in: Atom PDF