* Add hostName cleaning to Clean
* Apply RFC 5952 formatting to Clean::hostName output
* Use more liberal cleaning for hostnames
* Remove unwanted whitespace
* Apply Clean::hostName() to all relevant fields
* Fix docstring
* Use IP::isValid inline
* Update Clean.php
* Update services.inc.php
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Removed non-working rules and conditions
Removed non-working Dell alert rules and removed constraints fo state_sensor_warning in order to make this rule working
* Update alert_rules.json
* Update alert_rules.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* FS OAP OEO and EDFA mibs
* definitions and discovery yaml
* current dbm state temperature and voltage updates
* update on poller and discovery modules
* test data
* removing unneeded pollers and discovery modules as requested
* update to os test data
test data now reflects fs-nmu details instead of module details as module may not be present at previous oid or module may not be present at all in the device
* OS update and Test Date Updates
* channels numbers
* removal of default true poller and discovery modules
* reintroduced previous OEO module data
* StyleCI fixes
* Update fs-nmu.inc.php
* Update fs-nmu.inc.php
* Update fs-nmu.inc.php
* Update fs-nmu.inc.php
* Update fs-nmu.inc.php
Co-authored-by: Neil Lathwood <gh+n@laf.io>
* Handle bad uptime input
devices returning non-numeric strings or strings with garbage would cause an exception before
* Update Core.php
* Update Core.php
* Revamp validate web page
to load page then validate, instead of validate then load page
* style fixes
* lint cleanups
* fixes
* translations and a couple fixes
* style fixes
* move result serialization into the class.
handle badly formated snmp.community input. Some may be a string or not an array of strings. wrap the single string and discard the array of strings items.
* Correct type annotation
Not 100% sure this is correct as I don't know what the previous change was trying to correct - but they're definitely not all strings.
* Correct the correction
* Add ISIS discovery and polling for iosxe devices
* remove ModuleModelObserver
* add php stan exclusions as they are already present for the base module
* change port_id to cached lookup
* Create model object instead of using arrays and set properties directly
* remove unneeded space...
* remove null from non nullable field
* revert to extending from ciscowlc rather than os
* remove OS module
* remove phpstan exclusions and fix errors
* add spacing...
* add spacing....
* add spacing
* again...
* Add tests
* Update Iosxe.php
* Update IsisAdjacency.php
* Create 2022_04_08_085504_isis_adjacencies_table_add_index.php
* Update db_schema.yaml
* Update iosxe_asr920.json
* Update Iosxe.php
* Update Iosxe.php
* Update junos_mx5t_isis.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Add support for PrimeKey Hardware Appliance
https://doc.primekey.com/ejbca-appliancehttps://doc.primekey.com/signserver-appliancehttps://doc.primekey.com/ejbca-appliance/operations/webconf-configurator-of-hardware-appliance/monitoring
* Correct off-by-one error for Galera states
* Add load multiplier
* Don't poll transaction ID, it's too messy
* Tabs -> spaces
* Don't modify system load. (Is this a %age or not?)
* CUP moves Load -> Count
* CPU moves Load -> Count
* Now I have MiBs. Attempts to use them are to date unsuccessful
* Removed numeric oids entirely
I'm not sure how easy it will be to conver this to YAML.
* Formatting
* More formatting
* Numeric it is
* Fix States
* Numeric oids
* Shorten Descriptions
* Add DB threshold
* Percent -> Yaml
* Temperature -> Yaml. Relaxed num_oid validation
* Fanspeed -> Yaml
* Volgate -> Yaml
* Count -> Yaml
* State -> Yaml
* Tweak snmp_flags
* minimize icon
* Check if first_word function is required
* Incorporate feedback
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Fix custom error messages
Laravel apparently wraps things in ViewException now and so does ignition. Ideally, we would plug in the same way as ignition, but just fix the old code for now.
* Don't break the ViewException handling if we can't upgrade
* Add DBm and State Sensors
Added extra MIB files
Added Dbm levels on ports
Added Stacking State Sensors
* Added include for zynos.inc.php
File patch - includes/discovery/ports/zynos.inc.php
* Create ZYXEL-STACKING-MIB
Official Zyxel MIB
* Create ZYXEL-TRANSCEIVER-MIB
Official Zyxel MIB
* Added test file zynos_xgs4600.json
* Create zynos snmprec test file
* CENSORED zynos_xgs4600.json
* Created new polling file for Zynos ports
Converts zynos SWP port style to be 1/1 style
* Created new discovery for Zynos ports
Changes zynos SWP ports to be 1/1 style during discovery
* Fixing ci complaints in discovery/ports/zynos.inc.php
* Fixing ci complaints in polling/ports/os/zynos.inc.php
* fixing more ci complaints in discovery
* Updated Zynos.snmprec
* Updated zynos.json
* Updated zynos.json
* Removed ifDescr pre-cache
* Removed pre-cache from zynos.yaml
* Reverted zynos.snmprec
* Restored zynos.json
* Updated zynos polling to use zeropad
* Updated zynos discovery to use zeropad
* Updated zynos.yaml
Updated zynos.yaml to include ifname: true to change port names and added '/^ZyXEL/' to sysDescr_regex
* Update zynos.inc.php
* Update zynos.inc.php
* Update zynos_xgs4600.json
* Update zynos_xgs4600.snmprec
* Re-Generated Zynos.json
* Fixed ifOperStatus in Zynos.json
* Delete zynos.inc.php
* Update ports.inc.php
* Added new test data
* Updated zyxel test data and discovery
* Update ports.inc.php
* Update zynos.snmprec
* Updated zynos.json
* Update Zynos.json
* Fix StyleCI issues
* Update zynos.json
* Update zynos.json
* Update zynos.json
* Updated zynos mgs3712.json
* Update zynos_mgs3712.json
* Added back old SFP discovery
-SFP Temperature
-SFP Voltage
* Migrate addhost.php to lnms device:add
Have snmp-scan.py call lnms device:add (make exit codes line up so this works)
Fix issue with ping only devices trying to detect os via snmp
Reorder options in device:add help and improve formatting
Update docs to remove references to addhost.php
Fix a bit of code that was in functional code
* fixes
* fix snmp version message
* Update it.json
Removed all \'/ single quote, very common in italian , to avoid problem on page loading
* Update it.json
small fix
* Update it.json
Small updates
* Update it.json
* Add files via upload
* Delete modules.php
* Delete syslog.php
* Delete install.php
* Add files via upload
* Update plugins.php
* Update validation.php
* Added new OpenWRT icon to replace old logo
* New logo has an icon usable without text per look & feel of LibreNMS
* Compatible with OpenWRT usage guidelines refer:
https://openwrt.org/docs/guide-graphic-designer/openwrt-logo
* Update openwrt.svg
Co-authored-by: Neil Lathwood <gh+n@laf.io>
* Add Cisco Err Disable Mib
* Add new trap handler class
* Add ErrDisabled event handler
* Add ErrDisalbed event test
* remove unused line
* no ifindex message change
* Update unknown ifIndex message
* Add bad IfIndex test
* update description text
* style fixes
* change param to True for toString
* Add return type to test function
* style fix
* remove toString() and explode()
* remove unused line
* Fixeed Hardware and Versiondetection for US-8 and USW-Switches with Version 5
It seems that the same model and same firmware version respond with different SNMP-records, depending on Hardware revision. This should be more general
* removed "linux" from version string in some cases
Changed regex for better version isolation and updated test data
* Update edgeswitch.yaml
Corrected the edgeswitch Test-Version detection. It seems that there are 4 cases :(:
USW GigaBit Ethernet Switch, firmware 5.76.7.13442
US-8, 5.76.7.13442, Linux 3.6.5
USW-Flex 5.76.7.13442
EdgeSwitch 24-Port 250W, 1.0.1.4720839, Linux 3.6.5-f4a26ed5
* Removed false change. Changed 8XP test data
Removed false change. Changed 8XP test data
* ' -> "
' -> "