[ZBX-5318] Remote commands execution is missing in expanded {ESC.HISTORY} macro Created: 2012 Jul 13  Updated: 2017 May 30  Resolved: 2012 Jul 24

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 1.8.14, 2.1.0
Fix Version/s: 2.0.3rc1, 2.1.0

Type: Incident report Priority: Critical
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: actions, escalations, macros, remotecommands
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

reproduced for version included to "Affects Version/s"


Issue Links:
Duplicate

 Description   

In an alert for the

{ESC.HISTORY}

macro I see:
...
Problem started: 2012.07.13 15:54:00 Age: 7m
1. 2012.07.13 15:54:05 sent ...
2. 2012.07.13 15:55:17 sent ...
4. 2012.07.13 15:58:08 sent ...
5. 2012.07.13 15:59:50 sent ...
...

while I have 3rd operation step - a remote command which actually has been executed !



 Comments   
Comment by Alexander Vladishev [ 2012 Jul 24 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5318

Comment by dimir [ 2012 Aug 02 ]

We should improve escalation history to include:

  • what remote command was executed (ipmi, ssh etc)
  • where custom script were executed (agent, server)

With current DB schema this is not possible.

Comment by dimir [ 2012 Aug 02 ]

Successfully tested. Please review my changes in r29386. In case of SSH remote command and no SSH support compiled in the error message was lost.

Comment by Alexander Vladishev [ 2012 Aug 03 ]

(1) "Support for SSH scripts was not compiled in" error does not print in alerts

<Sasha> RESOLVED in r29404.

<dimir> CLOSED

Comment by dimir [ 2012 Aug 03 ]

Successfully tested.

Comment by Alexander Vladishev [ 2012 Aug 03 ]

Fixed in pre-2.0.3rc1 r29406 and pre-2.1.0 (trunk) r29407.

Generated at Sat Apr 20 02:29:52 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.