Bonjour tout le monde,
Actuellement j'essaie de mettre en place une plateforme de Monitoring avec Opennms. J'ai réussi a installer le logiciel (après plusiseurs difficultés surmonter au niveau compatibilité de librairies....), mais des erreurs persistes. Lorsque j'arrive sur mon interface de gestion et que je clique sur l'onglet "Surveillance", j'ai le message d'erreur suivant:
-----------------------------------------------------------------------------------------------------------------
The webUI has encountered an exception condition that it does not know how to handle.
Possible causes could be that the database is not responding, the OpenNMS application has stopped or is not running, or there is an issue with the servlet container.
You can try going to the main page and hitting "refresh" in your browser, but there is a good chance that will have no effect. Please bring this message to the attention of the person responsible for maintaining OpenNMS for your organization, and have them insure that OpenNMS, the external servlet container (if applicable), and the database are all running without errors.
Error Details
java.lang.Exception: SurveillanceView Builder Thread threw exception: [org.springframework.orm.ObjectRetrievalFailureException] Unable to locate OnmsCategory named: Production as specified in the surveillance view configuration file
at org.opennms.web.controller.SurveillanceViewController.handleRequestInternal(SurveillanceViewController.java:103)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:858)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
-------------------------------------------------------------------------------------------------
Il y a encore plusieurs lignes mais l'essentiel est là. Je n'arrive pas à cibler le problème. Le fichier de configuration dont il est question, je ne l'ai pas modifié:
-------------------------------------------------------------------------------------------------
<?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/ [...] .xsd"
default-view="default" >
<views >
<view name="default" refresh-seconds="300" >
<rows>
<row-def row="1" label="Routers" >
<category name="Routers"/>
</row-def>
<row-def row="2" label="Switches" >
<category name="Switches" />
</row-def>
<row-def row="3" label="Servers" >
<category name="Servers" />
</row-def>
</rows>
<columns>
<column-def col="1" label="PROD" >
<category name="Production" />
</column-def>
<column-def col="2" label="TEST" >
<category name="Test" />
</column-def>
<column-def col="3" label="DEV" >
<category name="Development" />
</column-def>
</columns>
</view>
</views>
</surveillance-view-configuration>
-------------------------------------------------------------------------------------------------
Est-ce que quelqu'un a une idée ?
Merci d'avance.
Sabrina