Ticket #3208 (new enhancement)
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)