default graph definition GPRINT spacing is too wide

Description

This is something that has been the default since at least 1.2 when I started using opennms. I have always wondered about it, so here's the ticket.

Spacing for default definitions is just plain wrong. There are extra spaces between Avg/Min/Max and the colon, and extra spaces in the character width definition for numeric values.

typical default definition:
GPRINT:percentIn:AVERAGE:"Avg
: %8.2lf %s" \
corrected version for better readability:
GPRINT:percentIn:AVERAGE:"Avg
: %6.2lf %s" \
I notice this every time I look at new or default definitions, trying to figure out why all the spacing is built-in without coming up with an answer.

Environment

snmp-graph.properties

Acceptance / Success Criteria

None

Attachments

1
  • 19 Sep 2011, 10:29 PM

Lucidchart Diagrams

Activity

Show:

Ken Eshelby September 19, 2011 at 10:30 PM

The attachment shows the difference between the "corrected" spacing in a definition vs (below) default style spacing.

Details

Assignee

Reporter

Labels

Affects versions

Priority

PagerDuty

Created September 19, 2011 at 10:29 PM
Updated September 21, 2021 at 6:24 PM

Flag notifications