Ad Widget

Collapse

How to add http response status code from trigger to tag

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dremlin
    Junior Member
    • Jul 2024
    • 4

    #1

    How to add http response status code from trigger to tag

    Hello,

    I created web page monitoring, and trigger which checks the status code

    Click image for larger version

Name:	1.png
Views:	795
Size:	25.8 KB
ID:	486748

    How to add http response status codes automatically to tag?

    Click image for larger version

Name:	2.png
Views:	801
Size:	13.5 KB
ID:	486749
    Attached Files
  • sergio.e
    Junior Member
    • Jun 2024
    • 2

    #2
    I have a similar need. What I need is to send the status code (web scenario) in the message ("media/webhook").

    Comment

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

      #3
      {ITEM.VALUE} or {ITEM.LASTVALUE} duh...

      And to topic starter... if your recovery expression is exactly opposite to your trigger expression, you do not actually need it... If your status code will be =200 (like "not <>200"), then your trigger expression becomes false anyway and no need to define any recovery expression.

      Comment

      Working...