librenms/tests
Tony Murray c79b187d72
Poller rewrite (Try 2) (#13525)
* core WIP

* try to finish up

* trim space too
and a couple of cleanups

* update test data

* put escapes back

* another net-snmp difference

* correct copy paste error

* WIP

* Use new code YAY

* a tiny bit more

* Kind of working

* Handle manual modules correctly

* convert core to modern module

* Only save metrics if modules is not overridden

* correct module exists check

* database error handling

* debug handling

* restore bad changes

* Introduce Actions
 RunAlertRulesAction
 UpdateDeviceGroupsAction

* tweaks to output

* Fix some issues in outside code

* Style fixes

* fixes to module status checks

* typehints!

* Use logger only and DI

* OS module not named correctly

* Work on quiet output a bit more

* generically don't change output when disabling debug if the driver is already stack

* Fix missing $device variable for legacy os polling
Fix missing dbFacile functions when no legacy modules polled in RunAlertRulesAction

* restore legacy os module shim

* use the new poller code for tests

* PollingDevice event

* Fix some issues and enable/disable error reporting around legacy modules

* typehints

* fully update baseline

* Use Process for version commands so we don't leak debug output.

* don't detect rrdtool version in ci every time

* style fixes

* Warning fixes

* more fixes

* re-update baseline

* remove diff noise

* fix up alerts

* Catch exceptions in device ip lookup

* Revert accidental snmp.inc.php poller target change
(should have been ?: not ??)
2021-11-17 19:23:55 -06:00
..
Browser Dusk: improve speed and safety (#13370) 2021-10-18 10:01:07 +02:00
data RUTX fix sensor limits (#13526) 2021-11-17 15:30:54 +01:00
Feature SNMP Trap handler: UpsTrapOnBattery (#13482) 2021-11-11 10:08:36 -06:00
Mocks Polling cleanup, fix PHP warnings (#13460) 2021-11-14 14:58:13 -06:00
snmpsim RUTX fix sensor limits (#13526) 2021-11-17 15:30:54 +01:00
Traits Fix api transport mult-line parsing (#13469) 2021-11-03 13:37:57 -05:00
Unit Change how options are handled for SnmpQuery (#13488) 2021-11-10 20:49:06 -06:00
__init__.py New python service for poller, discovery + more (#8455) 2018-06-30 12:19:49 +01:00
AddHostCliTest.php Fix net-snmp unformatted strings (#13486) 2021-11-10 20:48:22 -06:00
AddHostTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
AlertingTest.php Push Notifications (Mobile and PC) (#13277) 2021-10-06 07:29:47 -05:00
AuthHTTPTest.php Kick other sessions when changing password (#13194) 2021-10-21 17:25:38 -05:00
AuthSSOTest.php Kick other sessions when changing password (#13194) 2021-10-21 17:25:38 -05:00
BasicApiTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
bootstrap.php Fully convert core to a modern module (#13347) 2021-10-19 15:43:43 -05:00
CommonFunctionsTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
ConfigTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
CreatesApplication.php Apply fixes from StyleCI (#12117) 2020-09-21 14:54:51 +02:00
DBSetupTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
DBTestCase.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
DocsTest.php Fix 2021-10-28 01:38:59 +02:00
DuskTestCase.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
FpingTest.php Connectivity Helper to check and record device reachability (#13315) 2021-10-03 22:45:10 -05:00
FunctionsTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
GitIgnoreTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
InMemoryDbTestCase.php lnms config:set ability to set os settings (#13151) 2021-08-19 18:34:19 -05:00
IpTest.php Fix IPV6 test (#13468) 2021-11-03 14:06:34 +01:00
MibTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
module_tables.yaml Ability to save cipsec-tunnels test data (#13463) 2021-11-01 22:46:55 -05:00
OSDiscoveryTest.php Rename concrete SnmpQuery class to avoid confusion (#13412) 2021-10-23 01:43:55 -05:00
OSModulesTest.php Poller rewrite (Try 2) (#13525) 2021-11-17 19:23:55 -06:00
QueryBuilderTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
RrdDefinitionTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
RrdtoolTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
SchemaTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
SmokepingCliTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
SnmpsimHelpers.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
SVGTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
SyslogTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
TestCase.php Apply fixes from StyleCI (#12117) 2020-09-21 14:54:51 +02:00
tests.py Format python code with Black (#12663) 2021-03-28 11:02:33 -05:00
YamlSchemaTest.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00