* Add EntityVoltage Sensors
* Add BoardPower Sensors
* Add Fanspeed Percent sensor
* Add Voltage_Status and Temperature_Status Normal|Minor|Major|Critical indicators, and internal Voltage and Temperature sensors
* set Minor alarm violations to warning status
* remove inconsistently applied empty lines between sections, and trailing newline that caused errors
* fetch thresholds for temperature.sensors and optical.RxPower from SNMP
* Added snmp testfiles for ne8000-m8 variant of VRP platform
* group sensors by card-identifier
* Regenerate testfiles for 5720-32x-ei
* Regenerate testfiles for the whole VRP family
* Optical Bias is reported as miliamps-mA, and not microamps-uA
* Implement divisor detection, VRP or NE8 prepended on sensor for debug-testing
* remove VRP or NE8 prependeds on sensors(put there for debug/testing only)
* use parent OIDs for walking and naming
* ignore per-slot power if unsupported
* regenerated snmp json testfiles
* sanitize bgp-peers value
* restore vrp.json test
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* Moved plugin admin pages to be within admin route
* Wrap html transports page in admin check
* Moved Port group controller to be admin protected
* fixed tests
* XSS in alert template creation
* XSS in alert rule name
* XSS in service name & desc
* style
* strip_tags in alert_notes
* strip_tags in create_alert_item
* strip_tags in addsrv page
* STP fix, only try contexts on Cisco
Only Cisco is known to support this type of polling
* merge, not push.
* Fix collection construction
* Fixed the function signature in Interface def
* fixed signature here as well
* Lighter code to return a collection of Stp instances
* Type enforced in signatures
* missing implement for Cisco Class
* style
* Collection methods are immutable indeed 😠
* nullable vlan
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
When using the old style maps when you click on one of the connected
devices (bubbles on the right side) the link points to
$HOSTNAME//device... looking at other examples base_url seems to
include the trailing slash. Removing the additional slash fixes the
links for me.
* 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
* device:poll log poll complete
A bit awkward because it is info, but the default file log level is error, so log at alert level, but put "INFO" in the message to not alarm users.
* fix style
Fixed certain colours to make them more readable against the dark background. Mainly the blue colour against the dark background I have changed to a lighter blue.
Some dark greys and blacks as well.
* [WebUI] Removing the colon symbol from dialogs
In order to make multiple pages more visually consistent with other pages in the system, removed the colon simbol ":" to the very right of each control description, where present.
Regards
GG
* Update new_alert_rule.inc.php
* Update alert_schedule.inc.php
* Update alert_template.inc.php
* Add initial support for Lenovo ThinkStation server
* Initial Support for Lenovo ThinkStation Server - detection rules
* Lenovo ThinkStation MMIB Files
* Added test data for Lenovo ThinkStation
Model SR250
* trying unit test fix
trying to correct unit test failures
* Revert "trying unit test fix"
This reverts commit 7f44689e8a.
* Create lenovoXClarityIMPI_lenovoxcc.snmprec
Added snmprec
* Update lenovoXClarityIMPI.yaml
Removed Null-Value (over) in yaml
* Update lenovoXClarityIMPI.yaml
Fixed typo
* Update lenovoXClarityIMPI.yaml
Fixed another typo in os yaml
* Update lenovoXClarityIMPI.yaml
Added {{ $index }} and removed skip_values
* Update lenovoXClarityIMPI.yaml
Added index in yaml
* Update lenovoXClarityIMPI.yaml
* Update lenovoXClarityIMPI_lenovoxcc.json
* Update lenovoXClarityIMPI_lenovoxcc.json
* Updated detection rule
Removed N/A skip, removed unecessary state_name.
Removed $index in oid, because otherwise the detection fails for some reason
Excluded num_oid because otherwise the poller fails to detect the values.
* Code improvements and test data
I've implemented what I've learned from my Fujitsu pull:
- added test data
- corrected MIB file names and folder
* Code improvements
Removed an empty array and two empty lines.
* Code improvements
* Delete LENOVO-SMI-MIB DEFINITIONS
This file is named wrong and we already have `LENOVO-SMI-MIB` so looks to be duplicated
* Changed OS name
Changed OS name
* Fixed test data for os name change
* Update LENOVO-PRODUCTS-MIB
Reupdated Lenovo-Products-MIB to 2017er Version
Co-authored-by: Neil Lathwood <gh+n@laf.io>
* STP module rewrite WIP
* Finish rewrite
* Ignore disabled and log root/topology changes
* Remove interfaces for now
* fix style
* Lint fixes
* Document ResolvesPortIds and hide map functions
* whitespace fixes
* Revert to stpInstances in case someone writes mstp support
* missed one
* phpstan fixes
* Handle table and oids separately
* forgot to register observer
* Test data and correct non-table handling in SnmpResponse->table()
* update test
* test data
* revert aos7 silly things
* minimal polling
* Update test data
* order ports_ntp and rename new field to port_index
* forgot the db_schema
* revert ciena-sds port things
* MSTP support, maybe
* Adding test data
* Filter bad lines instead of discarding the entire snmp response
and capture fixes and test data
* fresh data
* add os data
* update data, ignore unfound ports, obviously bad device implementation.
* fixes
* Ignore context files in os detection test
* Remove empty table data
* add ciena-sds vlan
* designatedCost column is too small
* Update stp webui
* Refactor code to interfaces, to allow vendor mibs
* update schema
* fix issues added by abstraction
* STP fixes
* Default to no context for vlan 1
* never store vlan 1
* Update test data
* remove eltex brokenness
* fix style
* fix stan
* Fix Rewrite MAC to Hex padding with floats
* fix sqlite migration
* Add ubiquiti Airfiber 60
* New AF60 data and MIB
* Stylci fix and small additions
* Update test data
* Stylefix
* Remove the weird ubiquity oids containing encoded mac addresses
* Updated test data
* Remove more complex sensors for now to be added after the conflict airos airos-af60 is solved
* Fix hardware and OS
* To be verified is this is the most practical / clean way of doing it
* Advanced wireless and MCS state sensor
* Fix link capacity multiplier and active link
* Test data update fix lint
* Maybe better
* Oxidized + Device remove
Was just working on oxidized, but then to properly update nodes after delete, updated delete_device()
* revert dumb style changes
* baseline update and no DI there...
* Fix OS first load and device deletion missing tables