Duplicate events in Dell-related files in etc/events
Description
Environment
Acceptance / Success Criteria
Lucidchart Diagrams
Activity
Seth Leger April 6, 2015 at 4:22 PM
Marking as fixed since pull request was merged for 14.
Cyrille Bollu November 20, 2014 at 3:31 AM
This issue has most probably been resolved in OpenNMS 14.
I'll verify and close this issue this when I install OpenNMS 14.
Feel free to close this issue if you know for sure it's been fixed in OpenNMS 14.
Here's the reference to the PR: https://github.com/OpenNMS/opennms/pull/109
Cyrille Bollu August 22, 2014 at 4:56 AM
Just to be clear, I'm not finished at all.
My plan is to do the following:
1- remove all duplicates from Dell.events.xml. So, practically splitting up this file into smaller files, which is more consistent with how the "SNMP MIB compiler" UI works.
2- move all remaining event definitions in Dell.events.xml into the smaller files. Finally, deleting the Dell.events.xml file
3- update the smaller files with remaining event definition obtained from Dell's latest mibs (as found here: ftp://ftp.us.dell.com/sysman/DCMIB65.zip)
4- issue a pull request
Cyr
Cyrille Bollu August 21, 2014 at 4:28 AM
Just to let you know where my work is:
Jeff Gehlbach July 25, 2014 at 9:55 AM
Merci, Cyrille!
Details
Assignee
Cyrille BolluCyrille BolluReporter
Robin BowesRobin BowesComponents
Fix versions
Affects versions
Priority
Major
Details
Details
Assignee
Reporter
Components
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty Incident
PagerDuty
PagerDuty Incident
PagerDuty

Looking at the events files in $OPENNMS_HOME/etc/events there seem to be
several Dell-related files:
ls Dell* -l
rw-rw-r- 1 root root 375173 Oct 13 19:48 DellArrayManager.events.xml
rw-rw-r- 1 root root 14193 Oct 13 19:48 Dell-DRAC2.events.xml
rw-rw-r- 1 root root 703770 Oct 13 19:48 Dell.events.xml
rw-rw-r- 1 root root 66355 Oct 13 19:48 DellOpenManage.events.xml
rw-rw-r- 1 root root 46579 Oct 13 19:48 DellRacHost.events.xml
rw-rw-r- 1 root root 149750 Oct 13 19:48 DellStorageManagement.events.xml
My problem is that there are a few trap types missing [1] and I'd like
to add events for them but I'm not sure while file they should go in or
where all the information in the event definitions comes from.
Also there seems to be duplication, ie. the same event name is in
multiple files.
For example: alertBatteryFailure
This is in both Dell.events.xml & DellStorageManagement.events.xml with
an ID of 1154 and an uei of
"uei.opennms.org/vendor/Dell/traps/alertBatteryFailure"
I think this should be cleaned up to remove duplication.
I will create a separate ticket regarding the missing events.