* replace is_int with is_numeric
* update the docs for wireguard for the new extend
* relocate the app data bit
* update the data for the wireguard test
* start reworking the wg app page... details part done
* app page mostly done
* finish the wireguard app page
* style fix
* now sorted
* add additional info to the peer page
* style fixes
* a small fix for the links
* style fix
* make the pubkey column in details link to the peer page
* escape the pubkey
* CHG: Dynamic debug flag and ability to exclude networks.
* Update config_definitions.json
* Update settings.php
* Update documentation.
* FIX: StyleCI Fixes.
* FIX: StyleCI Fixes.
* CHG: Changed excluding by network to by group membership
* Update settings.php
* Update config_definitions.json
* Update documentation.
* FIX: StyleCI Fixes.
* FIX: StyleCI Fixes.
* FIX: Fetch device data from cache.
* Add a check to see if we are trying to exclude by group before fetching groups.
* remove whitespace
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* checkpoint work for now
* polling should be good now
* re-work php-fpm some more
* re-work the php-fpm app page
* add php-fpm_v1_combined.inc.php
* add more graphs
* more work
* add last request cpu
* fix stats for pools
* more graph work
* update the docs for php-fpm
* more graph work
* more graph stuff
* graph stuff now done
* some style fixes
* another style fix
* remove a unneeded use line
* add new tests
* add some missing items to the test
* json fix
* remove start time and add data
* add nfs-shared.inc.php
* add nfs poller
* polling now works
* add nfs.inc.php page
* mount options works now
* format cleanup
* add some missing items to the stats
* commit work from last night so I can swap over to ldap
* add gauge support
* save the OS type for it
* more work on NFS stuff
* more nfs work
* display cleanup some
* more nfs work
* update docs for NFS
* add nfs_server_rpc
* style fix
* add snmprec file
* more test stuff
* data cleanup
* style cleanup
* more style fix
* another style fix
* add deleted_at
* add client_rpc_info_calls
* more test tweaks
* more tweaks
* set two items as gauges that should be gauges
* convert a few more things from counters to gauges
* a few more tweaks for NFSv4
This is to avoid the following error when trying to poll:
```
file_put_contents(/opt/librenms/cache/os_defs.cache): Failed to open stream: Permission denied {"exception":"[object] (ErrorException(code: 0): file_put_contents(/opt/librenms/cache/os_defs.cache): Failed to open stream: Permission denied at /opt/librenms/LibreNMS/Util/OS.php:113)"}
```
* packet_loss macros quick fix
Due to device_perf table going away, this macro no longer functions as it did.
Use device status to make it somewhat functional until a better solution can be found.
* remove space
* Add support for a maintenance boolean in API results.
If a device is under maintenance, it would be nice to see that from the
API. This can help drive other automation workflows where LibreNMS forms
a cornerstone in the management source of truth.
* Revert changes made by VSCode formatting.
* Revert two more formatting changes.
* Create a new API endpoint for GETing maintenance status.
This uses the same endpoint name as for setting a device to maintenance
but with a GET verb.
---------
Co-authored-by: Joe Clarke <jclarke@cisco.com>
* Improved Latency graph
Store loss+jitter info in rrd instead of database
New graph icmp_perf (legacy ping_perf still valid referencing part of the newer data)
Delete device_perf table
* Change loss to an area so it is more visible
* Style fixes
* Cleanups from phpstan & tests
* exit_code fix
* Remove alert usage of device_perf
* Don't use magic __get
* Add test for bulkPing
Add host to previous tests
* style fixes
* Fix issue fping error responses
* Pretty up Slack formatting.
* Normalize spaces by turning every instance of two or more spaces into
one space.
* Allow for custom URL links even when strip_tags() is in effect by
transformaing "standard" markdown syntax into Slack link markdown
after strip_tags() is run.
* Document the changes to the Slack transport.
While here, flesh out the Slack docs to match the configuration options
one currently sees in the transport.
* Use backticks to escape things from markdown rendering.
* We don't need this other escaping now.
* Fix custom link due to line break.
* Fix spelling typo.
---------
Co-authored-by: Joe Clarke <jclarke@cisco.com>
* remove unused entPhysicalIndex_measured
* tests
* tests
* doc
* entPhysicalIndex_measured must be ports OR null currently
* Should not pass tests
* tests
* back to normal
* Addition of influxdb-client-php to Composer.
* Addtion of InfluxDBv2 support.
* Addition of front-end options.
* Addition of documentation.
* Addition of the acknowledgement of the PHP library used.
* Fixed a unneeded bracket.
* Addition of a basic datastore test.
* StyleCI fixes.
* StyleCI fixes.
* StyleCI fixes.
* Fixed exception class.
* Revert accidental change.
* Fix to composer lock to not update all packages.
* Fix to composer lock to not update all packages, but still include the new Influx lib.
* Another attempt at getting Composer to behave the way I think it should work.
* Fixed merge-conflict in Composer due to #15869.
* Update composer.json
* Update composer.lock
* Update composer.json
* Update composer.lock
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
The @signedGraphTag section is wrong, it should not be "device_id" that fails to load, it needs to just be "device"
The server link below that is also wrong, it should not be "id", it should be "device"
* Add custom Field to Jira Payload
Allmost every Jira setup is diffenerent and requires customise information to be added to the API post.
This change will allow you add a custom fields to the '"fields": { }' using json format.
Examples: are provided in the TransportUI
* applying StyleCI fixes
* Updating Jira transport
* Updating Jira transport
* Updating Jira transport
* styleci fixes
* Renaming variables to align with existing conventions
* Fixing imput checks to make sure values are legit
* style
* Fix minor typo
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
Co-authored-by: Justin Lentz <monkeybrains7@gmail.com>
* update dhcp polling for version 3 of the extend
* add initial lease display for dhcp
* note where I copied it from
* document the new ISC DHCP stuff
* add in displaying pool and subnet info
* finalize the docs the new dhcpd stuff
* rework the dhcp page to display more information in a cleaner manner
* now display port and device info if known for a lease
* minor comment cleanup for the dhcp page
* add tests
* do not display the optionbar if the extend is not 3+
* update dhcp-stats doc for -w
* poke includes/html/functions.inc.php with php-cs-fixer
* poke includes/html/pages/device/apps/dhcp-stats.inc.php with php-cs-fixer
* derp... add the tests and not the snmprec twice
* strftime -> date
* fix naming of the linux dhcp-stats test data files
* minor tweaks to the rest results
* test fix
* more test cleanup
* minor test fix
* set the data value for v3
* minor test tweak
* add sortable_table blade template
* no longer need render_table
* formatting fix
* add regexp to make sure the mac is sane
* style fix
* formatting cleanup
* some more formatting fixes