* Revert "Revert "feature: Allow snmpget in os discovery yaml (#7558)" (#7576)"
This reverts commit 426916dbe4.
* Revert "fix: lldp find_port_id finds not the most correct port (#7564)"
This reverts commit 7e05fff615.
* Revert "fix: Update RFC1123 Hostname Check (#7572)"
This reverts commit ebcfa45a93.
* Update RFC1123 Hostname Check
The regex was wrong. It failed to match devices like `cisco-3750x` even though it is a valid hostname.
I picked this regex from the RFC1123 documentation, and updated it.
* Update CommonFunctionsTest.php
Update tests
* Updated to allow domains ending with a dot
* Added support for ping only devices.
* Renamed sql-schema/206 to 207.
* Discovery tried to detect the OS when it shouldn't.
* Updated db_schema.yaml
* Added ping icon.
* Don't show unused graphs and tabs when SNMP is disabled.
* Allow the user to specify OS of ping only devices.
* Removing custom OS now changes it to 'ping'.
* Removed unnecessary use of mres().
* UI select box for SNMP enable/disable.
* Hide device_ping_perf if ping is disable on device.
* Fixed SNMP settings update status messages.
* Added functionality to add ping only devices via the web ui.
* Added ping only option to addhost.php
* Added ping only support to snmp-scan.py
* Moved sql 208 to 211
* Fixed scrutinizer issues.
* Fixed broken ossearch.
* Added ping only support to the API.
* Updated API doc.
* Added (optional) to OS and hardware description. Hid Port Settings, Applications, Modules, Storage, Processors, Memory and Components from the edit menu
* Style fix.
* Updated ping icon.
* clean() instead of mres(). More escaping. Better help in snmp-scan.py and addhost.php
* Fixed scrutinizer issue.
* Always try SNMP in snmp-scan.py, new option for it in addhost.php. Slice instead of chunk in ajax_ossuggest.php. Other minor style changes.
* Updated sql modifications to insert the new column in the same place as in db_schema.yaml.
* fix: fix a couple of OS cache invalidation issues
Fixes issues where we might be using outdated os definitions.
* use Config and fix style issue
* only pull in settings from config.php (otherwise will possibly contain populated os config)
* feature: Allow snmpget in os discovery yaml
Convert all remaining os except airos.
Affected OS: asuswrt-merlin, ddnons, dsm, extrahop, huaweiups, ibmtl, pcoweb, pktj, qnap, remoteeye4, sentry3, sentry4, tomato
There should be not change in detection.
* Fix, asuswrt-merlin and tomato with snmpsim. May not have been an issue with actual devices because of -Oa leading " was a bit odd.
* missed file
* Fix Moxa cpu polling problem, also add support for EDS-G508E, and power graphs
* Dynamic discovery support for EDS-G508E-T and IKS-6726A-2GTXSFP-T
* fixes as requested
* Added another snmp_cache_multi_oid and fixed a typo
* Revert back to old file name
* refactor: convert validations to modules to prep for gui integration
* accidentally dropped, schema update
* fix accidental output to webui
* mention discovery-wrapper.py and re-arrange.
* refine some fix statements
* rename the Config validation group to Configuration.
* fix some scrutinizer issues
remove as many local functions from validator.php as possible
move extensions from pre-check
remove duplicate timezone check
looks like there is some db schema differences between mariadb 10.1 and 10.2, investigating
* mariadb version diff take2
* Check schema version first for database.
Remove stop to go back to command line for install docs.
Add helpful link when there is no devices added to /addhost
* fix incorrect validation for empty string defaults
* Fix style
* Add additional file permissions checks
* catch exception and fail for invalid timezone
Change visuals a bit.
* add php version warning
* fix space
* Added Mitel Standard Linux OS Support
* removed duplicate svg, added snmprec test file, un-enable vmware discovery module
* msl os definition/polling improvements, mitel mib_dir creation
* added logmaster icon
* added LogMaster Ups Mibs
* Added battery temperature
* Added LogMaster Os discovery
* Added PPC UPS top level mib
* Added more sensors
* Added test for Os
* Added log image
* Disable unused modules to improve polling
* Changed discovery to match all second level.
* Fix logo size to 32x32
* Remove duplicated mib.
* Removed .mib extension
* Fix mib name.
* Added rfc1628 compatibility.
* Removed duplicated sensors due to rfc support
* Added sensor that differs from rfc 1628.
* Added suporte for new medium model 5506-04
* Added tests for AN5516-04B
* Added tests for AN5516-04
* Added sysObjectID test for olts.
* Commit to trigger travis-ci
* Update fiberhome.yaml
* eaton-ats: add definition, voltage, frequency and state
* eaton-ats: missing snmprec file
* fix some syntax error
* fix some syntax error, again
* exclude eaton-ats from eaton-mgeups definition
* change eaton-ats definition
* move state and output voltage to yaml syntax
* Update eaton-mgeups.yaml
* fix: improve accuracy of is_valid_hostname()
fixes discovery code attempting to add discover invalid dns names
the old code allowed some invalid hostnames, this is more thorough
add tests
* fix merge error
* Add support for alternate Equallogic SNMP sysObjectId
* Widen scope, add unit test
* Revert "Widen scope, add unit test"
This reverts commit 9486f06dd1.
* Revert erroneous commit, include changes
* Made changes requested by @laf
* added basic os for EricssonLG ES switches
* changed names
* tidied up some more
* renamed test files
* fixed typo
* removed _ from names
* fixed os names
* changes requested by @laf
* fixed unit test for ucp
* refactor: speed up is_valid_port()
Convert is_valid_port to Config
Several Config optimizations
Update documentation
* fix getCombined() when os key is not set, but global is.
Add more tests
* fix: Engenius OS discovery
bandroidx was having issues with their Engenius AP being discovered as a wireless device, instead it was just showing up as 'generic'. Adding OID .1.3.6.1.4.1.14125 resolved their issue.
* Update engenius.yaml
* Create engenius_3.snmprec
* feature: Allow ignore_mount, ignore_mount_string, ignore_mount_regex at OS level
* Change the storage settings to override global instead of merge.
Add documentation
* newdevice: Added support for Saf Integra Access points
* Split SAF Integra models out
* added polling files
* Update saf-integra-b.yaml
* Update saf-integra-w.yaml
* device: add support for Mimosa A5
Frequency and Tx/Rx Power
Unfortunately, we would have to walk the client table to get any client stats such as count.
* remove sysdescr after checking stats
* Forgot the mib new files
* feature: Improve yaml state discovery
Handle state values that are returned as strings instead of int
Synchronize state values for existing state translations so we can change them without creating a new translation and losing historical data
More extensive/verbose yaml discovery phpunit tests
dbBulkInsert, use the first entry instead of requiring the first entry to be at index 0
* Update sensor state documentation
re-order values for better readability
remove os check
Use snmpwalk_group since it is more flexible
* Add some more debug output in dynamic discovery