Commit Graph
7 Commits
Author SHA1 Message Date
Tony MurrayandGitHub 1c08c11a77 Remove Laravel helpers (#11428)
* Remove Laravel helpers

* Replace qualifier with import
2020-04-18 00:37:56 +02:00
Tony MurrayandNeil Lathwood fad0bffc43 Escape SNMP & IPMI shell commands (#9537)
hopefully doesn't break anything
Mostly issues with snmp oids and options containing spaces.  Try to remove all of those.

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-12-16 13:42:50 +00:00
crcroandNeil Lathwood 2a15da2228 fix: Ignore OEM ipmi sensors that returns unreadable values (#7518)
* fix for OEM ipmi server that doesn't return hreshold

* escape chars, typo
2017-10-20 16:43:27 +01:00
Tony MurrayandNeil Lathwood b18c41b1a9 refactor: Use the Config class includes/discovery (#7299)
* refactor: use the Config class includes/discovery

* fix issue with $config variable not accessible in include-dir.inc.php

* improved whitespace

* Tidy up discovery_by_ip
2017-09-11 21:26:41 +01:00
ZaxmyandNeil Lathwood 2b52977668 fix: Wrapped ipmi user / pass in quotes #4686 and #4702 2016-10-03 19:10:59 +01:00
Neil LathwoodandTony Murray dc26f097b0 fix: Run cleanup for ipmi sensor discovery (#4582)
* fix: Run cleanup for ipmi sensor discovery

* Updated check_valid_sensors calls to use ipmi as sensor type
2016-09-26 16:34:54 -05:00
laf b5d1155006 Updated discovery sensors module directory structure 2016-01-17 20:47:47 +00:00