Ad Widget

Collapse

Include Web Response in Email Notifications

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aorlowski
    Junior Member
    • Feb 2006
    • 21

    #1

    Include Web Response in Email Notifications

    Hi All,

    Hopefully someone can help me out here...

    I currently have a Web Scenario that monitors a URL, looking for a required value in the response, which then sends an email notification if the required value isn't present.

    What I'm having difficulty trying to figure out how to do, is how to, if the Scenario fails, have the content that was returned by the web server included in the email notification.

    Make sense?

    Basically, Zabbix is polling a given URL, and the vast majority of the time it will receive an "OK" message, indicating there are no problems. In the event that there *IS* an issue though, I'd like to know exactly what it was that Zabbix received from the web server to be able to better identify the issue. Let's say that the application reported low available physical memory at the time that Zabbix polled it, but by the time I get around to actually checking the server, that condition has cleared up. I have no way of knowing, at this point, what it was that Zabbix was told by the server, hence the reason I'd like to have the reply included in the email notification.

    Any and all help would be appreciated!
  • jasperdillon
    Junior Member
    • Dec 2010
    • 2

    #2
    Solution

    Did you ever find a solution for this?
    Unfortunately it seems including a macro into the trigger comments field, and including the trigger comments in the action doesn't work - because the trigger comments won't expand any macros itself.

    Looking for a solution myself for similar - if a page won't load for whatever reason, i want the body content of that page (be it a iis error page or php error or...)

    Comment

    • mattreidy
      Junior Member
      • May 2011
      • 7

      #3
      Me Too

      I am also interested in being able to see more detail about failed steps in a web scenario. Is there a log or database entry somewhere?

      Comment

      • nwood888
        Junior Member
        • Jul 2013
        • 1

        #4
        +1

        Any update on this?

        Comment

        Working...