RRD data collection irregularity

JohnD Blackburn <[email protected]> Thu, 20 Sep 2018 03:27:48 +0000
Newsgroups gmane.network.opennms.general
Message-ID <AM6PR0602MB33819A4D6D0E6CE826C1616FCB130@AM6PR0602MB3381.eurprd06.prod.outlook.com>
Hi all,

I'm running OpenNMS 22.0.3 and, I've set up an snmp logmatch configuration but I'm having trouble with the data being recorded in the RRD files

The data collection group is defined as:

    <group name="ABBCS-logmatch-rfinteg" ifType="ignore">
        <mibObj oid=".1.3.6.1.4.1.2021.16.2.1.5" instance="1" alias="rfTotalCalls" type="Counter32" />
        <mibObj oid=".1.3.6.1.4.1.2021.16.2.1.5" instance="2" alias="rfNewIncidents" type="Counter32" />
        <mibObj oid=".1.3.6.1.4.1.2021.16.2.1.5" instance="3" alias="rfExistingTickets" type="Counter32" />
        <mibObj oid=".1.3.6.1.4.1.2021.16.2.1.5" instance="4" alias="rfCreatedTickets" type="Counter32" />
        <mibObj oid=".1.3.6.1.4.1.2021.16.2.1.5" instance="5" alias="rfCILookupFailures" type="Counter32" />
        <mibObj oid=".1.3.6.1.4.1.2021.16.2.1.5" instance="6" alias="rfCINotInService" type="Counter32" />
    </group>

Rrd config is:
      <rrd step="300">
         <rra>RRA:MAX:0.5:1:8928</rra>
         <rra>RRA:MAX:0.5:12:8784</rra>
         <rra>RRA:MAX:0.5:480:366</rra>
         <rra>RRA:MIN:0.5:12:8784</rra>
         <rra>RRA:AVERAGE:0.5:12:8784</rra>
      </rrd>

(that was originally AVERAGE, instead of MAX, I changed to MAX to see if it would fix the issue but it didn't)

So, the RRD database is set to 5 minute intervals, data collection is set to 5 minute intervals so there should be 1 data collection per RRD time period.

The actuall data collected for one of the above objects is:
2018-09-20 12:24:00,554 INFO  [Collectd-Thread-25-of-50] o.o.n.c.p.r.RrdPersistOperationBuilder: updateRRD: updating RRD file /opt/opennms/share/rrd/snmp/fs/Servers/aue-s-rfinteg01/rfNewIncidents.jrb with values '1537410241:3172'
2018-09-20 12:26:42,092 INFO  [Collectd-Thread-25-of-50] o.o.n.c.p.r.RrdPersistOperationBuilder: updateRRD: updating RRD file /opt/opennms/share/rrd/snmp/fs/Servers/aue-s-rfinteg01/rfNewIncidents.jrb with values '1537410402:3173'
2018-09-20 12:31:42,803 INFO  [Collectd-Thread-36-of-50] o.o.n.c.p.r.RrdPersistOperationBuilder: updateRRD: updating RRD file /opt/opennms/share/rrd/snmp/fs/Servers/aue-s-rfinteg01/rfNewIncidents.jrb with values '1537410703:3175'
2018-09-20 12:36:43,165 INFO  [Collectd-Thread-17-of-50] o.o.n.c.p.r.RrdPersistOperationBuilder: updateRRD: updating RRD file /opt/opennms/share/rrd/snmp/fs/Servers/aue-s-rfinteg01/rfNewIncidents.jrb with values '1537411003:3175'
2018-09-20 12:41:44,235 INFO  [Collectd-Thread-43-of-50] o.o.n.c.p.r.RrdPersistOperationBuilder: updateRRD: updating RRD file /opt/opennms/share/rrd/snmp/fs/Servers/aue-s-rfinteg01/rfNewIncidents.jrb with values '1537411304:3176'
2018-09-20 12:46:45,244 INFO  [Collectd-Thread-15-of-50] o.o.n.c.p.r.RrdPersistOperationBuilder: updateRRD: updating RRD file /opt/opennms/share/rrd/snmp/fs/Servers/aue-s-rfinteg01/rfNewIncidents.jrb with values '1537411605:3177'
2018-09-20 12:51:46,229 INFO  [Collectd-Thread-31-of-50] o.o.n.c.p.r.RrdPersistOperationBuilder: updateRRD: updating RRD file /opt/opennms/share/rrd/snmp/fs/Servers/aue-s-rfinteg01/rfNewIncidents.jrb with values '1537411906:3178'
2018-09-20 12:56:47,237 INFO  [Collectd-Thread-17-of-50] o.o.n.c.p.r.RrdPersistOperationBuilder: updateRRD: updating RRD file /opt/opennms/share/rrd/snmp/fs/Servers/aue-s-rfinteg01/rfNewIncidents.jrb with values '1537412207:3178'
2018-09-20 13:01:48,293 INFO  [Collectd-Thread-37-of-50] o.o.n.c.p.r.RrdPersistOperationBuilder: updateRRD: updating RRD file /opt/opennms/share/rrd/snmp/fs/Servers/aue-s-rfinteg01/rfNewIncidents.jrb with values '1537412508:3180'


So I'm getting discrete steps in the data which you would expect as it is a count of lines matching in the log file.

However, the data being stored in the RRD is not reflecting the measured data.

According to jrobin_inspector, the last value was "3.180000000E03" which is equivelant of 3180 which is 2 more than the previous value, so I would have expected a value somewhere around 2 to be recorded for that 5 minute period, however,  All the recorded values are orders of magnitude lower than expected, and I can't explain why the value in RRD is so low

[cid:[email protected]]


What's wrong with my configuration that the stored values in the RRD do not match the values inserted?  I would have thought that using the MAX function should at least be recording values that reflect the change in the counter data being returned.

Or is this an issue with how Jrobin is processing Counter type data?

Regards,
John Blackburn

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
image003.png (image/png, 10.9 KB) - not displayed