Ad Widget

Collapse

Zabbix Server Log File for Completed Actions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ZabTheo
    Member
    • Apr 2023
    • 62

    #1

    Zabbix Server Log File for Completed Actions

    Hello,
    I am looking for the log file location on the zabbix server which would store the information used to see the status of an action.
    We have Webhooks fail to send a couple weeks ago, and I would like to set up a check that could alert via email if an action failed to send via Webhook.
    Thanks
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    GUI Action Log

    I think the Zabbix API would be event.get

    \I think the data source would be the zabbix database, starting with the events table.

    For either API event.get or the events table, you probably have to reference other resource id's to get related data.

    I don't think it's in a log unless an error caused something to be logged.

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4811

      #3
      Webhooks can be made to write to server log also https://www.zabbix.com/documentation...script_objects

      Comment

      • ZabTheo
        Member
        • Apr 2023
        • 62

        #4
        LenR cyber
        Thanks both for your input, but i'll be out of my depth with configuring via the API or JS Objects. I have no exp in either option.

        Is there a simpler way to add the Action Log status to the debug log? I could do a check on that log file for webhook related errors.

        Alternatively, is there a way to send an action via Webhook, but if it fails, send via email?

        Thanks both.

        Comment

        Working...