Bug 1515980
| Summary: | [RFE]tendrl-notifier reuses single (or small set) MIB for snmp trap messages | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Martin Bukatovic <mbukatov> | ||||
| Component: | web-admin-tendrl-notifier | Assignee: | Nishanth Thomas <nthomas> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | sds-qe-bugs | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rhgs-3.3 | CC: | mkudlej, rhs-bugs | ||||
| Target Milestone: | --- | Keywords: | FutureFeature, ZStream | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-12-07 11:04:47 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 1515276 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Martin Bukatovic
2017-11-21 17:48:25 UTC
Asking Luboš to provide additional information and insight, as he originally suggested to check this. For sure if we want to have SNMP correctly implemented we should also have proper MIB and OIDs, where: MIB stands for Management Information Base and is a collection of definitions that define the properties of the managed object within the device to be managed. MIB files are written in an independent format and the object information they contain is organized hierarchically. The various pieces of information can be accessed by SNMP. OIDs or Object Identifiers uniquely identify managed objects in the MIB. Of course anyone can send snmp trap without deeper knowledge. In other words use some strange ID, as that's mandatory attribute, and put there just different message for different traps, but that's not how things should look like. If you look on the logged snmp traps some MIB was used, because it has to. A SNMPv2-MIB.mib was used and so all web admin traps are "SNMPv2-MIB::coldStart" (OID 1.3.6.1.6.3.1.1.5.1) which means
1 iso
3 identified-organization, org, iso-identified-organization
6 dod
1 internet
6 snmpV2
3 snmpModules
1 snmpAlarmNextIndex, snmpMIB
1 snmpMIBObjects
5 snmpTraps
1 coldStart
DESCRIPTION
"A coldStart trap signifies that the SNMP entity, supporting a notification originator application, is reinitializing itself and that its configuration may
have been altered."
Should not be OID something under '1.3.6.1.4.1.2312'?
1 iso
3 identified-organization, org, iso-identified-organization
6 dod
1 internet
4 private
1 enterprise, enterprises
2312 RedHat Software
For upcoming release we could choose some OID from existing ones, it's clear we should choose some more proper. It still will not be good as all traps will have the same OID, which should not. Because then it's not easy to process them. But at least it will make more sense than it has now.
I admit I am not sure what exactly SNMPv2-SMI::private.2312.19.1.0 means however if 2312 here stands for 'RedHat Software' than it should be 'enterprises.2312' not 'private.2312'.
Proposing to address this in a future release. Moving this out This is something which incurs huge development effort. Looking at current scope, I don't see this getting implemented in the near future. Closing the Bz |