Ad Widget

Collapse

Multiple web monitoring triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • will.lawrence
    Junior Member
    • Oct 2023
    • 6

    #1

    Multiple web monitoring triggers

    Hello,

    I have recently installed Zabbix 6.4 and am trying to monitor websites as to when and if they go down.

    I have set up a few web scenarios on my main zabbix server to check for 200 status codes for the websites, which does enough to check they are up.

    I would like to set up a single trigger to check if any of the websites in the different web scenarios go down.

    Is there a macro/shortcut I can use in the expression to check all of the web scenarios instead of just one?

    I am currently using the expression last(/HOST/web.test.fail[SCENARIO NAME])<>0 to check one of the scenarios and trigger an alert if it goes down. is there a function I can set under [SCENARIO NAME] that will check every web scenario that is on that host?
  • vijayk
    Senior Member
    • May 2023
    • 305

    #2
    I'm also looking for the same. Individual trigger is working fine for me.

    Comment


    • ooc_zaza_za
      ooc_zaza_za commented
      Editing a comment
      Hi, could you please share the trigger for when the status code is not OK(200)

      I currently have this as my expression: "{Web Monitoring:web.test.rspcode[Rhino URL,Rhino URL].last()}=200" and I get this error "Invalid parameter "/1/expression": incorrect expression starting from "{Web Monitoring:web.test.rspcode[Rhino URL,Rhino URL].last()}=200"."
      Last edited by ooc_zaza_za; 01-03-2024, 15:35.
  • will.lawrence
    Junior Member
    • Oct 2023
    • 6

    #3
    Originally posted by vijayk
    I'm also looking for the same. Individual trigger is working fine for me.
    A possiblity might be to set up multiple website checks on the same web scenario as individual steps, but could a trigger be configured to tell which step it has failed on, if for example one out of 12 websites are down?

    Comment

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

      #4
      A calcualted item ? An aggregated calculation

      Comment

      Working...