* 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
* basic hatteras dslam integration
* snmprec and json test files
* fix HN4000e variant
* add hn4000e variant
* logo and yaml fixes
* change type in test file
* inexistent(?) disco module removed: route
* Update hatteras.yaml
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Mock astext
avoid dns failures
* whitespace
* fix arista
* restore test data except astext
* restore test data except astext
* Full fresh run
* Move DI call into class
* Added Fortigate SD-WAN Health checks
* Add unit test
* Fix for displaying user description when F2A isnt used
* Revert "Fix for displaying user description when F2A isnt used"
This reverts commit d9f170d7e600559e17970c0f6855b35bf4f76a88.
* Fix for displaying user description when F2A isnt used
* Fixing comments
* Requested changes, with modified tests
* adding the correct tests
* fix tests
* fix tests
* Testing issue resolved
* fixing tests
* API graphs, variable whitelist
Restore several missing parameters that relied on graphing code fetching from $_GET directly.
Whitelist valid parameters to set on the request get
Move common parameter handling into common code
* Fix style
* Include previous
sysDescr, sysObjectID should not change unless the device is swapped, which would need a rediscover anyway.
sysName is not needed, polling here overwrites custom sysName discovery.
Poll sysDescr, sysObjectID if they are not filled (poller run before discovery) as they are required for a lot of code to work right.
* adding new os: vutlan
* renaming mib file, moving mib file to vendor folder, removing commented code
* Cache version data (#14404)
* Cache version data
Calling cli commands can be expensive, cache the results.
* style fixes
* Fix pre-laravel usage
* fix lint
* Revert "Cache version data (#14404)"
This reverts commit e426a9299db1dd4252bf0785f7ed193f3c46a308.
* fixing descr for door state and removing comments
* adding tests and moving vutlan definition file
* adding num_oid value for tests
* Rename VUTLAN-SYSTEM-MIB.mib to VUTLAN-SYSTEM-MIB
* Update vutlan_vt825.json
* updating test data
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Do not always show graph title.
Setting the default title too early cause the titles to always be shown.
AFAIK, they should only be shown when:
- title is set by the user or graph itself (not 100% sure)
- the title variable is set
* Use default for empty titles too
* Don't clean titles so aggressively
* Only show title if explicitly shown
* A little more consistent default titles
* use built-in escape
* Actually show user titles if set
Handle single quotes in title
* initialize title
* $title doesn't need to be nullable
add method getTitle() to always get some text
* Revert incorrect formatting change
* whitespace fix
* Add a few breaks to avoid connection flooding
Adding a few sleep()s in the connection loop to avoid connection flooding on errors.
* Add lost bracket
* Add linebreaks to please StyleCi
* More Ci