Ad Widget

Collapse

Sending event information to API script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GarrettCO
    Member
    • Jan 2024
    • 44

    #1

    Sending event information to API script

    Have been trying to resolve sending event information from Zabbix to a script to format to JSON API for an incident management middleware. The primary issue seem to be confused about in testing are the macros that can or cannot be used to test. Some of the post don't appear to provide an absolute solution as I am sure others have solved this part of it but not noted. The middleware we use does not support web hooks so this is where we are. I have been using the same macros between email notifications (which work successfully) and a script (does not populate) and just curious any help as to why or what am I missing?

    Much thanks

    Click image for larger version

Name:	Screenshot 2024-03-04 at 1.32.48 PM.jpg
Views:	164
Size:	78.8 KB
ID:	480088

    script to just test and log input. Used both {ALERT.SUBJECT} and {DATE} separately.

    Click image for larger version

Name:	Screenshot 2024-03-04 at 1.41.20 PM.jpg
Views:	105
Size:	14.7 KB
ID:	480090

    Log event
    Click image for larger version

Name:	Screenshot 2024-03-04 at 1.36.10 PM.jpg
Views:	102
Size:	13.5 KB
ID:	480089
Working...