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

    • Team B
    • Sprint 67 (Aug 2020)
    • 0.25

      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)
      

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

              Created:
              Updated:
              Resolved: