Re: surveillance link error

Chris Tallerico <[email protected]> Sat, 19 Apr 2014 01:40:37 +0000
Newsgroups gmane.network.opennms.install
Message-ID <1C83001B13EC2948A323D6ADB82A66D9DF63FB@P3PWEX4MB010.ex4.secureserver.net>
Hi Markus,

I tried the default surveillance config as well as this one, which I copied from the tutorial:

[root@montgomertech ~]# vi /opt/opennms/etc/examples/surveillance-views.xml
<?xml version="1.0" encoding="UTF-8"?>
<surveillance-view-configuration
  xmlns:this="http://www.opennms.org/xsd/config/surveillance-views"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.opennms.org/xsd/config/surveillance-views http://www.opennms.org/xsd/config/surveillance-views.xsd"
  default-view="default" >
  <views >
<view name="MTuser" refresh-seconds="300" >
      <rows>
        <row-def label="Servers" >
          <category name="Servers"/>
        </row-def>
      </rows>
      <columns>
        <column-def label="PROD" >
          <category name="Production" />
        </column-def>
        <column-def label="TEST" >
          <category name="Test" />
        </column-def>
      </columns>
    </view>
   <!-- default view here -->
    <view name="default" refresh-seconds="300" >
      <rows>
        <row-def label="Routers" >
          <category name="Routers"/>
        </row-def>
        <row-def label="Switches" >
          <category name="Switches" />
        </row-def>
        <row-def label="Servers" >
          <category name="Servers" />
        </row-def>
      </rows>
      <columns>
        <column-def label="PROD" >
          <category name="Production" />
        </column-def>
        <column-def label="TEST" >
"/opt/opennms/etc/examples/surveillance-views.xml" 49L, 1530C






Chris Tallerico
Sr. Consultant
[cid:[email protected]]

Technology Manager for Premier Commercial Buildings Nationally
Office 866.824.8362 | Cell 415.509.0567 | [email protected]<mailto:[email protected]>

From: Markus Neumann [mailto:[email protected]]
Sent: Friday, April 18, 2014 11:43 AM
To: [email protected]
Subject: Re: [opennms-install] surveillance link error

Please post your config for the surveillance view and the complete exception.
Try it with the default surveillance view config, too.

Am 18.04.2014 19:54, schrieb Chris Tallerico:
Hello all....Happy Easter!

Still haven't been able to figure this out....Any ideas?  This is the error I get when clicking the surveillance link in the web UI.

As always...Thanks in advance!
CT



System Details
--------------
OpenNMS Version: 1.12.5
Java Version: 1.6.0_24 Sun Microsystems Inc.
Java Virtual Machine: 19.1-b02 Sun Microsystems Inc.
Operating System: Linux 2.6.32-431.11.2.el6.x86_64 amd64
Servlet Container: jetty/7.6.12.v20130726 (Servlet Spec 2.5)
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36


Request Details
---------------
Locale: en_US
Method: GET
Path Info: null
Path Info (translated): null
Protocol: HTTP/1.1
URI: /opennms/errors/unknownexception.jsp
URL: http://XXX.XXX.XXX.XXX:8980/opennms/errors/unknownexception.jsp
Scheme: http
Server Name: XXX.XXX.XXX.XXX
Server Port: 8980

Exception Stack Trace
---------------------
org.springframework.orm.ObjectRetrievalFailureException
                at org.opennms.web.svclayer.support.DefaultSurveillanceService$SurveillanceView.getOnmsCategoriesFromViewCategories(DefaultSurveillanceService.java:277)
                at org.opennms.web.svclayer.support.DefaultSurveillanceService$SurveillanceView.getCategoriesForColumn(DefaultSurveillanceService.java:264)
                at org.opennms.web.svclayer.support.DefaultSurveillanceService$VeryLowMemCellStatusStrategy.calculateCellStatus(DefaultSurveillanceService.java:206)
                at org.opennms.web.svclayer.support.DefaultSurveillanceService.createSurveillanceTable(DefaultSurveillanceService.java:333)
                at sun.reflect.GeneratedMethodAccessor825.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
                at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                at $Proxy91.createSurveillanceTable(Unknown Source)
                at org.opennms.web.controller.SurveillanceViewController$1.run(SurveillanceViewController.java:132)






Chris Tallerico
Sr. Consultant
[cid:[email protected]]

Technology Manager for Premier Commercial Buildings Nationally
Office 866.824.8362 | Cell 415.509.0567 | [email protected]<mailto:[email protected]>





------------------------------------------------------------------------------

Learn Graph Databases - Download FREE O'Reilly Book

"Graph Databases" is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/NeoTech




_______________________________________________

Please read the OpenNMS Mailing List FAQ:

http://www.opennms.org/index.php/Mailing_List_FAQ



opennms-install mailing list



To *unsubscribe* or change your subscription options, see the bottom of this page:

https://lists.sourceforge.net/lists/listinfo/opennms-install

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
image001.jpg (image/jpeg, 2.6 KB) - not displayed