Commit Graph

3 Commits

Author SHA1 Message Date
Tony Murray
d1b7004fef Severity Enum (#14620)
* Severity Enum
Replace old Alert constants

* Fix whitespace

* Additional uses

* style fixes

* Fix test too

* More missed locations

* More
2023-08-05 12:12:36 -05:00
Tony Murray
26318dc4b3 Improve trap testing (#14546)
* Improve trap testing
Add helper log() to Trap
Avoid saving to the database at all

* style

* Move all traps to $trap->log()

* Update tests

* Lint and style fixes

* Use correct partial mock call

* more style

* Add docs

* debug in ci

* use the correct log function....................

* all, I guess

* not the first??

* 3rd?

* use event_id to order
2022-11-05 14:43:54 -05:00
paulierco
53d3495b7e Add Alcatel Omniswitch Traps Handlers (#13492)
* first

* style1

* lint

* add another trap

* add another trap

* change juniper to alcatel

* style

* style

* style
2021-11-20 09:10:19 -06:00