* Add support new os SNR-ERD
mib files
* Add support new os SNR-ERD
discovery os
* Add support new os SNR-ERD
support sensors
* tests files
* tests json
* New device named bti800
Support new device for model bti sa-805
* Create bti800.yaml
* Create BTI8xx-MIB
* Create BTI8xx-SYSTEM-MIB
* Create BTI8xx-TC-MIB
* Create BTI8xx-INTERFACE-MIB
* Create BTI8xx-SFP-MIB
* Create bti800.inc.php
* Create bti800.inc.php
* Create bti800.inc.php
* Create bti800.snmprec
* Create bti800.json
* OS icon for BTI800
* Update bti800.yaml
Change mib folder name 'bti800' to 'bti'.
* Rename mibs/bti800/BTI8xx-MIB to mibs/bti/BTI8xx-MIB
Change directory named 'bti800' to 'bti'.
* Rename mibs/bti800/BTI8xx-INTERFACE-MIB to mibs/bti/BTI8xx-INTERFACE-MIB
Change directory named from 'bti800' to 'bti'
* Rename mibs/bti800/BTI8xx-SFP-MIB to mibs/bti/BTI8xx-SFP-MIB
Change directory named 'bti800' to 'bti'.
* Rename mibs/bti800/BTI8xx-SYSTEM-MIB to mibs/bti/BTI8xx-SYSTEM-MIB
Change directory named 'bti800' to 'bti'.
* Rename mibs/bti800/BTI8xx-TC-MIB to mibs/bti/BTI8xx-TC-MIB
Change directory named 'bti800' to 'bti'.
* Create bti800.yaml
Added system temperature and transceiver temperature for BTI800.
* Delete bti800.inc.php
System temperature and transceiver temperature code convert to yaml file locate at /includes/definitions/discovery/bti800.yaml
* Update bti800.inc.php
Add missing code at line 20.
* Update bti800.inc.php
* Update bti800.yaml
* Delete bti.svg
* Replace bti.svg to bti.png
* Update bti800.snmprec
* Update bti800.json
* Update bti800.json
* Update bti800.json
* Update bti800.yaml
* Update bti800.inc.php
Change call for each current Tx and Rx value by using pre_cache() function instead using snmp_get() function for each value to return.
* Rittal CMC III: Add device support for PU and PU Compact
* Rittal CMC III: Readd accidentally removed sysObjectID
* Rittal CMC III: Some small fixes
* Rittal CMC III: Use device serial number instead of the internal device id for state index naming
- version, hardware and serial is now read via yaml
- update test files
* Rittal CMC III: Check if the serial number is available
* Rittal CMC III: Update test data
* Rittal CMC III: Update unset
* Rittal CMC III: Remove space in yaml
* Adding Fortigate HA checks
* Fixed issues the linter had
* Moving sync checks to the poller since standalone units was marked as unsynchronized
* Whitespace lint corrections
* More whitespace linting fixes
* Removing haState since it only showed the state of one device in the cluster.
* Adding a third state fo sync where it will show a warning if a device that is part of a cluster does not have a peer
* Updating snmp test data for fortigate 1500d
* Changing numerical oids to names
* Restoring the original 1500d json file
* Adding cleaned test data
* Removing tags to see if that makes Travis happier
* Removing duplicate rows in SNMP data
* Take this Travis!
* Pretty please Travis?
* Fourth time's a charm?
* add OspfTos model to include ospfIfMetricEntry data (ospf interface cost)
* remove WIP comment
* add new model and db migration
* update OspfTos relationship to OspfPort and correct cleanup call
* add "Cost" to device\routing\ospf web UI interface
* updated db-schema test unit
* updated db_schema to resolve conflicts
* removed tos metrics from rrd ospf stats due to rrdcached errors
* reorder db_schema.yaml to match upstream
* readd ospf_tos to db_schema
* styleCI changes
* Capture OSPF test data
* add ospf unit tests for iosxr
* ospfAuthType
* update db_schema
* remove extra migrations
* add ospf tests for iosxe
* add ospf test to ios
* merge ospf_tos into ospf_ports
* update db_schema
* update ospf module unit tests for ios, iosxe, iosxr
* fix ospf_ports ospfIfMetricStatus column type
* update db_schema
* more efficient dropColumn in down() migration
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Faster initial database creation
Add db dumps to improve initial db migration
On my test system 13s -> 7s, a 46% reduction.
Should help out a lot on systems like RPi
* lnms schema:dump command
--snapshots saves db snapshots, otherwise it saves the yaml
* fix style
* fix timezones...
* not working with in-memory db yet
remove build.sql
* Shift HTTP kernel and middleware
* Shift service providers
* Shift console routes
* Shift to class based factories
* Namespace seeders
* Shift PSR-4 autoloading
* Default config files
In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them. This allows you to review the commit
diff for once for customizations when you are done Shifting.
Moving forward, consider using ENV variables or create a separate
config file to allow the core config files to remain as default
as possible.
* Shift Laravel dependencies
* Shift return type of base TestCase methods
From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type:
- `setUpBeforeClass()`
- `setUp()`
- `assertPreConditions()`
- `assertPostConditions()`
- `tearDown()`
- `tearDownAfterClass()`
- `onNotSuccessfulTest()`
[1]: https://phpunit.de/announcements/phpunit-8.html
* Shift cleanup
* console routes
* composer update
* factories
* phpunit
* bootstrap pagination
* model factory
* wip
* Apply fixes from StyleCI (#12236)
* wip
* Apply fixes from StyleCI (#12238)
* wip
* wip
* wip
* wip
* Apply fixes from StyleCI (#12240)
* wip
* Apply fixes from StyleCI (#12242)
* composer update
* Bump to PHP 7.3 minimum
Co-authored-by: Laravel Shift <shift@laravelshift.com>
* Added new authalgo support for SNMPv3
* Update 2020_07_27_00522_alter_authalgo_column.php
Fixed case
* Update addhost.inc.php
Fixed case
* Update snmp.inc.php
Fixed case
* Update db_schema.yaml
Fixed case
* Fixed SHA-* order to ascending
* Update 2020_07_27_00522_alter_authalgo_column.php
Fixed space
* Update db_schema.yaml
Fixed line to be of type string
* Update config_definitions.json
Fixed sorting
* Fixed test file case sensitivity
* Fixed rollback function
* SourceDoctor code for checks
* Fixed indentation issues on Travis test
* Update to re-trigger testing stuck on CLA step
* Added crypto-algo updates
* Incorporated suggestions from Jellyfrog
* Added documentation entry
* Fixed travis spacing error
* Fixed validations
* Delete snmpv3_version_compare.patch
Sorry, this one was not supposed to be there.
* Added poller evaluation
* Added poller comparison
* Fixed merge-conflicts
* Fixed typo in test unit
* code refinements
only can check on webui that it supports the algorithms, hopefully, the eventlog is enough to notify users of distributed pollers.
* style fixes and remove openssl setting
* fix device access
* fix missing migration column
Co-authored-by: Tony Murray <murraytony@gmail.com>
* snmpwalk_cache_oid handle multiline strings
* remove useless function
* some output has no space after equals
* airos-af-ltu use hr processors
* don't try to append with empty strings
* fix changed test data due to fix
* revert smartax
* better regex
additional check
* split siteboss 530 and 550 into multiple OS
* add more sensors to siteboss550 and new Percent sensor
* fix contact closure event state values
* split os polling for siteboss to siteboss530 and siteboss550
* add test unit for siteboss550, rename test unit for siteboss to siteboss530
* refactor siteboss os polling to \Librenms\OS
* implement OSPolling to Sitebos550
* force save in pollOS() to keep custom sysName during polling
* updated unit test
* update device graphs
* remove pollOS and extra save()
* siteboss550 no longer extends OSPolling
* update siteboss550 test data
* update discoverOS() to match recent os discovery changes
* styleCI changes
* fix siteboss hardware discovery; add check to OS polling if os_group .inc file exists
* collapse siteboss to single OS, implement siteboss sensors in advanced discovery
* add siteboss unit tests
* removed unneeded OS disco defs
* styleCI changes
* more styleCI changes
* split siteboss os to siteboss530 and siteboss550
* split siteboss os to siteboss530 and siteboss550
* move php polling back into yaml
* keep original siteboss OS name
* resave snmp data for siteboss OS
* resave snmp data for siteboss550 OS
* initial support for DC-UPS-48 from algom
* add snmprec files for algcom-dc-ups
* rename MIB and create json test unit
* new MIB name, recapture test snmprec and json
* remove unnecessary OS matching
* Implement locks in the file cache
* Replace custom locks
* implement restore lock
Used when re-hydrating
* remove legacy use statements
* Add class descriptions
* Fix style
* Default to database cache driver
* missed cache_locks table
prevent chicken-egg issue
* style fixes
* Remove custom file lock implementation
* missed items from file cache
* Update schema definition
hmm, other schema noise must be from manual modification as this is generated from a freshly migrated db.
* require predis, it is pure python, so no harm in adding
* and set predis as the default client
* - make Eaton Gigabit Network Card (AKA M2) a separate OS
(this hardware shares the sysOID with an older product, but not much more than that.)
- add relevant and updated mib-files. This creates duplicates of the same mibfile in mibs/.
unsure if this can be avoided
* axed some old mibs again
* All os detection now uses Yaml
Move OS detection code into the Core module.
Defer all OS with snmp queries.
Add snmpwalk option.
Port ubnt and mobileiron to yaml.
* Silly ide refactor
* Ciena SAOS 8 device improvements
- improved interface polling for certain devices with broken ifXEntry and long ifEntry value caching
- added G.8032 virtual ring status sensors
- adjusted default alert threshold for a sensor because some devices provide a nonsensical value (more work to be done here)
* Style fixes
* missed whitespace
Co-authored-by: Tony Murray <murraytony@gmail.com>
* add freshtomato snmprec file
add freshtomato snmprec , generated from latest freshtomato release
* add freshtomato test data
add freshtomato test data, generated from latest freshtomato release
* add freshtomato os definition
add freshtomato os definition
* freshtomato discovery for version, hardware model
freshtomato discovery for version, hardware model
* update freshtomato.snmprec, extra oid
update freshtomato.snmprec, extra oid now showing since going to 1.68, from over night update.
LibreNMS can now show version and hardware (router model) correctly.
* update freshtomato.json, hardware is now populated
update freshtomato.json, hardware is now populated, since going to 1.68, definition discovery is working correctly it seems.
* Regenerate without lo ignored.
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Drop redundant sensors from eaton-mgeups. Prefer RFC1628-sensors. Keep stuff unique to the mge MIB.
Add snmprecs for two new variants.
* Rewrote these jsons files after the previous change. All tests passing.
* Mistake in ddmDiagnosisRXPower OID
Mistake in ddmDiagnosisRXPower OID (its same as ddmDiagnosisBias)
Right OID is .1.3.6.1.4.1.40418.7.100.30.1.1.17
* Update snr.json
Co-authored-by: Tony Murray <murraytony@gmail.com>