Re: surveillance link error

Chris Tallerico <[email protected]> Mon, 21 Apr 2014 13:48:38 +0000
Newsgroups gmane.network.opennms.install
Message-ID <1C83001B13EC2948A323D6ADB82A66D9DF75CE@P3PWEX4MB010.ex4.secureserver.net>
Hi Ronny,

The categories are there...Tried both default and custom catagories....No luck




Chris Tallerico
Sr. Consultant


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

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Saturday, April 19, 2014 6:18 PM
To: Installation questions and help
Subject: Re: [opennms-install] surveillance link error

Hey Chris,

The surveillance view is a matrix over two surveillance categories. You probably get this error for the reason you don't have the configured surveillance categories in your system as they are configured in the surveillance-view.xml. Please check which surveillance categories are configured as rows and columns and verify if they exist in the WebUI "Admin -> Manage surveillance categories". If not just create them they can be empty. Check if the error still exist.

Greetings Ronny 

Gesendet von meinem mobilen Datenfernübertragungsgerät



-----Original Message-----
From: Chris Tallerico <[email protected]>
To: Installation questions and help <[email protected]>
Sent: Sat, 19 Apr 2014 6:45 PM
Subject: Re: [opennms-install] surveillance link error

Markus,

As an aside, I'm also getting this pop up error when going to the "Dashboard".....I'm guessing its related to not being able to access the surveillance.

com.google.gwt.user.client.rpc.StatusCodeException: 500 The call failed on the server; see server log for details




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: Chris Tallerico
Sent: Saturday, April 19, 2014 8:30 AM
To: 'Installation questions and help'
Subject: RE: [opennms-install] surveillance link error

I get the same error.

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: XXXXXXXXXXX
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]>

From: Markus Neumann [mailto:[email protected]]
Sent: Saturday, April 19, 2014 4:20 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [opennms-install] surveillance link error

The fragment of the configs looks ok.
Complete it should look like the attached one.
what error do you get with the default one?
Am 19.04.2014 03:40, schrieb Chris Tallerico:
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"<http://www.opennms.org/xsd/config/surveillance-views>
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<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"<http://www.opennms.org/xsd/config/surveillance-viewshttp:/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]<mailto:[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

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
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