Unsolved
This post is more than 5 years old
19 Posts
0
1568
October 21st, 2017 01:00
Cannot collect metrics when different module share same metrics name
Dear Expert,
We customized some MASK to collect data via SNMP collector, there are some metrics share same name but different parttype. We found that such metrics will not be collected, and the log show following kind warning:
WARNING -- [2017-10-21 15:24:17 PDT] -- ValueOffsetFilter::processValueWithOffset(): Test_76: Could not calculate new value: ... property 'StUnitSz' not found.
We guess this issue related to the MASK definition, and we use mibbrowser to define the MASK, not sure but it seems works fine if each metric have unique name. Could you please give some suggestion?
No Events found!
isakats
141 Posts
0
October 23rd, 2017 06:00
Hi warmghost,
The error you are getting is in the ValueOffsetFilter, this is one of the data enrichment steps after polling as completed, this should not prevent other metrics from being collected.
STUnitSz is part of the GENERIC-HOST-RESOURCES-STORAGE mask; is this capability / mask selected for the device you are trying to poll ? Can you walk the OID in the mib-browser of with snmpwalk i.e.: snmpwalk -v2c -c . 1.3.6.1.2.1.25.2.3.1 ?
Have you tried excluding the capability for the device ?
regards,
Isaka
warmghost
19 Posts
0
October 29th, 2017 18:00
Hi Isaka,
While add more metrics and parttype, this issue repeat again. It is strange that change metric name from "Capacity" to "capacity" can resolve some of the problems.
OID is correct, and these is only part of metrics under same Parttype get issue, most of the issue metrics are "Capacity".
warmghost
19 Posts
0
October 31st, 2017 05:00
Hi Isaka,
We found that the root cause is the Offset Filters like "calculate-size.xml", under "APG\Collecting\Value-Offset-Filter\Generic-SNMP\conf".
Seems it will impact all the metric name of "Capacity" and "UsedCapacity",we want to use our Offset Filter instead of default one, but we should not change default one because it may be used by others. May we know how to define the private Offset Filters, and make our mask not impacted by default filters like "calculate-size.xml"?