* 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
* 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
* UBNT AF LTU: Fix incorrect eth0 status during discovery
* UBNT AF LTU: Update test data
* UBNT AF LTU: Remove eth0 if afLTUethConnected is not set
* UBNT AF LTU: Use require instead of require_once
* IFOTEC new product integration
* change source code indentation
* change source code for code climate checking
* change source code for code climate checking
* deletion of an unnecessary line
* add ifotec.php and test units
* forgetting about the previous commit
* modifications of test units
* add a test units
* optimization and add test units
* change SMNP mode request
* source code cleanup and and file for test units
* update .snmprec file
* update json test file
* update json test file
* IFOTEC mib integration
* add IFOTEC mib files
* IFOTEC mib integration for sensors
* cancel $oid2 unset
* delete useless line
* Fixed Ubiquiti Airfiber LTU retrieval
* Fixed Rx/Tx modulation rate
* Fixed eth0 retrieval
* Fixed quality retrieval
* Fixed Tx/Rx rate
* Fixed distance retrieval
* Added Rx power chain0
* Added Rx power chain1
* Removed eth0 port status
* Removed duplicate Tx EIRP
* UBNT AF LTU: Remove the now useless eth0 port status sensor
eth0 is now logged by the port module, so we don't need a separate state sensor to log the status of the port.
This change was mentioned in the previous commit, but I forgot to include it...
* UBNT AF LTU: Updated test data
* UBNT AF LTU: Fix incorrect spaces
* UBNT AF LTU: Use getnext
* UBNT AF LTU: Add some type checks and fixes
* UBNT AF LTU: Passing sensor values to WirelessSensor calls
* UBNT AF LTU: Cast sensor value to int
* Revert changes made to the test data
* UBNT AF LTU: Add new test data
* UBNT AF LTU: Add discoverWirelessQuality function for quality discovery
* UBNT AF LTU: Use snmpwalk_cache_oid
* UBNT AF LTU: Remove blank line at start of control structure
* UBNT AF LTU: Fix RX Ideal Power Chain 1
* UBNT AF LTU: Fix distance sensor
* UBNT AF LTU: Update CPU usage OID
* UBNT AF LTU: Update test json
* UBNT AF LTU: Update test json 1.4.0
* Arista EOS: Added groups and better sensor names
* Changed few sensors naming to remove redundancy
* Test files
* Better naming v2
* More rewriting and grouping
* And more grouping/rewritting
* Update arista_eos_vrf.json
* Minor code format fix
Co-authored-by: Tony Murray <murraytony@gmail.com>
* removing $graphs global
* remove unused things
* fix some additional graphs
* Fix graphs persisting too soon
* correct name for poller module performance graph
* only one type of graph is used here
* Update cisco-pw.inc.php
To correct Interface names that use escaped '/' e.g. GigabitEthernet0_4_0_12
and translate the underscore back to a slash - e.g. GigabitEthernet0/4/0/12
* Update cisco-pw.inc.php
* Update cisco-pw.inc.php
* Update cisco-pw.inc.php
* Update cisco-pw.inc.php
* modifies find_device_id
* Removed host name validation check for RFC. Some devices and OS allow you
to set a name that contains characters that are prohibited by the RFC.
Such devices can be added using their IP address, their sysName will be
written to the database. If the device is already in the database, then it
should be possible to find it, even if the name is unacceptable according
to RFC requirements.
* Additional search options for sysName have been added using the default
domain. This was needed to improve LLDP detection - a short name was used in
the PDU, and the full name with the domain was stored in the sysName field
in the database.
* modifies find_device_id
* reordering checks
* handling situations with duplicate sysName
* modifies find_device_id (fix style errors)
Although JunOS populates ipAddressIfIndex.ipv6, it does not add prefix lengths or other metadata. This means that IPv6 discovery fails.
This change removes OIDs from the list when there is incomplete data. If the list is empty after IP-MIB is walked, it then tries IPv6 MIB.
It's not a great fix, but I'm not confident I can fix the underlying issue without a complete re-write of this module.
* vrp FDB table corrected on CE switches
* sleep 5 in snmpsim to run tests.
* 6 seconds wait when snmpsim.fork is called from bootstrap
* rollback in Snmpsim Class
* Update bootstrap.php