graphs error in 1.10.01

Description

Opennms 1.10.01 didn't show graphs and reports on WINDOWS.
WIN2008,WIN7,WIN2003 each time it starts it didnt show grafic part of reports only text descriptions.
But the Charts page work properly.
I already work with opennms v1.8.16 and it work just fine.

Environment

WIN2008 R2 SERVER SP1 x64bit \ WIN7 x32bit standalone-opennms-installer-1.10.0-1 postgresql-9.1.2-1-windows jdk-7u1-windows-i586 x36bit

Acceptance / Success Criteria

None

Attachments

4

Lucidchart Diagrams

Activity

Show:

Alexander Hoogerhuis April 18, 2012 at 10:03 PM

I went digging with my limited knowledge and found http://issues.opennms.org/browse/NMS-2284, which lead me to createGraph which calls createGraphReturnDetails which again calls createGraphDef, which seems to have issues with the backslashes.

But then, I may just be lost and wrong.

Alexander Hoogerhuis April 18, 2012 at 9:32 PM

Looks like http://issues.opennms.org/browse/NMS-5106 is also an older duplicate of this one, the issues goes back into 1.9x code.

Prostrelov A March 12, 2012 at 1:39 AM

Yes the same is here in jetty.log

Caused by: java.io.FileNotFoundException: Could not open C:\Program Files (x86)\OpenNMS\share\rrd\response192.168.213.250icmp.jrb [non existent]
at org.jrobin.core.RrdDb.<init>(RrdDb.java:226)
at org.jrobin.core.RrdDb.<init>(RrdDb.java:202)
at org.jrobin.data.DataProcessor.getRrd(DataProcessor.java:835)
at org.jrobin.data.DataProcessor.fetchRrdData(DataProcessor.java:697)
at org.jrobin.data.DataProcessor.processData(DataProcessor.java:544)
at org.jrobin.graph.RrdGraph.fetchData(RrdGraph.java:537)
at org.jrobin.graph.RrdGraph.createGraph(RrdGraph.java:74)
at org.jrobin.graph.RrdGraph.<init>(RrdGraph.java:53)
at org.opennms.netmgt.rrd.jrobin.JRobinRrdStrategy.createGraphReturnDetails(JRobinRrdStrategy.java:354)
... 91 more

So, any ideas about fix ?
Which deamon or config file can hold the adress parameters ?

David Soussan March 11, 2012 at 9:55 AM

Dittoes - Win2003R2 SP2 x32bit here. Same issue, but it also spreads to all the SNMP graphs - none of them work. It looks like a path error not in creating the files but in displaying them. Here is a snip from jetty.log showing the path without some critical backslashes and a print screen showing the files are indeed being created in the correct locations.

Could not open C:\Program Files\OpenNMS\share\rrd\snmp1X0-0017c574d7bcifInUcastpkts.jrb [non existent]
at org.opennms.netmgt.rrd.jrobin.JRobinRrdStrategy.createGraphReturnDetails(JRobinRrdStrategy.java:370)
at org.opennms.netmgt.rrd.jrobin.JRobinRrdStrategy.createGraph(JRobinRrdStrategy.java:333)
at org.opennms.netmgt.rrd.QueuingRrdStrategy.createGraph(QueuingRrdStrategy.java:1063)
at org.opennms.netmgt.dao.support.DefaultRrdDao.createGraph(DefaultRrdDao.java:210)
... 87 more
Caused by: java.io.FileNotFoundException: Could not open C:\Program Files\OpenNMS\share\rrd\snmp1X0-0017c574d7bcifInUcastpkts.jrb [non existent]
at org.jrobin.core.RrdDb.<init>(RrdDb.java:226)
at org.jrobin.core.RrdDb.<init>(RrdDb.java:202)
at org.jrobin.data.DataProcessor.getRrd(DataProcessor.java:835)
at org.jrobin.data.DataProcessor.fetchRrdData(DataProcessor.java:697)
at org.jrobin.data.DataProcessor.processData(DataProcessor.java:544)
at org.jrobin.graph.RrdGraph.fetchData(RrdGraph.java:537)
at org.jrobin.graph.RrdGraph.createGraph(RrdGraph.java:74)
at org.jrobin.graph.RrdGraph.<init>(RrdGraph.java:53)
at org.opennms.netmgt.rrd.jrobin.JRobinRrdStrategy.createGraphReturnDetails(JRobinRrdStrategy.java:354)

The attached print screen shows those files do exist in their proper location, but the path to them is missing some rather important backslashes.

David Soussan March 11, 2012 at 9:53 AM

The log shows can't open c:\Program Files\OpenNMS\share\rrd\snmp[missing]1[missing]X0-0017c574d7bc[missing]ifInUnicastpkts.jrb - but those files do indeed exist and are in the correct path.

Duplicate

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created March 5, 2012 at 6:01 AM
Updated September 20, 2014 at 2:45 PM
Resolved April 19, 2012 at 10:01 AM