graphs error in 1.10.01
Description
Environment
Acceptance / Success Criteria
Attachments
duplicates
is duplicated by
Lucidchart Diagrams
Activity

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.
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.