Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12991

Missing datacollection file does not bring valueable error message

    XMLWordPrintable

Details

    • Unexpected Behavior
    • Status: Resolved (View Workflow)
    • Medium
    • Resolution: Fixed
    • 26.1.1
    • 31.0.0
    • Data Collection - JMX
    • Security Level: Default (Default Security Scheme)
    • Horizon 2021 - Feb 3 - Feb 17, Horizon - May 11 - 25
    • NB

    Description

      When you delete an xml file in jmx-datacollection.d folder and collectd-configuration points to it, OpenNMS starts and raises a datacollection error. For example:

      
      An undeclared throwable was caught during data collection for interface 1854/10.10.5.110/JMX-Java8-JVM

      This message does not help to find the real issue.

      Collectd is referencing the datacollection name as you can see here

      <service name="JMX-Java8-JVM" interval="300000" user-defined="false" status="on">
       <parameter key="port" value="18980"/>
       <parameter key="retry" value="2"/>
       <parameter key="timeout" value="3000"/>
       <parameter key="rrd-base-name" value="java8-jvm"/>
       <parameter key="collection" value="java8-jvm"/>
       <parameter key="thresholding-enabled" value="true"/>
       <parameter key="ds-name" value="java8-jvm"/>
       <parameter key="friendly-name" value="java8-jvm"/>
      </service>

      So it knows where to search for datacollection files. It should complain about the missing datacollection and/or datacollection file.

      Attachments

        Issue Links

          Activity

            People

              Hutchinson James Hutchinson
              fuhrmann Marcel Fuhrmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: