* Add support for Procurve devices
Syslog hook support added for automatic Oxidized backups of devices running Procurve
* Add documentation for HPE/Aruba Procurve devices
Update documentation to support configuration of example Syslog hooks for HPE and Aruba devices running Procurve
* Added ENT_HTML5 decoding for device configs
Previously single quote/apostrophes weren't being decoded correctly from ', leading to configs being misrepresented in LibreNMS. ENT_HTML5 allows for proper decoding.
* Change to less risky flag
* Update showconfig.inc.php
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Added ambient temp sensor and XUPS alarm OIDs
* I dumbed this down a bit, as I do not fully trust that I actually understand the xups mib.
Now we raise an alert if XUPS-MIB::xupsAlarms.0 is anywhere in the range 1-4
* Changed the index:-value for consistency
* added snmprec and json for my hardware/firwmare version
* reran save-test-data against all variants and renamed my latest snmprec properly
* Update eaton-mgeups_9pxle.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* don't hardcode index for Mikrotik LTE wireless statistics
* sync test data now that Mikrotik LTE index is no longer hardcoded
* sync tests data now that Mikrotik LTE index is no longer hardcoded
* fix whitespace
* sync test data now that Mikrotik LTE index is no longer hardcoded
* add test data for Mikrotik LtAP mini (aka RB912R-2nD)
* Re-write Routeros wireless code
It now works like most other devices
* fix style
* update baseline
* Remove station 60G rate
* use base unit of m, not km
* move interface stats name inside loop to avoid a walk when it does exist
* notification
* fix typo
Co-authored-by: Tony Murray <murraytony@gmail.com>
* remove ^M from DOS style file
* Support for West Mountain 4005i DC PDU
* update SVG to include width attributes
* try adding reserveAspectRatio="xMinYMin meet"
* remove width attribute
* removed disabled modules per @Jellyfrog comment
* rename per PR
* add missing test JSON data
* don't attempt to graph or detect uptime, as neither OID is supported
* remove file extension
* remove specific modules for discovery & polling, as this device isnt buggy enough for justify
* Update westmountainradio.yaml
* Update westmountainradio.yaml
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Run Alert Rules on Service status change.
Added Alert Rules to the poll_service function to trigger alerts outside of polling interval.
* Update services.inc.php
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Rewrite netstats polling
As modern module
Don't use snmpgetnext as it can result in extra data returned
* remove copyrights on interfaces
* typehints
* fix silly backslashes
Seems that uptime is not fillable, but it used in the new rewrite of Core Module. This fixes it. A few devices in my master instance failed with uptime
* Core module WIP
* update OS::make()
* core WIP
* try to finish up
* switch all core do os Model
* Mock WIP
* Working tests
* cleanup
* phpstan fixes
* style fixes
* fix agent
* trim space too
and a couple of cleanups
* corrected ios test data
* missed space
* update test data
* put escapes back
* another net-snmp difference
* Fix class description
* revert snmp.inc.php change, that can be a different PR
* revert snmp.inc.php change, that can be a different PR
* Added Unpolled Devices rule to collection
* fixing the incorrect syntax
* Using different approach for determining if devices aren't polled
* Update alert_rules.json
* Update alert_rules.json
* Update alert_rules.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Modified SQL delete for is NULL instead of = null
* Fixed spacing
* Fixed more spacing issues
* Replaced double quotes with single quotes for echo statement
* Fixed more spacing issues
* Modified null vrf db check to match vrp.inc.php
* Clean up comments
* Modified git username to fix CLA
* Revert bgp-peers.inc.php
Co-authored-by: Kate Robinson <katerobinson@KateRobinson-imac.local>
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Add new OID for humidity sensor for opengear devices.
* Typo fix
* Fixed typo: wrong OID
* Added opengear humidity test data JSON
* Removed ogEmdHumidityTable from cache.
* Added SNMP sim data for testing
* Update opengear_humidity.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* use Blade view and Eloquent models for plugins
* move views
* fix style
* fix style
* revert mistake
* Update Plugin.php
delete test property "name"
* rename plugin function to settings
* last but not least - rename in Test.php
* Rename Test to Example
* fix typo
* fix style
* fix style
* fix style
* fix style - I hate tabs...
* Extract view calls
* fix method calls and style
* Move Models the the abstract class
* fix style
* Convert to traits
* Change the Example description
* Fix style
* Fix style
* Fix style
* Convert plugin function to Model static methods and delete .inc.php
* fix style
* fix style
* Use scope
* final methods blows up legacy code
* Config > \LibreNMS\Config
* convert the static string to a static method
* Correct placement in the page
* fix tabs
* fix style
* Rename from tait to hook
to make it easier to understand and be complient
* rename file
* Typo
* Started to change the docu
* change to a more usefully Device_Overview example
* and activate of course
* PluginManager
* fix .gitignore
* only php files in the root folder
* corrected .gitignore with all files :)
* Rename the Hooks and ExampleClass for better readability
* Fix style
* Fix style
* Exception handling (especially if DB is not present)
* Fix style and update schema
* fix indentation
* actually correct indent
* fix migration collation check include utf8mb4_bin
* stop phpstan whining
* A view lines documentation
* add typeHints
* Allow return null on handle
* lint
* fix return types
* fix logic of column collation check
* Fix MenuEntryHook
* switch to longtext instead of json type for now :D
* try phpstan on PHP 7.3
* set phpstan target version to 7.3
* all the typehints
* optional
* more
* Use namespace to prevent view collisions
disambiguate plugin and hook
no magic guessing of names in PluginManager, bad assumptions
remove unused plugins from the DB
* cleanup plugin menu
* cleanup on shutdown and ignore but log query error on cleanup
* instanceof must be called against an instance
* Allow multiple hooks per plugin
* Port plugin ui code to Laravel
* page instead of settings for v1 plugins
* actually working settings pages
a little url cleanup plugin/admin -> plugin/settings
* fix style
* Add page hook
* PHPstan
* Try to fix Illuminate\Http\RedirectResponse
* typehint
* Rewrite the doc
* Fix style
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Add group filter to alertlog widget
* Remove extra characters from settings
* Apply fixes from StyleCI
Co-authored-by: ottorei <ottorei@users.noreply.github.com>
* endrun_updated_support
* Added requested changes
* Converted to yaml
* Fixed Tempus Features
* fixed test data (again)
* Update endrun_sonoma.json
* fix gitignore
* fix last gitignore
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Updated mib
* Add support for IOS/IOSXE PoE stats
* Added testdata
* Better titles for Power-tab in Health
* Added low_limit for iosxe
* Update ios_2960x.json
* Added high_limit for ios
* update ios_2960x
* update ios_2900l
* pre-cache is not needed
will only slow polling down in some cases
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Updated mib
* Add support for IOS/IOSXE PoE stats
* Added testdata
* Better titles for Power-tab in Health
* Added low_limit for iosxe
* Basic support for Enviromux devices
* Fixes
* Revert "Added low_limit for iosxe"
This reverts commit 645e3b423a.
* Removed commits from wrong branch
* Removed limits due to not working, need php
* Added testdata
* Update nti.svg
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
* Dusk: improve speed
Instead of refreshing the database between tests, just cleanup all side effects.
Update UserFactory to upstream so hash never has to be generated for default
* Actually, migrate, but not fresh
No snom os exists anymore.
According to very old files, sysDescr should contain the string "snom".
I checked on stats and no one reports an snom phone added to LibreNMS.
I can't add the os detection, so just remove these.
Netstats PR will remove other snom references
* Dispatcher bugfix queues not being disabled properly
Introduced in #13355
Affected queues: Alerting, Discovery, Services, Ping
Adjust log level of several messages
* better formatting? looks like garbage python black
* Dispatcher: Don't update workers/frequency when updating stats
* Fix the right thing
* Don't set poller groups on the cluster entry, this way config.php can override if it hasn't been set by the webui
* Added support for Teltonika RUTX series routers
* Added snmprec file for testing
* Update and rename rutos-RUTX.yaml to rutos-rutx.yaml
Fix OS name
* Rename rutos-RUTX.yaml to rutos-rutx.yaml
* Rename rutos-RUTX_rutx11.snmprec to rutos-rutx_rutx11.snmprec
* Create rutos-rutx_rutx11.json
* Fix: Device discovery OID removed tab
* Remove whitespace
Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: hjcday <hugh.day@lsv.com.au>