Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306911 - dev-perl/CUFlow-1.5: CUGrapher.pl don't show graph, if use net-analyzer/rrdtool-1.3.8
Summary: dev-perl/CUFlow-1.5: CUGrapher.pl don't show graph, if use net-analyzer/rrdt...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-26 08:01 UTC by Dimon
Modified: 2012-10-23 11:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for CUGrapher.pl (CUGrapher.pl,32.66 KB, patch)
2010-02-26 08:16 UTC, Dimon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dimon 2010-02-26 08:01:48 UTC
When I try to open http://<my-site>/cgi-bin/CUGrapher.pl?<many params> the page don't have graph.


Reproducible: Always

Actual Results:  
Apache error log has message:

graph failed (I don't understand ': all\n' in command: 'COMMENT: Router: all\n'.) and warning failed (I don't understand ': all\n' in command: 'COMMENT: Router: all\n'.)\n' in command: 'COMMENT:graph failed (I don't understand ': all\n' in command: 'COMMENT: Router: all\n'.)\n'.)
Comment 1 Dimon 2010-02-26 08:08:23 UTC
It's happens because:

COMMENT:text

Text is printed literally in the legend section of the graph. Note that in RRDtool 1.2 you have to escape colons in COMMENT text in the same way you have to escape them in *PRINT commands by writing '\:        

To fix need patch CUGrapher.pl as:

# router name
        if( scalar @{$service{$r}} || scalar @{$protocol{$r}} || scalar @{$tos{$r}}
            || exists $total{$r} ) {
            push @args, 'COMMENT: Router: '.$r.'\n';
        }
'.

To:
            push @args, 'COMMENT: Router\: '.$r.'\n';


Comment 2 Dimon 2010-02-26 08:16:58 UTC
Created attachment 221263 [details, diff]
Patch for CUGrapher.pl
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-02-26 20:00:47 UTC
Please read the "Gentoo Bug Reporting Guide"[1] before opening a bug.

 [1] - http://www.gentoo.org/doc/en/bugzilla-howto.xml
Comment 4 Sergey Popov gentoo-dev 2012-10-23 11:09:58 UTC
dev-perl/CUFlow was removed from tree, so closing this