Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 306911

Summary: dev-perl/CUFlow-1.5: CUGrapher.pl don't show graph, if use net-analyzer/rrdtool-1.3.8
Product: Gentoo Linux Reporter: Dimon <dimon.ltd>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for CUGrapher.pl

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