* Global Settings - Alert Default Settings
* Revert "Global Settings - Alert Default Settings"
This reverts commit a1af62b146.
* remove in, not_in cause of non functional
* Delete ports via eloquent event
Chunk delete during purge all operations so we don't use too much memory.
* protect against missing device
* fix whitespace
* fetch less from the database when deleting a device's ports
fix output
apparently GD now returns false when getting the bounding box of empty strings, this causes jpgraph to throw an incorrect error. Work around that by setting all possible text to a single space character.
* Add Advantech logo.
Taken from https://commons.wikimedia.org/wiki/File:Advantech_logo.svg
with minor edits (removed width and height).
* Add Advantech MIB files.
* Add Advantech definitions.
* Add suppor for version and hardware polling.
* Add advantech snmp recording.
* Add sensors for SFP ports
Each SFP will have temperature, voltage, tx bias, Tx/Rx power.
Also update snmp recording to include new data.
* Rename ADVANTECH-EKI-PRONEER-MIB_1_01.mib to ADVANTECH-EKI-PRONEER-MIB
* Rename advantech-common-mib.mib to ADVANTECH-COMMON-MIB
* Update advantech.yaml
* Update advantech.svg
* Create advantech.json
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* Added support for ICT Modular Power System and ICT Sine Wave Inverter
* Added SNMP test data for ICT Modular Power System and ICT Sine Wave Inverter
* Fixed styling errors and refactored state sensor for ICT Sine Wave Inverter
* Fixed newly created styling issues from refactoring ICT Sine Wave Inverter files.
* Fixed further styling errors from previous changed to appease Travis CI
* Removed unnecessary math from ICT Sine Wave Inverter voltage sensor
* Cleaned up unnecessary lines in ict-mps/ict-swi sensors. Moved from snmp_get to snmp_get_multi in ict-mps/ict-swi os pollers.
* Added test data for ICT MPS and SWI
* Fixed issue with load sensor not discovering
* Update snmpget to snmp_get
Co-Authored-By: Jellyfrog <Jellyfrog@users.noreply.github.com>
* Updated test data post-fixing sensor detection issue on ICT Sine Wave Inverters
* Moved ict-swi and ict-mps from legacy to yaml sensors
* Removed legacy code for ict-mps and ict-swi sensors
* Last commit mistakenly removed OS polling from ict-mps and ict-swi
* Fixed formatting for OS polling and updated test data for ict-mps and ict-swi
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
* honoring config option `force_ip_to_sysname` in bill creation and editing
* refactored variable name to match it in edit.inc.php
* forgot one variable
* and one more :S
* Update new_bill.inc.php
* Update edit.inc.php
* Update new_bill.inc.php
* Update edit.inc.php
* Update edit.inc.php
* Update edit.inc.php
Co-authored-by: Neil Lathwood <gh+n@laf.io>
Co-authored-by: Tony Murray <murraytony@gmail.com>
* perform json_encode() on memcached app $response data to match update_application() string parameter
* return raw snmp_get result for memcached response data during update_application()
* ipv6 support for BGP routes in VRP devices
* reverse bgpPeers array to allow VRF aware BGP
* codeclimate
* codeclimate
* codeclimate, finally
* Split VRP out of bgp-peers for readabilty
* Split VRP out of bgp-peers for readabilty
* tests
* CodeClimate
* improve function description
* improve function description
* v6data
* rebase
* space
* ipv6 support for BGP routes in VRP devices
* reverse bgpPeers array to allow VRF aware BGP
* codeclimate
* codeclimate
* codeclimate, finally
* Split VRP out of bgp-peers for readabilty
* Split VRP out of bgp-peers for readabilty
* tests
* CodeClimate
* improve function description
* improve function description
* v6data
* rebase
* space
* fixed corner case
* ascom support
* tests
* typo
* Correct missing 'mpls' in misc/os_schema.json
* remove mpls for now
* tests
* Update ascom.svg
* Don't disable already disabled modules
As I usually state, not much gain in disabling these here. Would be better to optimize the modules if you think they take too long on devices that don't have support.
* refactor polling code
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Fix device creation using overwrited ip
`deviceArray` was creating a device missing the `overwrite_ip` field, so it was not used by `isSNMPable`
* Fix device creation using overwrited ip
Part 2: Fix using not yet set variable
* Fix device creation using overwrited ip
Part 3: remove double space
* Useless commit to trigger Travis
* added functionality to set sysLocation override in $os.inc.php files
* php styling fixes
* updated docs for location override in $os.inc.php
* patch poweralert.inc.php to use $location override
* added location override for enexus (Eltek)
* update phpdoc for set_device_location()
* converged location code in core.inc.php to use set_device_location()
* added new snmprec test data for enexus os
* Travis test data
* remove enexus_smartpacks2 test data
* Revert "remove enexus_smartpacks2 test data"
This reverts commit 36c8fc7036.
* updated enexus_smartpacks2 test data with generic syslocation
* kick travis CI
* kick travis CI
* OPNsense better reporting of Version and Platform
OPNsense can now report exact version and platform, if the settings in OPNsense is ticked "Display Verion in OID".
* OPNsense poller change to better type check
OPNsense poller change to better type check on $OIDVersionString, which returns false if not found but contains string if it is.
* Add missing bracket to if statement
Add missing bracket to if statement on $OIDVersionString
* OPNsense poll add required spaces to function call
OPNsense poller add required spaces to function call, for coding style checks to pass.
* OPNsense test data json files
OPNsense test data json files
* Changed USV bypass state from alert to warning
* add /opt/librenms/tests/data/dell-ups_tower1000w.json
* add deltaups.json
* orvaldi-ups
* add generex-ups.json
* include two more generex-ups variants
* add eaton-mgeups_5px.json
* add tree more
* add istars.json
* restart hanging CI