* Adds API call to update port notes on devices.
* Adds Cisco IETF-DHCP Server MIB and Trap Handlers.
* Updates local permissions changed.
* Linting cleanup.
* Moves test to a single file. Updates the args to match the status.
* Fixes tests failing for Cisco DHCP server SNMP traps.
* 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
* fix LinkUp and LinkDown trap parsing
These traps do not always include 'ifAdminStatus' and 'ifOperStatus' from IF-MIB,
which causes the fields to become NULL when traps are received.
Add checks that values exist, and add default value for ifOperStatus.
* Fix styleci complaint
* Update LinkDown.php
* Update LinkUp.php
* Update LinkUp.php
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Add Cisco Err Disable Mib
* Add new trap handler class
* Add ErrDisabled event handler
* Add ErrDisalbed event test
* remove unused line
* no ifindex message change
* Update unknown ifIndex message
* Add bad IfIndex test
* update description text
* style fixes
* change param to True for toString
* Add return type to test function
* style fix
* remove toString() and explode()
* remove unused line
* OspfTxRetransmit class
* Message tidyup
* Initial test class
* add ospftxretransmit class
* add empty line
* chnage int to string in traptext
* new block to catch non lsupdates trap
* Add second test
* lint fail changes
* extra space removed
* Secure MAC Violation event
* Add Cisco Port Sec Mib
* Add CiscoMacViolation class
* removed $ifIndex and $port reference
* change ifDescr for ifName
* New test
* style fix
* push apc trap handlers
* added unit test
* removed CR and fixed test
* switch cr for lf
* fixing ci complaints
* fixing another ci error
* fixed unit test
* annotating test
* Veeam fix and extend part 1
* Veeam SNMP traps
* StyleCI
* StyleCI
* Fix typo
* Lint
* Fix tests
* Fix tests :fingerscrossed:
* Think i get it now
* This is it?
* gotta be it
* Final
* Again
* Intitial push working tests
* Adding unit tests
* created interface state unit tests
* started ospf nbr unit tests
* finished nbr change unit tests
* precommit checks pass
* removed uneccsarry relationship
* Initial push
* power trap tests
* vmware heartbeat trap tests
* heartbeat trap test
* created utilclass for common functions
* Changed util class name to better reflect its use
* make vm power state changes to db
* Traps will modify DB
* Removed unecesarry relationship
* Added vminfo modelfactory, tests, and fixed format
* Added suspended state to ui
* Changed snmptrap.php and handlers to allow for alerts.
* Moved RunRules() to Dispatcher.php
* Modified includes, passes pre-commit tests locally.
* Converted RunRules to OO, fixed formatting in files found by TravisCI
* rebase, covert alert subsy to oop
* Modified init.php to call new Alert subsystem
* fixed dependencies
* Resolved undefined functions
* Fixed PingCheck.php not triggering
* Changed runAlerts to __construct
* Fixes
Can't have Config inside empty()
incorrectly named function (my fault)
poller.php missing shebang
organize imports