All work

Select view

Select search mode

 

Small font size in JRobin graphs after upgrade to 1.12.2

Fixed

Description

There is an issue with JRobin graph font size after upgrade from 1.12.1 to 1.12.2. Fonts are smaller and picture is blurry. Please find attached graphs.

Unfortunately, it's not possible to set font size in snmp-graph.properties, since it works for RRDTool only (as far as I've tried and read in mailing list).

Environment

CentOS 6.5 x64

Acceptance / Success Criteria

None

Attachments

2
  • 12 Dec 2013, 01:07 PM
  • 12 Dec 2013, 01:07 PM

Lucidchart Diagrams

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

PagerDuty

Created December 12, 2013 at 1:07 PM
Updated September 26, 2014 at 3:12 PM
Resolved September 26, 2014 at 10:44 AM

Activity

Benjamin ReedSeptember 26, 2014 at 10:44 AM

Fixed in 1.14. It's not exact, but the "small" font size is closer to how it was previously.

Richard HesseDecember 31, 2013 at 1:25 PM

Sorry, this is the correct URL. http://repo.opennms.org:8080/snapshots/org/jrobin/jrobin/1.5.15-SNAPSHOT/jrobin-1.5.15-20130624.180643-16.jar

I couldn't edit/delete my previous comment.

Richard HesseDecember 31, 2013 at 1:16 PM

Ondrej D.December 31, 2013 at 10:11 AM

Replace of JAR solved the issue. Thanks!

Ron RoskensDecember 20, 2013 at 10:30 PM

So what happened here is jrobin was patched to support additional font tags beyond TITLE and LEGEND. The font sizes used for the different tags varied, so this is why the title got smaller when 1.12.3 bumped the dependency version for jrobin from 1.5.15-SNAPSHOT to 1.5.15.

I've commited a fix to add the --font handling to opennms-rrd-jrobin in 624af684dd0754f22d32427e85845b3dc8bcd389 which should let you adjust the size this should get pulled into 1.12.5.

Otherwise, you could replace the jrobin-1.5.15.jar in /opt/opennms/lib/ with jrobin-1.5.15-20130624.180643-16.jar which was the copy in 1.12.2.