Commit Graph

13 Commits

Author SHA1 Message Date
leonace924
e6481fa8aa fix: remove duplicate and keep old behavior 2026-01-06 01:42:20 -05:00
leonace924
d825352410 feat: extract MySQL/MariaDB monitor to its own monitor-type and enable conditions support 2026-01-06 01:42:20 -05:00
Frank Elsinga
b4c2624c69
Merge branch 'master' into XMPP-retry-test 2026-01-06 06:42:44 +01:00
Frank Elsinga
068cb35022 retry check() sets status to UP for XMPP server with valid certificate (STARTTLS) 2026-01-06 06:41:37 +01:00
mkdev11
11f451d7f2 fix: add type field to condition test objects
The processMonitorConditions function expects conditions with
type: 'expression' field. Fixed test cases to use correct format.
2026-01-06 03:57:34 +02:00
mkdev11
8b145d2522 refactor: split MQTT check() into smaller functions
Per CommanderStorm's feedback, refactor the check() method into:
- checkKeyword() - for legacy keyword matching
- checkJsonQuery() - for legacy JSONata query
- checkConditions() - for new conditions system

Also add test cases for MQTT conditions:
- Message condition with contains operator
- Topic condition with equals operator
- Condition mismatch rejection
- Multiple conditions with AND logic

This improves readability and maintainability.
2026-01-06 03:48:31 +02:00
Markus Reisenhofer
d096e2902c
feat(gamedig): Update gamedig implementation to v5 (#4949)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2026-01-03 05:56:38 +00:00
Frank Elsinga
3cb3e7a8c3
add a testcase 2026-01-02 07:43:35 +01:00
Frank Elsinga
cf1e17f587 fix lint 2026-01-01 17:08:36 +01:00
Frank Elsinga
f426e5819a reword more of our testsuite names 2026-01-01 17:01:32 +01:00
Frank Elsinga
afef0c0e61 move websokcet 2026-01-01 16:35:26 +01:00
Frank Elsinga
9abded0baf fix imports 2026-01-01 16:34:05 +01:00
Frank Elsinga
b91b73a4eb move monitoring tests to better folder 2026-01-01 16:27:37 +01:00