* Merge duplicate toBytes functions
Replace other duplicate code and add tests
* Allow space between similar to formatSI output
* Style fixes
* Match previous behavior in Docker app
* 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>
* rls definition
* Adding discovery
* Temp Sensor Discovery
* files for discovery
* Adding and updating MIBS
* Add snmpsim
* Modified yaml for unit test
* phpfmt format
* ci changes
* fixing temp sensor
* fix json
* db schema out of date causing bad snmpsim json
* changed temperature discovery to php
* With updated snmpsim data
* index_string restored, YAML for temperature
* style
* Fixed index_string usage in JUNOS files
* Update YamlDiscovery.php
Allow filtering on "index" in skip_values
* Move DBM to YAML as well
* style
* schema update
* Slot XX Yyyyyy
remove unwanted dot
* matching tests
* schema, round 2
* states in YAML
* put temp sensor back in yaml
* enable default poll and discovery modules
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* 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>
* merge templates
* fix merge issues
* fix bad merge
* adding snmprec for x11 variant
* better description for psu and vbat sensors + update overview
* oid name
* adding snmp_bulk: false back in so as to not break older hardware
* make atenpdu more specific so it does not match supermicro-bmc devices
* update x10 variant json
* updated supermicro logo and fixed data json
* updated supermicro logo
* json and snmprec got out of sync somehow
* Handled rttMonLatestJitterOperPacketOutOfSequence and rttMonLatestJitterOperPacketMIA not being present on Cisco Nexus9000 routers by defaulting to null value when not found.
Non-existance of OIDs confirmed here: https://cisco.github.io/cisco-mibs/supportlists/nexus9000/Nexus9000MIBSupportList.html
* Added snmp test data
* Removed superfluous comments
* Fixed sla number in test data
* Removed spacing
* Removed ?
* 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>
* Add support for Webex max message length.
Webex limits messages to just over 7 KB. Some alerts might be longer
than this. So truncate the message with ellipses.
While here switch to using the new API URL.
* Use spaces.
Formatting got messed up on the transfer from test to dev.
* Do the truncation after the message is massaged.
This may yield a few more allowed characters.
---------
Co-authored-by: Joe Clarke <jclarke@cisco.com>
* Update to new HP-DOT1X-EXTENSIONS-MIB
* Add NAC support to Procurve OS
* Fix code style issues.
* Fix more code style issues.
* Fix code style issues. For real this time.
* Update HP-DOT1X-EXTENSIONS-MIB dependencies.
* use ::table(2) rather than reinventing the wheel.
* Fix the code style issues.
* Lancom SNMPrec
* Lancom test data
* Lancom MIBS
* Lancom discovery
* Lancom LX/SX support
* Lancom
* Style CI
* Delete tests/snmpsim/lcossx_gs3510xp.snmprec
This device returns all possible vlans as interfaces, so we get roughly 4k interfaces. This makes the test file too big (>25M). Deleting this device as test data
* Update Lcossx.php
* New Lancom logo
* Remove height/width attribute
* SVG
* Add files via upload
* search improvement for PortNac
* rename func
* style
* DB migration for timestamps
* style
* rules
* fix manually db_schema
* remove vlan only search for now
* add a bool column to ident historical nac entries
* add columns to the table
* queryByOui renamed everywhere
* age value instead of delete
* style
* style
* use Illuminate\Support\Facades\DB;
* tests fix
* module_tables.yaml
* dump model instead of tests/module_tables.yaml
* tests
* testVrp
* daily
* config
* display historical NAC entries in global view
* same for NAC device page
* nac tab on device/port view
* and display the tab link if necessary
* filter by port as well
* historical data in port tab
* formatters
* Rename JiraServiceManagement.php to Jiraservicemanagement.php
#15716 Filenames must not be PascalCase, only the first letter can be uppercase.
* Update Jiraservicemanagement.php
Following class name conventions
* Update Jiraservicemanagement.php
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Added MIB file CISCO-RTTMON-ICMP-MIB to Cisco collection
Query rttMonLatestIcmpJitterOperTable when polling SLAs
Extended icmpJitter parsing to allow retrieval of jitter related data from multiple locations in MIB tree
Fixes#15658
* Appended snmprec data to testdata
* Update iosxe_c9300.json
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* New utility Number::constrainInteger()
Fixes a bug with Number::unsignedAsSigned() and implements signed support as well.
* cleanup
* Apply fixes from StyleCI
* Remove default cases
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
Entities are html encoded so this will cause them to be displayed correctly in pushover alerts
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* Cisco CSCvj53634
tests
change RRD minimas to accept negative dbm output power
unnecessary tests
* unsignedAsSigned function
* use new function Number::unsignedAsSigned
* negative power for Vdsl as well
* style
* style
* Add types
* simplify and exception if over max value
* Add tests
* Style fixes
* Tell phpstan to shut up
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>