xmldebianopennms

OpenNMS custom dashboard not showing


I'm trying to get our OpenNMS dashboard to show one of our custom surveillance groups. I've edited surveillance-views.xml in:

/etc/opennms

<?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="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>
     <row-def label="Zinwave">
       <category name="zinwave">
     </row-def>
   </rows>
  <columns>
    <column-def label="PROD" >
      <category name="Production" />
    </column-def>
    <column-def label="TEST" >
      <category name="Test" />
    </column-def>
    <column-def label="DEV" >
      <category name="Development" />
    </column-def>
  </columns>
</view>

The row Zinwave however doesn't show up on the dashboard. The surveillance group zinwave exists and has 2 devices in it. There are no users with a defined custom dashboard, so everyone should see the default.

Can anyone explain me why I'm not seeing the Zinwave group on my dashboard?


Solution

  • You have a typo in:

    <category name="zinwave">
    

    this should be:

    <category name="zinwave" />