* Make sure 1st admin user creation does not fail with error 500
* Update MakeUserController.php
just init it to the default fail message
* Update MakeUserController.php
* just struggling with the github editor :P
Co-authored-by: Tony Murray <murraytony@gmail.com>
* 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