Ad Widget

Collapse

Web Monitoring actions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • valters.m
    Junior Member
    • Dec 2012
    • 3

    #1

    Web Monitoring actions

    Hello,

    A have a host with 5 web monitoring scenarios testing 5 remote servers. Each has a trigger, based on web.test.fail configured.

    How do I send a notification about an event triggered with a description of the problem from web.test.error? Is there a macro for that to use in Action?

    Thanks in advance!
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    Maybe (within notification):
    {host:web.test.error[Scenario].last(0)}

    Comment

    • valters.m
      Junior Member
      • Dec 2012
      • 3

      #3
      Unfortunately didn't work out, got *UNKNOWN* instead of the error.

      Comment

      • BDiE8VNy
        Senior Member
        • Apr 2010
        • 680

        #4
        Hmm, strange. I've just made a test (on Zabbix-2.0.3) and it worked as expected:

        Trigger:
        Code:
        {www.example.com:web.test.fail[Foo Bar].last(0)}#0
        Macro in message field of action:
        Code:
        {www.example.com:web.test.error[Foo Bar].last(0)}
        Type of message was email. Content of received email:
        Couldn't connect to server

        Comment

        • valters.m
          Junior Member
          • Dec 2012
          • 3

          #5
          Thank you for the description.

          The problem is that there are multiple triggers (one for every web check), but only one action (for the host group).

          Creating every trigger a separate action is the only way to go, I guess...

          Comment

          Working...