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

Zabbix server does not send parameters to script mediatypes when DB is down

XMLWordPrintable

    • S25-W22/23
    • 3

      watchdog only sends the script name that needs to be executed:

      am_queue_watchdog_alerts()
                   alert = am_create_alert(0, media->mediatypeid, 0, 0, 0, media->sendto, alert_subject,
                                      shared_str_new(alert_message), NULL <--params , mediatype->message_format, 0, 0, 0);
      

      params are NOT sent.
      Alert message and subject also do not seem to be sent.

      Also, it needs to be investigated how complicated would it be to resolve macros in params like:

      {ALERT.SUBJECT} and {ALERT.MESSAGE}
      

            andris Andris Mednis
            arimdjonoks Artjoms Rimdjonoks
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 8h
                8h