Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Professional Edition
-
None
-
Debian 8.5
Description
I thought I had something similar to OBSERVIUM-1518 but even after rebuilding, it still seems to be a problem.
test_alert.php has switch -a that says to enter the alert entry ID.
(Note, double hyphen from the output but the command appears to only need one hyphen.)
|
--a Send test notification to for an alert entry [default: <alert entry id>]
|
I have 5 contacts setup (ID 1-5), and I have 9 alert checkers (ID 1-9).
Running test_alert -a with any value only alerts the first contact (an e-mail contact). Alert check 1 is Telegram notification, Contact 1 is the e-mail it produces.
Attached is output from -a 1 and -a 5 -dd.
SQL[SELECT * FROM `alert_tests` WHERE 1]
|
ROWS[9]
|
SQL RUNTIME[0.00023103s]
|
Cached 9 alert rules.
|
|
SQL[SELECT * FROM `alert_assoc`]
|
ROWS[11]
|
SQL RUNTIME[0.00007796s]
|
|
SQL[SELECT * FROM `alert_table` WHERE `alert_table_id` = '1']
|
ROWS[0]
|
SQL RUNTIME[0.00026011s]
|
|
SQL[SELECT * FROM `devices` WHERE `device_id` = '']
|
ROWS[0]
|
SQL RUNTIME[0.00010085s]
|
|
SQL[SELECT * FROM `` WHERE ``.`` = '']
|
ROWS[-1]
|
SQL RUNTIME[0.00009203s]
|
ERROR[Error in query: (Incorrect table name '') 1103]
|
|
SQL[SELECT * FROM `devices` WHERE `device_id` = '']
|
ROWS[0]
|
SQL RUNTIME[0.00010896s]
|
0.16.7.8010
I do rolling updates frequently.
Attachments
Issue Links
- relates to
-
OBS-1518 Update Observium
-
- Closed
-