* 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
* Make usage of logger, also harden exception logging
* Make usage of hardened command_runner
This is a hardened version of subprocess.call which handles timeout, encoding and various errors that may happen during execution
* Remove unused exception logging
* Fix bogus exception logging
* Rename exception to match log line
* Make command_runner pylint friendly under Unix
* Add copyrights to my parts of code
* Special Ports to Global Settings
* customers_descr type fix
* add mix-manifests - move section
* move to webui :P
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Update alert_rules.json
Added devices unpolled alert template
* Update alert_rules.json
* Use coalesce to provide default value
* Update alert_rules.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Fix disabling of built-in commands when using ./lnms in production
It wasn't working correctly after Laravel upstream changes
* Use nunomaduro/laravel-console-summary
* fix command name
Co-authored-by: Tony Murray <murraytony@gmail.com>
It looks like VMware dropped the Appliance for vCenter 7 since it only comes as an appliance now. Example: `VMware vCenter Server 7.0.1.00100 embedded build 17004997 VMware, Inc x86_64`
* 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
* remove unneeded semi-colons at end of line
* fix SC2206: Quote to prevent word splitting/globbing
* fix SC2164: Use 'cd ... || exit' in case cd fails
* fix SC2004: $/${} is unnecessary on arithmetic variables.
* fix SC2155: Declare and assign separately to avoid masking return values.
* fix SC2124: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
* fix SC2059: Don't use variables in the printf format string. Use printf "..%s.." "$foo".
* fix SC2076: Don't quote rhs of =~, it'll match literally rather than as a regex.
* fix SC1090: Can't follow non-constant source. Use a directive to specify location.
* fix SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
* SC2223: This default assignment may cause DoS due to globbing. Quote it.
* fix SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
* fix SC1117: Backslash is literal in "\n". Prefer explicit escaping: "\\n"
* better handling of branch comapre
* add missing local ver_73 from merge
* remove duplicate definition
* 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
* Update to Composer 2
No need to roll our own checks anymore since this is now built in.
Also limit the update check to once a week.
* update
* Make Composer wrapper report correct exit code
* Update composer_wrapper.php
* re-enable extension check
Co-authored-by: Tony Murray <murraytony@gmail.com>
* 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>
* Extend Debian instructions with Raspberry Pi OS
The Debian 10 part of the install instructions for LibreNMS just need a different bash location to be compatible on Raspberry Pi OS, formerly known as Raspbian which is based on Debian 10 Buster.
* Update Install-LibreNMS.md
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.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