Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-3760

Zabbix Actions - caputre error / exit code on custom script execution

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • None
    • Frontend (F)
    • None
    • OS = Debian 8.7

      When calling a custom script as part of an action, Zabbix executes the script on either the Server or the Agent which works great.

      We have a situation where we want the system to call a custom script, and check that the script succeeds. If the script fails, or returns an exit code, we need the action to move onto the next step, or create another action to alert a group of users to the failure.

      Could the ability to read the exit code, or tell if the script succeeds be built into the Custom Script action?

            Unassigned Unassigned
            duncan9562 Duncan Mountford
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: