* Fix for Gaia Storage duplicated
We are getting duplicate storage.
Since Checkpoint Gaia is a Linux-based operating system, the file “./includes/discovery/storage/ucd-dsktable.inc.php” has already discovered the storage, so I think the file “./includes/discovery/storage/gaia.inc.php” is not necessary.
* Delete gaia.inc.php
* Add files via upload
* Add files via upload
* Fix for Gaia Storage duplicated
* added support for GE MDS devices
* added test files
* Removed .MIB from all mib files
* Update includes/definitions/discovery/gemds.yaml
* Fixed test data
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
* Remove $debug global
and $vdebug global
makes these variables more accessible and protects from collisions.
* the on boot set sends application as the first parameter, just handle that
* Relocate other debug related functions
* Log debug to stdout
* Wrong output
* remove stupid constants
* Fix lint and style issues
* Added support for GAIA logserver/firewall lograte, raid state and type, logserver state and testdata, firewall packet stats and connections stats
* Fixed typo
* Added testdata
* Fixed typo
* Changed some faulty strings to integers
* Added more sensors. License, HA states and Updates checks
* Added testdata
* Using snmp_get_multi. Cleaner code
* Fix rrd function usage
Co-authored-by: Tony Murray <murraytony@gmail.com>
* fix aos7 yaml
* fix aos7 yaml
* fix tests
* fix tests2
* trying to fix tests3
* Update aos7_6900-x20.json
* add new tests
* some changes
* miss this
* again
* again
* again
* again
Co-authored-by: Tony Murray <murraytony@gmail.com>
* FabOS module dBm
fixes#11597
* Fix polling and state sensor discovery value
* fix temperature and fanspeed checks.
Also, fanspeed was totally broken.
* port sensors to yaml, found more broken things in the process.
* Corrected Chassis Over Temp oid for state indexes
* Updated old timos snmprec and json files to newer device release.
* Updated per review.
* Oops!
* Update timos.yaml
* tests
* double backslash
* idem
* idem
* tests generation
issue with save-test-data on my server
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* Added metric for MySQL Slave Lag (secs)
Added metric for MySQL Slave Lag (in seconds) to be able to build Alert Rules when slave lag value is greater than 0 (or X). It's possible to add graphs and other metrics as well, but the priority for me is to be able to build alert rules based on the "Slave Lag" metric.
* Added metric for slave lag (SlLa)
* Add Packet Buffers to PanOS
Add buffer memory logic to panos.php
Replace panos test data
* Update Panos.php
* Revert to original test data
Reverting original snmprec to regenerate tests
* Regenerated Test Result
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Update comware.yaml
Fix the problem that the H3C switch cannot obtain the device hardware model
* better regex, remove ENTITY-MIB::entPhysicalName it is rubbish.
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Update cisco.inc.php
Wrong OID used for c3GsmSimStatus
* add test data for iosxe
* Update ios_ir809.json
* Update iosxe_ir1101.json
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* Update IOS with 4948 variant hardware detection
* Use entPhysicalModelName if Switch System match
* Add test data for 4948e and 4948-10ge variants
Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
* Fix bracket error
Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
* Add json test data
Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
* Add Firebrick MIBs, temperatures and voltages.
* Add missing $sysOid checks.
* Add fan speed for FB6000 series.
* Add sane limits.
* Update Firebrick MIBs.
* Make BGP peers work.
* Better support for Firebricks.
* Add more firebrick support.
* Add BGP Peer States.
* Fix fan speed divisor now that Cliff has fixed the code.
* Fixes for BGP and sensors.
* Add Firebrick IPSec module.
* Add IPSec Tunnels (Base).
* Sort out the IPSec states (although they're still green for no real reason).
* Code style fixes.
* Add missing config definition.
* Fix code style issues.
* Move bgp-peers to its own file.
* Do fan speeds with yaml, not PHP.
* Add Firebrick 6000 snmprec.
* Move Firebrick tests to be FB6000 tests.
* Revert "Move Firebrick tests to be FB6000 tests."
This reverts commit 426c1db980.
* Add tests for specific firebrick variants (2900, 6000) rather than generic.
* Add the firebrick-ipsec-tunnels poller config option.
* Switch to cipsec-tunnels for Firebrick.
* Unnecessary as it's now in cipsec-tunnels.
* Add extra MIB fields for Firebrick BGP MIB.
* Minor fix for AS text.
* Fix the tests.
* Exclude build timestamp from the version.
* Fix a couple of careless errors.
* Code style fix.
* Better version strings.
* Fixes for BGP, and add "Routing Table" support (VRF).
* Add more test data for BGP peers.
* Fix test data for BGP.
* Remove processors for now - as we can't get the data sensibly.
* Fix code style.
* Update firebrick.inc.php
Force tests re-run
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* Fortinet per-core cpu
I have no test data... probably need someone to contribute test data for this to get merged
fixes: #11570
* Add and update test data
* Always skip style check for dev:check ci
* fix names and mysql 8 was barely being tested
* fix sql mode test
* safer vendor check
* flubbed the regex
* ...
* Mysql 8 fixes
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
* Fix Client count
* style
* no caching
* style
* snmpwalk_cache_oid
* Include total of all STA connected
* style
* Update Vrp.php
* fix GHz casing
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Fixed issues health and polling issues with 9001 and NCS devices, added support for 9901
* Update iosxr.inc.php
* Update iosxr.inc.php
* Update cisco-entity-sensor.inc.php
* remove polling file and adjust to user_func from disco
* fit formatting and remove echo
* fit formatting2
* fit formatting3
* Fix test files with no badif
* remove all exclusions so tests work
* recreate json test for 9010
* 12394 Add CPU and Mem for Teldat Devices
* add cpu and mem to teldat +mib files.
* minor adjustment.
* add classes to memory: system, shared, cache
* +snmpsim test files
* memory minor fix: class name 'cache' > 'cached'
* minor fix removing: telProdNpMonSistemMemTotal
* add json tests.
* small fix: get S/N from description
* Update teldat.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* port related errors
* more fixes
* fix storage count
* add tests for php8
* style
* only need not empty
* aix fixes....
* storage WIP
* fix aix discovering hrstorage
fix db test adding .gitkeep
fix os modules when discovery only
* fix aos processors wrong oid
* fix mempool number casting
* fix aos7 cpu
* use + 0 cast instead of floatval()
* more verbose error on invalid json
* remove invalid data in json
* actually fix the json
* correct json error fix
* cast_number() function
fix aruba-instant and aos6 bugs exposed by new function, probably more...
* fix a-f
fix inadequate sort for component data
* fix global port poll time
* fix mempools precent 0, route count, ntp const
* fix schleifenbauer liberal current usage
* further number casting refinement
* vrp
* fix tests
* fix arbos
* warn cleanups adjust to :: change
* fix ciena-sds
* fix drac
* fix dell-rpdu anddlink
* fix and improve arubaos
better error when getting an array in Processor
* fix atenpdu, add missing arubaos files
* aruba-instant to yaml
apparently I didn't need to do this, the diff just looks really odd
It did add ranged sub-index replacements
* docker app, was completely wrong... fixed
* fix sentry4 divide by 0...
* fixed root issue, remove check
* nicer cidr in ipv6 code
* remove bogus enuxus battery bank skip_values
* Fix InfluxDB tests
* remove extra import
* fix other style issues.
* influx "style" fixes
* Create ciscome.yaml
Adding initial discovery. Needs tweaking.
* Update ciscome.yaml
* Update ciscome.yaml
Updated
* Add snmprec data
* Update ciscome.yaml
Updating "text" field for clarification so it would be better differentiated between other Cisco OSes.
Removed "cisco-cbqos" as it is not supported.
* Update ciscome.snmprec
Fixed line 14 as it should have been one long line
* Add ciscome_me1200.json test data
Test data for Cisco ME1200
* Rename ciscome_me1200.json to ciscome.json
* Update ciscome.json
fixed interface names to match snmprec file
* Delete ciscome.json
* Adding ciscome.json once more to fix descrptions
for some interfaces to match snmprec file
* Update ciscome.json
* Update ciscome.json
* Update ciscome.snmprec
* Update ciscome.json
* Update and rename ciscome.yaml to ciscome1200.yaml
* Update and rename ciscome.json to ciscome1200.json
* Rename ciscome.snmprec to ciscome1200.snmprec
* Update hpe-ilo.yaml
Added support for Logical Drive Status.
When using 3rd party disks with for example P420i, the controller reports the Logical Drive Condition as degraded as the disk is unauthenticated. So to get the actual status of the logical device one has to look at Logical Drive Status instead (which also reports a lot of other states).
* Update hpe-ilo_4.json
* Update hpe-ilo.yaml
* Update hpe-ilo_4.json
Typo
* update microsemitime.yaml to support newer SyncServer sysObjectId, add additional device information fields and sensors
* fix test data. I keep forgetting that.
* Cisco enhanced cellular support
* Extra sensors, camelcasing and bugfixes
* Doc update
* German translation
* French translation
* Style fixes
* Style changes
* Style changes
* Style changes
* Style changes
* Style changes
* Added test data
* New test data --variant
* New test data --variant ir1101
* Made the new wireless sensors generic
* Added test data for ios variant ir809
* Fix includes/discovery/sensors/count/cisco.inc.php, thanks PipoCanaja
* Moved cellular operating band from Wireless sensors to count sensor
* test data
* test data
* test data
* test data
* Moved ICCID/IMSI/IMEI to inventory
* test data and style fix
* Cellular state sensors now have a group
Co-authored-by: Maikel de Boer <mdb@tampnet.com>
* Add BGP discovery and polling for Dell OS10 devices
* Add BGP testing data for Dell OS10
* Add BGP testing data for Dell OS10 (fix)
* Add DB info for unit testing
DB_TEST_HOST must be changed when running mysql in a separate docker container or unit tests fail
* Set bgpLocalAs in discovery (fixes unit test fail)
Ideally the main `bgp-peers.inc.php` should be fixed so it does not
depend on finding bgpLocalAs from BGP4-MIB
* Change comment style
* Remove link to code in documentation
* Discover BGP counters
* Use IPv6 addresses in compressed format
* Use the actual server name instead of pool name where needed
* Add a new attribute with nodename to avoid breaking RRD filenames
* tests
* tests improved
* force refresh tests
* MIBS update for Redundancy support, and first state
* Current unit state
* Config Sync state
* Upgrade FLASH mib as well
* discover storage
* Storage discovery
* storage
* tests
* fix initial value, and handle empty Descr
* IMEI to replace SN, cause SN is sometimes missing
* Add support for Edge-Core ECS4100 series devices
* Add ECS4100-52T-MIB file
* Update OS/Edgecos.php
* Add support for Edge-Core ECS4610-24F
* Added MIB File
* Updated definitions/edgecos.yaml
* Add test data for ECS4610-24F
* GPS coords from device
in yaml or php
define for epmp, airos, and airos-af-ltu
quirk for airos bug with - in the middle of the number
* style fixes
* revert airos-af-ltu mempool change
* fix imports
* add epmp test data... more improvements to come there.
* don't stagger geocoding now that this is moved to discovery
also, no need to check OSDiscovery since the base implements it.
* fix json data
* fixed
* Add TrueNAS temperature
TrueNAS systems are identified with os=truenas. As of 11.3-BETA1,
TrueNAS exposes CPU temperatures via LM-SENSORS-MIB.
See https://jira.ixsystems.com/browse/NAS-100412
* Update truenas.snmprec
* Update truenas.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Adds Tripplite 12x mib
* Adds triplight envirosense data
* add test data
* fixes type
* flushes out the snmprec
* Fixes incorrect multiplier & adjusts descriptions of sensors
* Adds test data for my variant
* adds test data for the other two (pre existing) variants
* address PR comments by adding additional os discovery items
* Update to fix reporting with multiple zpools
Removed the foreach loop to prevent erroneous reporting when multiple zpools are polled.
* Update to fix reporting with multiple datasets
Removed the foreach loop to prevent erroneous reporting when multiple datasets are polled.
* updated test data
Co-authored-by: Tony Murray <murraytony@gmail.com>
* test
* intendation
* test
* test
* test
* fix
* fix
* test
* a
* fix
* a
* a
* index
* index
* a
* a
* a
* fix
* clock types
* a
* spaces
* Add test data
* Additional states
* test
* count
* fix
* fix
* fix
* limits
* a
* a
* test
* a
* fix
* fix
* a
* a
* a
* test
* a
* test
* limit test
* a
* a
* a
* a
* a
* a
* a
* a
* generic values
* os info
* a
* fix
* new test data
* add test data
* Add test data
* Add lost functionality to Juniper mempool polling
* Update test data
* Test data for a more recent device
* Change simple string match to case insentive regex
* Update test data - CPU was affected too
* Add WTI-POWER-MIB for support WTI VMR, NPS, RPC and NBB Series Power Products - available from https://ftp.wti.com/download/files/WTI-POWER-MIB.txt
* Created wti-power os definition together with discovery files.
* Add test data for wti-power os, created from available VMR-8HD20 device.
* Fixed typo in num_oid
* Change os in definition, to match filename
* Update apc powernet mib
* add definitions for APC ePDUs
* add test data
* add descr
* fix os definitions
* add json data
* matcj test data
* fix test data
Co-authored-by: root@webu.coop <root@webu.coop>
Co-authored-by: ccarrez <ccarrez@ccarrez.webu.lan>
* Added HA state support
* Adding tests for Checkpoint 15600
* Removing trailing white-space in gaia.yaml
* Updating old gaia config files
* Updating the non-variant json of gaia
* Updating git repo directly from a librenms docker container
* Overwriting the original gaia snmprec file
* Once more, with database. Praying to the god of unit tests.
* Removed the new tests
* Trying to re-add 15600
* Re-trying with a fresh snmprec file
* Trying new snmp rec file for 15600
* Remove ospf data
* Update gaia.yaml
Added single quotes
* Update gaia.yaml
* Updating the test after the sensor name change
Co-authored-by: Patrik Jonsson <patrik.jonsson@gmail.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Update Mikrotik MIBs to latest revision 202010080000Z
* Fix of Mikrotik SwOS definition - missing items removal. Added SwOS discovery file to add supported items.
* Add test data generated from CSS106-1G-4P-1S
* Fix of wrongly mixed old and new test data. Fresh export.
* Change raspberry_pi_sensors state
I think it is great that the codecs of a Raspberry are queried, but a non-existent codec license is not a critical sensor value. What do you think?
* Update linux_raspberrypi.json
* Update linux_raspberrypi.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* new device os Raisecom Router OS (ROAP)
tried to add that as existing raisecom os but ended in new os, because they use a
new MIB base for Router OS and newer devices.
* add sensors
* Added tv_signal sensor class (TV signal in dBmV (decibells to millivolt))
* Added OS motorola-cm (Motorolla DOCSIS Cable Modem)
* Added OS thomson-cm (Thomson DOCSIS Cable Modem)
* Update from PDU_mib_244 to PDU_mib_262
* Add a new sysObjectID for the OS detection of schleifenbauer devices
* Update snmpsim data, no changes in save-test-data.php output.
* Revert "Update snmpsim data, no changes in save-test-data.php output."
This reverts commit ac7c0d5610.
* snmpsim + test data for OS schleifenbauer variant dpm27e
* Alcatel-Lucent support part2
* fixing low temp for aos6, mem for aos6 and linkagg for both
* style for aos6.yaml
* style2 for aos6.yaml
* fix style
* fix style
* add test data
* Refactor test for GitHub Actions
* Checkout pull request HEAD commit instead of merge commit
* Fetch changed files from API instead of git
* HEAD commit
* Origin
* Fix env
* force full unit checks on gh actions change
* Fix DB conn
* Update test.yml
* Also set port in PDO connection
* Exit with correct exit code
* Update CiHelper.php
* Update test.yml
* Update CiHelper.php
* Update Proc.php
* Cleanups
Remove extra unit test run on php 7.4
Add names that will hopefully show in github.
Remove redundant DB env variables.
* Fix
Shorter names
and DB_TEST env is required
* Change command for information purposes
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
* Change mempools summary graph to show values
put swap on the negative axis
fix swap classification
* fix whitespace
* fix incorrect class
fix rrd rename logic
* Style
* missed one
* observe with the correct class
* Change mempools summary graph to show values
put swap on the negative axis
fix swap classification
* fix whitespace
* fix incorrect class
fix rrd rename logic
* Style
* missed one
* mempools to modern module
quick hacky hrstorage port
* port ucd-snmp-mib to Mempools
* Populate DB for ucd
Prep for yaml
* initial yaml attempt
* more complex conversions
fixes to YamlDiscovery, make leading $ optional and allow mib::oid format
* walk full tables and skip values
normalize percentages above 100
* handle precent only ones (specify total as 100)
* Move default polling out of YamlMempoolsDiscovery
* fixes
* Update test data hrstorage should be correct.
* perc_warn for hrstorage
* Host Resources, record buffer, cached, and shared
* Host Resources is always better, don't do both HR and UCD
* fix unix, include warning levels
* variable size
* consolidate skip_values
* define mempools schema
* number instead of integer
* more schema refactor
* one more skip_values reference
* throw error for invalid oid translation
aos6
* a* and Cisco
* updated test data
* update almost all hrstorage data files
* b*
* c* with test data
use standard cache for hrStorage
* use cache for storage module too
* hand bsnmp properly
* bdcom
* exclude total oid from yaml so it is not polled
May add a way to ignore this behavior and poll it, but I don't know if that is needed.
* automatically handle percent only values
* ciscowlc
* only poll used or free if we have used, free, and total.
* fix skipping
* the dlinkoning
fix find value when value "name" is numeric
* support numeric oids
* dnos/ftos attempt
* I guess we can't filter on total > 0
* edgecos
* e*
* f WIP
* f*
* gwd (aka g*)
* h* + procurve
* i*
* j*
* m*
* support 0% used memory (however unlikely)
* n*
* CISCO-PROCESS-MIB memory, share cache with processors module
* ignore mempools with invalid total
* p*
* quanta
* r*
fix raisecom mibs terribly broken
* s-z
* style fixes
* Move VRP back to PHP and make it actually work
* fix zynos
* update schema
* Update Cisco processor data for description bug fixes
* fix comware processors
* comware mempools with memory size
default precision to 1
* sophos-xg updated data
* hrstorage use ram size for buffers, cache, and shared
* Show memory available instead of free in device overview
* UCD, use same rrd format, store available instead of free in the db.
* Calculate availability for HOST-RESOURCES-MIB
* Convert UCD to standard polling
* rename old rrd files
* initial graph work
* graph WIP
* Graph looking decent
* Graph looking decent for hr
* remove old ucd_graph code
* handle availability mempool
more graph cleanup
* color adjustments
* remove accidental free calculation
* Update test data and fix corner cases
* fis pfsense
* update schema
* add default value for mempool_class
* fix whitespace
* update schema
* update schema correctly
* one more time
* fortigate_1500d-sensors missing oids
* Update docs.
* fix indent
* add implements MempoolsDiscovery explicitly to OS
* remove ucd_memory graph references
remove unused device_memory graph
* remove unused functions
* set devices with mempools to rediscover to prevent/minimize gaps
* use a subquery
* add overview graph
* port health mempools table
* Update device mempool
* only show overview if multiple
* Don't override user set warn percentages in discovery
* fix missed usage
* fix style
* Safety check to not rename rrd files incorrectly if migration has not been run.
* Fix overview percent bar and represent available and used on the bar
* missed an item to convert to mempool_class
* percent on the wrong side
* 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