From OpenNMS
Jump to navigation Jump to search

The OpenNMS NRTG feature provides "near" real-time graphing of collection data. It does so by bypassing the usual collectd infrastructure and instead calling collectors immediately, at a configurable rate.

To use NRTG graphs, view a node's resource graphs like you normally would ("Resource Graphs" from the node's page). For graphs that can be viewed in realtime, there will be a "Start NRT-Graphing for <graph name>" link above the graph. If you click it, it will pop up a new window which will look something like this:

NRTG Example.png

By default, it will poll the values in that graph every second, and update the graph accordingly, compressing the view as it adds data. You can change the interval to make it scan more or less often. Also, you can click the "compress" link in the upper-left corner of the image to change to a fixed time view.

NRTG currently only supports the SNMP protocol and uses the defined SNMP OIDs configured in the SNMP data collections.

NRTG will work when:

  • The graph is only using SNMP based metrics;
  • Its corresponding datacollection segment's label contains "SNMP" like "SNMP Node Data: Node-level Performance Data","SNMP Interface Data", or "General SNMP monitoring" (See below);
  • .meta files have correctly been created next the your rrd/jrb files and contain information about the metrics.

Here's an example of a datacollection segment allowing NRTG graphs:

<datacollection-group name="groupname">

    <resourceType name="resourcetype" label="SNMP abcdefhijklmopq" resourceLabel="resourcetype ${index}">
       <persistenceSelectorStrategy class="org.opennms.netmgt.collectd.PersistAllSelectorStrategy"/>
         <storageStrategy class=""/>