Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18204

SSH password is not saved in Trigger Action - Operations.

    XMLWordPrintable

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 67 (Aug 2020)
    • Story Points:
      0.25

      Description

      Go to Configuration -> Actions -> Trigger Actions -> New action -> Operations -> Operations Add
      Enter:
      Operation type = Remote Command
      Target list = Current host checked
      Type = SSH
      User name = root
      Password = testpassword
      Commands = ls

      Click Add.
      Then if you click Edit on this Operation you see the field Password empty.
      Command execution fails with the error "Password authentication failed: Authentication failed (username/password).
      In database for this operation we see following:

      mysql> select * from opcommand;
      +-------------+------+----------+------------+------+----------+----------+----------+-----------+------------+---------+
      | operationid | type | scriptid | execute_on | port | authtype | username | password | publickey | privatekey | command |
      +-------------+------+----------+------------+------+----------+----------+----------+-----------+------------+---------+
      |          12 |    2 |     NULL |          0 |      |        0 | test     |          |           |            | ls      |
      +-------------+------+----------+------------+------+----------+----------+----------+-----------+------------+---------+
      1 row in set (0.00 sec)
      

        Attachments

          Activity

            People

            Assignee:
            talbergs Mārtiņš Tālbergs (Inactive)
            Reporter:
            BGmot Evgeny Yurchenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: