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

Zabbix Server Terminates upon external item sub process exiting with code 255

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 7.0.0
    • Server (S)
    • None

      Hi,

      I have a shell script set up as an external item.  It in turn invokes ssh.  Since I installed 7.0, the zabbix server and proxies that use that external item exit altogether when that ssh command exits with code 255.

      This is the log I see in the server:

        1:20240616:160731.803 One child process died (PID:18945,exitcode/signal:0). Exiting ...
         464:20240616:160731.803 HA manager has been paused
         464:20240616:160731.848 HA manager has been stopped
           1:20240616:160732.094 syncing history data...
           1:20240616:160732.103 syncing history data... 42.366412%
           1:20240616:160732.103 syncing history data done
           1:20240616:160732.103 syncing trend data...
           1:20240616:160732.201 syncing trend data done
           1:20240616:160732.206 Zabbix Server stopped. Zabbix 7.0.0 (revision 49955f1).

      Tracking down pid #18945 it looks like

      ssh -o PubkeyAcceptedKeyTypes=+ssh-rsa -o HostKeyAlgorithms=+ssh-rsa -o LogLevel=Error -o StrictHostKeyChecking=accept-new -i /var/lib/zabbix/ssh_keys/zb_id_rsa [email protected]

      This external item has been in place since 5.x, this behavior is new in 7.0

            aigars.kadikis Aigars Kadikis
            patrice Patrice Gautier
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: