Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-5450

OpenNMS doesn't correctly support IPv6 addresses for (jasper) reporting

    Details

      Description

      When trying to run a "Response time by node" report, I get the following error:

      2012-07-24 15:47:28,633 ERROR [qtp800555403-741] JRFillSubreport: Fill 1402077075: exception
      net.sf.jasperreports.engine.JRException: Error creating JRobinDataSource with command: --start 1342476000 --end 1343080800
      DEF:xx=/usr/share/opennms/share/rrd/response/2001:06a8:3c80:8008:0000:0000:0000:0010/icmp.jrb:icmp:AVERAGE
      XPORT:xx:IcmpLatency
      at org.opennms.netmgt.jasper.jrobin.JRobinQueryExecutor.createDatasource(JRobinQueryExecutor.java:58)
      at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:684)
      at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:605)
      at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1281)
      at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:901)
      at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:845)
      at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:609)
      at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:59)
      at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:205)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: org.jrobin.core.RrdException: Invalid DEF syntax: DEF:xx=/usr/share/opennms/share/rrd/response/2001:06a8:3c80:8008:0000:0000:0000:0010/icmp.jrb:icmp:AVERAGE
      at org.opennms.netmgt.jasper.jrobin.RrdXportCmd.parseDef(RrdXportCmd.java:103)
      at org.opennms.netmgt.jasper.jrobin.RrdXportCmd.execute(RrdXportCmd.java:68)
      at org.opennms.netmgt.jasper.jrobin.RrdToolCmd.executeCommand(RrdToolCmd.java:66)
      at org.opennms.netmgt.jasper.jrobin.JRobinQueryExecutor.createDatasource(JRobinQueryExecutor.java:56)
      ... 9 more

      Apparently OpenNMS doesn't support IPv6 addresses in function RrdXportCmd.parseDef

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                seth Seth Leger
                Reporter:
                stcyr Cyrille Bollu
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: