Ticket #3208 (new enhancement)

Opened 8 months ago

Last modified 4 weeks ago

Allow use of same OID more than once in perf templates

Reported by: zenoss Owned by: ecn
Priority: 3 - Medium Milestone: Blue Crab
Component: ZenRRD Version: 2.2.0
Keywords: Cc:
Community Patch Attached: Deployed @ Customer:
Installer: Any/All Maintenance Target:
Specific ZenPack: Maintenance Status:
Documentation Note?: Not required Regression:

Description

In performance montoring templates:
At present it is not possible to use the same OID more than once per device - this causes some 'odd' behavior as it is not possible to use an OID at device level if it is in use at interface level. Also it prevents (EG) creating a 'summary' performance page for the device using interface stats etc.

The root cause is that the zenperfsnmp.py script uses the OID as an index for the collection & storage process which has the side effect of 'de duping' the storage process. The fix is to use the RRD file name as the index. This requires a slight recoding of the storage process as there is no longer a direct mapping between the OID collection and the storage collection.

I have modified the zenperfsnmp.py script (modifications are flagged with # DJM for ease of location & I have created copies of the functions with major changes)

Attachments

zenperfsnmp.py (23.6 kB) - added by zenoss 7 months ago.
Updated to fix thresholds!

Change History

Changed 7 months ago by zenoss

Updated to fix thresholds!

Changed 7 months ago by zenoss

Ooops - ins wapping the use of the .path property (rrdpath now used as key) and string the oid in there (was used as key) I missed the Threshold checking code....

Now changed so it works!

(djmuk)

Changed 3 months ago by bbibeault

  • reviewed set to 0

Changed 4 weeks ago by bbibeault

  • installer set to Any/All
  • milestone set to Blue Crab
Note: See TracTickets for help on using tickets.