* Added support for OS detection from NXOS and UCS
* Changed to SysObjectID instead of Hardware
* Move to YAML
* Rename test cases from nxos to ucos
* Update ucos_2.json
* Rename nxos.yaml to ucos.yaml
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Rewrite smokeping script to be an lnms command
* Add a default number of probes for smokeping
* Formatting fixes
* Refactor to simplify a couple of methods
* Fix a name collision when using more than 60 threads
* Simplify
* First pass at documentation
A few climate fixes too.
I'm a little dubious about the + LibreNMS fix - it could be included
in /etc/smokeping/config if it is really needed, but it sounds like
(looking at git blame) it's needed for if the script generates a broken
configuration file.
I'm thinking we should just not generate broken config.
* Improve testability and add some tests
* Load laravel to make translations available
* Second pass at documentation
* Fix brace
* Extend the device factory to include the type
Also adds a device group fake I created before I realised I didn't need it
* Mimic gen_smokeping.php a little more closely
* Update tests to properly verify old and new behaviour against each other
* Replace gen_smokeping with a wrapper
* Don't double whitespace
Render does this automatically.
Explicitly order by hostname too.
* Make faker less likely to generate duplicates
I tried adding a unique constraint here, but it didn't have the
intended effect.
Extending the hostname like this seems to work fine - I tried
generating 10 million hosts and got no duplicates, compared to
duplicates appearing with as few as 100 hosts without this
change.
A true fix would be to add an 'fqdn' fake upstream.
* Make the tests more robust
* Assorted bug fixes
* Style corrections
* Handle 'generic' devices
* Fix an issue that came up during rebase
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Update sensatronics-em1.yaml
sysObjectID wasn't specific enough.
* Create sensatronics-ittm.yaml
Add support for 4/16 channel units
* Create sensatronics-ittm.yaml
Add support for 4/16 channel units
* Change name to be specific to ITTM
* Create sensatronics-ittm.snmprec
* Create sensatronics-ittm.json
* 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
* Add basic support for GE Galaxy Pulsar Plus Controllers
* Add basic support for GE Galaxy Pulsar Plus Controllers
* Add basic support for GE Galaxy Pulsar Plus Controllers
* Modified Gepulsar.php
* 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>
* Nokia MW Rx support for the 7705 SAR platform
* Nokia MW Rx support for the 7705 SAR platform
* updated timos.snmprec for wireless
* restored tests/snmpsim/timos_*.snmprec
* Added timos test entries for wireless
* 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
* Added basic EndRun support
* Fixed spaces as indicated by Travis
* Changes applied as per request and suggestions
Incorporated @murrant's suggestions.
* Update Endrun.php
* Update endrun.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Initial Release, wireless sensor support for Openwrt
* Extend Openwrt support, add more sensors
* Add documentation for Openwrt Wireless Sensor support
* Moved location of Openwrt.md
* Update openwrt.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* newdevice: added supprot for Fortinet FortiVoice
* Renamed fortivoice yaml file
* Added test date for FortiVoice OS
* Matching Fortinet to be like FortiSwitch
* Corrected test data...
* Added check for incorrect ifConnectorPresent truth values, if invalid, save it as false
* Added space after comma line 629
* Update ports.inc.php
Updated per murrant and tested.
* Update ports.inc.php
* Update ports.inc.php
Changed to check if ifConnector is set and if the response is not true or false, set it to null.
* Update ports.inc.php
* Update ports.inc.php
Fixed the codeclimate space issue
* Update test data
* fix differing escapes
* fix ciena-sds eol
* Revert timos.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Added discovery for temp/dbm graphs for LEOS mibs.
* Cleaned up Typo on Index lines for LEOS MIBs
* Cleaned up Typo for LEOS System MIB
* Added CPU Util graphs for LEOS MIBs
* Added test data and a MIB
* Shortened Index fields
* Update ciena-sds.yaml
* Update ciena-sds.json
* Update ciena-sds.yaml
Co-authored-by: Tony Murray <murraytony@gmail.com>
* OS detection for Dell PowerVault MD arrays
I'm not 100% sure it was worth Dell implementing SNMP - the array
exposes 6 OID's outside of MIBII, and we poll both the useful ones.
At least we get an icon.
* Test data
* Remove polling and discovery module filters
* Add support for Aten PE8216 PDU
* Add support for Aten PE8216 PDU
* Add support for Aten PE8216 PDU
* Revert "Add support for Aten PE8216 PDU"
This reverts commit 5d2f195f28.
* Revert "Add support for Aten PE8216 PDU"
This reverts commit ebfd659775.
* Fixed integer issue with skip_values
* More integer changes
* Add json file
* Fix yaml file
* Setting modules like that reduces user control
Co-authored-by: Tony Murray <murraytony@gmail.com>