[ZBXNEXT-3101] Option to execute operations on trigger recovery Created: 2016 Jan 18 Updated: 2019 Mar 27 Resolved: 2016 Sep 28 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F) |
Affects Version/s: | 2.2.11, 2.4.7, 3.0.0alpha6 |
Fix Version/s: | 3.2.0alpha1, 3.2.0 |
Type: | Change Request | Priority: | Major |
Reporter: | Ingus Vilnis | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | action, conditions, operations, recovery | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() |
||||||||||||||||||||||||||||||||||||||||
Issue Links: |
|
Description |
Currently when trigger value turns to OK after being PROBLEM we can send Recovery message. It is not possible to execute remote commands on trigger recovery. There is a workaround to use condition Trigger value = OK in another action and execute commands in operations there but that leads to another problem described in |
Comments |
Comment by Oleksii Zagorskyi [ 2016 Jan 18 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A bit related topic is | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Oleksii Zagorskyi [ 2016 Jan 18 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Oleg Egorov (Inactive) [ 2016 May 25 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(1) [I] Data import ERROR 1054 (42S22) at line 937: Unknown column 'recovery_msg' in 'field list' wiper RESOLVED in r60330 sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Andris Zeila [ 2016 May 26 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(2) [D] Escalation cancellation changes. This update also changes how server processes cancelled (host/item/trigger/action disabled/deleted) escalations. Before server sent message about cancellation to all message recipients listed in the next escallation step. This means that users that have been notified during previous escalation steps will not receive cancellation message. If escalation was sleeping then nobody would receive cancellation message. Now when escalation is cancelled the message is sent all users that were notified during previous escalation steps (like recovery message). wiper Merged with (21), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Andris Zeila [ 2016 May 27 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(3) [I] Database patch is ready for testing in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-3101 wiper RESOLVED sandis.neilands CLOSED. Matrix of test-cases and database for 3.0.3 for upgrading to 3.2. attached.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 May 27 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(4) [S] execute_recovery_operations() calls add_sentusers_msg() with parameters subject=action->r_shortdata, message=action->r_longdata. A few lines above subject and message are set conditionally but are not used. wiper RESOLVED in r60425 sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 May 30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(5) [I] In data.tmpl we must add default recovery operations that replace default recovery message. wiper RESOLVED in r60426 sandis.neilands CLOSED. sandis.neilands REOPENED. We must also add default recovery messages to opmessage table. wiper RESOLVED in r60848 sandis.neilands REOPENED. data.tmpl must be changed as well. wiper RESOLVED in r60859 sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 May 30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(6) [I] Should we log custom formulas as they are before modification during the upgrade? wiper After a short discussion it was decided to be more trouble than it's worth. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Alexander Vladishev [ 2016 May 31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(7) [A] frontends/php/include/classes/api/services/CAction.php:1327 validateOperationsIntegrity(): incorrect variable name $type must be renamed to $recovery oleg.egorov RESOLVED in r60434 sasha CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Alexander Vladishev [ 2016 May 31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(8) [A] validateOperationsIntegrity(): composite translation strings is not allowed. For example: if ($type == ACTION_OPERATION) { $action_type = _('operation'); } else { $action_type = _('recovery operation'); } _('No message recipients for %1$s.', $action_type) oleg.egorov RESOLVED in r60434 sasha undoing string changes in r60571 and r60572. RESOLVED oleg.egorov CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Alexander Vladishev [ 2016 May 31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(9) [A] some unsupported fields throws an exception, some are silently ignored oleg.egorov RESOLVED in r60434 sasha CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Alexander Vladishev [ 2016 May 31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(10) [A] recovery_operations can be added for trigger and internal actions only oleg.egorov RESOLVED in r60543, r60544 sasha this code can be removed because recovery operations will be validated in {{validateOperationIntegrity()} REOPENED oleg.egorov RESOLVED in r60715 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Alexander Vladishev [ 2016 May 31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(11) [A] validateOperationsIntegrity() validation must be added for operation types depending on eventsource operations
recovery_operations
oleg.egorov RESOLVED in r60567 sasha Code was improved in r60573. Please, take a look. RESOLVED
oleg.egorov RESOLVED in r60792 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Alexander Vladishev [ 2016 May 31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(12) [A] The new condition is not correct old:if ((isset($operation['esc_step_from']) || isset($operation['esc_step_to'])) && !isset($operation['esc_step_from'], $operation['esc_step_to'])) { new:if ((array_key_exists('esc_step_from', $operation) || array_key_exists('esc_step_to', $operation)) && (!array_key_exists('esc_step_from', $operation) && !array_key_exists('esc_step_to', $operation))) { oleg.egorov RESOLVED in r60536 sasha CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Alexander Vladishev [ 2016 May 31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(13) [A] this translation string was changed mistakenly? - _('esc_step_from and esc_step_to must be set together.') + _('esc_step_from and esc_step_to must be set together in action operation.') oleg.egorov Not mistakenly, the main was idea to make error message more understandable. But issue open to discuss. sasha similar changes - 'No execution target specified for action operation command "%s".' + 'No execution target specified for action operation command "%1$s".' - 'No authentication type specified for action operation command "%s".' + 'No authentication type specified for action operation command "%1$s".' ... and more 6 messages oleg.egorov "%s" - incorrect syntax sasha CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Alexander Vladishev [ 2016 May 31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(14) [A] double check for existence of the esc_period if (array_key_exists('esc_period', $operation)) { if (array_key_exists('esc_period', $operation) && $operation['esc_period'] != 0 && $operation['esc_period'] < SEC_PER_MIN) { ... } } oleg.egorov RESOLVED in r60536 sasha CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Alexander Vladishev [ 2016 May 31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(15) [A] these conditions cannot be replaced in such a way
oleg.egorov RESOLVED in r60536 sasha CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Alexander Vladishev [ 2016 Jun 01 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(16) [I] data.tmpl is broken. ERROR: insert or update on table "screens" violates foreign key constraint "c_screens_3" DETAIL: Key (userid)=(1) is not present in table "users". wiper Apparently we have to move users table in before screens table (or better to the top of file) in schema.tmpl file. Data is exported in the order the tables are listed in schema.tmpl file and in 3.0 we had foreign keys addded from screens to users table. Two patches - one with data exported with our export script, the second with data edited manually. Both generates databases with identical mysql dumps, so pick your poison. wiper RESOLVED in r60478 sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(17) [F] The operation condition will not be available for recovery operations, right? oleg.egorov Based on specification Recovery operation form will not contain: Steps Step duration Conditions Yes, conditions will be not available in recovery operations sandis.neilands Thanks, CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(18) [S] recovery field of DB_ACTION is assigned to integer literals. It would be better to use constants to improve readability. wiper RESOLVED in r60522 sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(19) [S] execute_recovery_operations() should not handle OPERATION_TYPE_MESSAGE, it is handled by execute_operations(). wiper According to specs (screenshot) recovery operations must handle both - OPERATION_TYPE_MESSAGE (send message to user/group) and OPERATION_TYPE_RECOVERY_MESSAGE (send message to previously notified users) sandis.neilands My mistake, sorry. CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(20) [S] We have two static execute_operations() functions. Would be better to rename one of them. wiper RESOLVED in r60524 sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(21) [D] Escalation cancellation logic has changed, the documentation must be updated accordingly. https://www.zabbix.com/documentation/3.2/manual/config/notifications/action/escalations?s[]=cancel In the future it would be nice to be able to set cancellation operations somehow (ZBXNEXT-3294) wiper merging with (2) subissue wich basically is about the same thing:
martins-v The new logic mentioned in https://www.zabbix.com/documentation/3.2/manual/config/notifications/action/escalations - "(canncellation) message is sent to all who received the notifications before". RESOLVED sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(22) [design] [I] [F] When a compiler notices an undefined variable it spits out an error showing the location. The compiler doesn't try to fix erroneous source code for us. If a new compiler doesn't support some feature of the previous one it will point to the error location. During the upgrade we remove the deprecated conditions (trigger value = OK, etc). This is wrong because:
How difficult would it be to:
sandis.neilands CLOSED for two reasons. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Andris Zeila [ 2016 Jun 14 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(23) [S] server crashes when executing recovery operations because of incorect database select column indexing. sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Andris Zeila [ 2016 Jun 14 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(24) [S] according to specification update database patch must convert operations to recovery operations where it is possible (if action is strictly based on success event). wiper RESOLVED in r60635 sandis.neilands Works as intended if:
Otherwise - recovery operations are collapsed and executed without delay, recovery message overrides default message from the original operation. If this is OK, then this sub-issue can be closed. wiper Actually it's even worse. We can convert operations only if:
Plus if action has 'send message' operations we must copy subject/message to recovery subject/message. It's getting overly complicated. wiper RESOLVED in r60796 sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(25) /tests/data/data_test.sql: 66-74 oleg.egorov RESOLVED in r60666 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(26) [F] Removed duplicate unit test entry in r60647. Please review. oleg.egorov CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(27) [F] action.create: So there should at least one of them. Either operations or recovery_operations. oleg.egorov RESOLVED in r60664, r60667 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(28) [A] action.create: 2. if incorrect operation type 'recovery_operations' => [ ['operationtype' => 'asdasd'] ] the error message says "No recipients for action operation message." 3. opcommand accepts anything 'opcommand' => [ 'type' => 'asdads', 'command' => 'aaaasdasd', 'execute_on' => 'aaaa' ] and results in success. Not sure what I have just created with this. And it seems like it's validated for operations, but not for recovery operations. 4. If operations has fields, but has no operation type, I get an error: action.update: [ 'actionid' => 41, 'operations' => [ [ 'operationid' => 79 ] ] ] I get an error: 6. If recovery operations has no operation type but only ID [ 'actionid' => 41, 'recovery_operations' => [ [ 'operationid' => 78 ] ] ] I get an error: 7. Having no operation ID, but replacing it with another recovery operation with all the fields present, I get a different error: I think that operationid is the only mandatory field if user wants to edit recovery operation. Other fields should be optional. Only when type is changed, fields should be revalidated just like in create method. iivs 7. Seems to be fixed under (33) r60702 oleg.egorov Moved to ZBX-3783 (26) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 16 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(29) [A] action.create oleg.egorov RESOLVED in r60662 iivs If I specify those values, they are still recorded in DB. REOPENED oleg.egorov RESOLVED in r60713 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Andris Zeila [ 2016 Jun 20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(30) The new recovery operation OPERATION_TYPE_RECOVERY_MESSAGE missing from API design docs. It's mentioned in server design, UI screenshots and translation messages (Notify all who received any messages regarding the problem before). iivs After discussion, the decision was made to add type called "Send recovery message". In details describe what is going to happen "Notify all who received any messages regarding the problem before". The fields for "Send to User groups", "Send to Users" and "Send only to" will not be visible. In addition, when "Default message" is selected, the fields below "Subject" and "Message" should be hidden. oleg.egorov RESOLVED in r60721 iivs Type OPERATION_TYPE_RECOVERY_MESSAGE should be available only for recovery operations. See (11) for details. oleg.egorov RESOLVED in r60751 iivs Create new action and change dropdown in recovery operation to "Send recovery message", then change back to "Send message". Observe the error: oleg.egorov RESOLVED in r60778 iivs For a recovery operation, unselect checkbox "Default message". Change from "Send message" to "Send recovery message". The input field and textarea are still visible. Change back from "Send recovery message" to "Send message", the checkbox is now selected. oleg.egorov RESOLVED in r60794 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(31) [F] When "Remote command" is chosen, the script name field is visible. Also "Authentication method", "User name" and "Port" is visible. There are two fields named "Commands". One is textarea and the other one is input field. Also I cannot add something in "Target list". oleg.egorov RESOLVED in r60798 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(32) [F] action.update: [ 'actionid' => 41, 'recovery_operations' => [], } Result: oleg.egorov RESOLVED in r60702 iivs I have action with operations, but I cannot remove recovery operations on update. REOPENED oleg.egorov RESOLVED in r60717 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(33) [F] Cannot create recovery operation without an operation from frontend. The error states: "Field "operations" is mandatory.", but like we discussed perviously it should be possible to add a recovery operation action without operation. oleg.egorov RESOLVED in r60703 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 21 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(34) [F] Using GUI, create action with recovery operations and without operations. Edit action and try to add operations. Result: oleg.egorov RESOLVED in r60706 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Andris Zeila [ 2016 Jun 22 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(35) [D] We must decribe in details what actions will be converted and what actions will be disabled in upgrade notes. sandis.neilands For trigger actions: the only actions that will not be disabled during the upgrade are:
The rest of the trigger actions (all OR actions, all CUSTOM actions, remaining AND and AND/OR actions) as well as all internal actions will be disabled and will have to be reworked after upgrade. In the best case - the user just have to enable them. In the worst case - completely rework the actions from scratch. The best approach in this case is to rework the actions before the upgrade. martins-v I've added a corresponding entry in the Upgrade notes. RESOLVED sasha CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 27 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(36) [F] Recovery operations are not shown in the 'Actions' page (see no_recovery_operations.png - actions 4 - 7 have only recovery operations). Is this intentional? iivs Although that information is important to show in list, currently there are no plans to display them, because previously we had recovery message checkbox, that did not affect the list. Also we're still need to discuss how to display them. We could make a new column, or merge them in existing one. So this could be later moved to a new ZBXNEXT. TL;DR: Yes. Why? Because. CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 27 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(37) [I] Server crashes during upgrade. In DBpatch_3010023() the last argument for zbx_db_insert_prepare() should be NULL instead of 0. RESOLVED in r60768. wiper CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 27 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(38) [F] Recovery operation -> Remote command -> Global script not working. Cannot add script from popup: oleg.egorov RESOLVED in r60797 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(39) [A] Performing action.create/action.update mediatypeid should not be recorded in DB in case of recovery message. oleg.egorov RESOLVED in r60790 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(40) [S] Having an action with recovery operation "Send message" and then followed by another recovery operation "Send recovery message", recovery messages aren't sent to the users/groups specified in the "Send message" operation wiper RESOLVED in r60780 sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(41) [F] Translation string changes? Strings added:
Strings deleted:
iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(42) [F] Item in “normal” state, Low-level discovery rule in “normal” state and Trigger in “normal” state event type conditions are not removed from internal action configuration page. From specification:
oleg.egorov RESOLVED in r60789 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(43) [AF] Code refactoring in r60782, please review. oleg.egorov REVIEWED! Thank you and please review my changes is 60804 iivs Thanks! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Attached summary and configuration backup (MySQL) for trigger action upgrade testing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(44) [I] After upgrade for AND and OR actions with all conditions removed the type was not changed to ANDOR. From specification:
wiper RESOLVD in r60820 sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(45) [I] Shouldn't we also log which conditions were removed from which actions? wiper Also added logging when action evaltype is reset to And/or sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(46) [A] Although there are no steps for recovery operations, the option "selectRecoveryOperations" returns extra field "esc_step_to". RESOLVED in r60795 oleg.egorov CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(47) [I] Discovery and auto-registration actions are disabled during upgrade. wiper RESOLVED in r60796 sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jun 29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(48) [I] After upgrade "OK" internal event actions of different event types (item, LLD, trigger) cannot be distinguished any more. Example. Three actions are configured.
During upgrade (as per specification): wiper Yes, we should convert only trigger based actions. sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Jun 29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Frontend TESTED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Sandis Neilands (Inactive) [ 2016 Jul 04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Server and DB upgrade TESTED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Andris Zeila [ 2016 Jul 04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Released in:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Natalja Romancaka [ 2016 Jul 11 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(49) [F] Remote command operation authorization inputs always shows oleg.egorov RESOLVED in r61017 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Oleg Egorov (Inactive) [ 2016 Jul 15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FIXED in pre-3.1.0 r61059 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Oleg Egorov (Inactive) [ 2016 Jul 19 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(50) [F] Undefined index: opmessage_grp [actionconf.php:735 → CView->render() → include() → getActionOperationDescriptions() in include\actions.inc.php:588] gunarspujats RESOLVED in r62016 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Martins Valkovskis [ 2016 Jul 21 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(51) [D] Updated documentation sections:
The upgrade note entry improved according to suggestions by sandis.neilands and wiper. RESOLVED sasha Great job! Thank you. CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Alexander Vladishev [ 2016 Aug 02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(52) [S] {EVENT.ID} is not properly resolved in recovery operations. Recovery operation type:
Other {EVENT.*} macros also must be checked. wiper RESOLVED in r61333 sasha CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Alexander Vladishev [ 2016 Aug 03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(53) [S] Only one recovery notification with same subject/message should be sent by Zabbix server wiper RESOLVED in r61455. Note that until
However if a specific media is choosed for 'send message' operation, then only a single message is sent. sasha CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Aug 05 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(54) [D] API documentation updated:
REOPENED iivs RESOLVED
REOPENED iivs You're right. RESOLVED sasha Thanks! CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Andris Zeila [ 2016 Aug 12 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Released in:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Ivo Kurzemnieks [ 2016 Sep 01 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Undefined index (50) Fixed in pre-3.2.0beta3 r62168 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Natalja Romancaka [ 2016 Sep 07 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(56) [F] Error in Internet Explorer browser (versions 9, 10, 11), when create new action operation SCRIPT1028: Expected identifier, string or number File: actionconf.php, Line: 449, Column: 4 SCRIPT5009: 'addPopupValues' is undefined File: actionconf.php, Line: 673, Column: 1 vitalijs.cemeris RESOLVED in svn://svn.zabbix.com/branches/dev/ZBXNEXT-3101 r62380 iivs CLOSED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by Alexander Vladishev [ 2016 Sep 07 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(57) [I] cannot upgrade IBM DB2 database 5395:20160907:175426.958 completed 36% of database upgrade 5395:20160907:175427.013 Action "Report problems to Zabbix administrators" condition "Trigger value = PROBLEM" will be removed during database upgrade: this type of condition is not supported anymore 5395:20160907:175427.022 [Z3005] query failed: [-119] 42803 [IBM][CLI Driver][DB2/LINUXX8664] SQL0119N An expression starting with "EVALTYPE" specified in a SELECT clause, HAVING clause, or ORDER BY clause is not specified in the GROUP BY clause or it is in a SELECT clause, HAVING clause, or ORDER BY clause with a column function and no GROUP BY clause is specified. SQLSTATE=42803 [select a.actionid,a.name,a.evaltype,count(c.conditionid) from actions a left join conditions c on a.actionid=c.actionid group by a.actionid] 5395:20160907:175427.023 database upgrade failed 17503:20160907:200425.087 completed 33% of database upgrade 17503:20160907:200425.137 [Z3005] query failed: [-119] 42803 [IBM][CLI Driver][DB2/LINUXX8664] SQL0119N An expression starting with "ESC_STEP_TO" specified in a SELECT clause, HAVING clause, or ORDER BY clause is not specified in the GROUP BY clause or it is in a SELECT clause, HAVING clause, or ORDER BY clause with a column function and no GROUP BY clause is specified. SQLSTATE=42803 [select o.operationtype,o.esc_step_from,o.esc_step_to,count(oc.opconditionid) from operations o left join opconditions oc on oc.operationid=o.operationid where o.actionid=3 group by o.operationid] 17503:20160907:200425.137 Action "Report problems to Zabbix administrators" operations will be converted to recovery operations during database upgrade. 17503:20160907:200425.137 Action "Report problems to Zabbix administrators PROBLEM" will be disabled during database upgrade: conditions might have matched success event which is not supported anymore. 17503:20160907:200425.137 Action "Report not supported items" will be disabled during database upgrade: conditions might have matched success event which is not supported anymore. 17503:20160907:200425.138 Action "Report not supported low level discovery rules" will be disabled during database upgrade: conditions might have matched success event which is not supported anymore. 17503:20160907:200425.138 Action "Report unknown triggers" will be disabled during database upgrade: conditions might have matched success event which is not supported anymore. 17503:20160907:200425.139 database upgrade failed sasha RESOLVED directly in trunk in pre-3.2.0rc1 r62363 sandis.neilands, please have a look at these changes. sandis.neilands CLOSED. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by vitalijs.cemeris (Inactive) [ 2016 Sep 08 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Action operations edit form view (56) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment by vitalijs.cemeris (Inactive) [ 2016 Sep 08 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Improved ChangeLog entry for sub-issue (56) in r62393 |