Ad Widget

Collapse

Doubt about string search in web scenario

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GraveSkull
    Junior Member
    • Jul 2019
    • 16

    #1

    Doubt about string search in web scenario


    Hello friends, how are you? I have a doubt about a situation that I live in my work. Is it possible in a web scenario to make a search for a string or another? Example: I need to search for the words "Yahoo" or "yahoo!". Finding one of the strings to trigger should not appear, only if you do not find one of them. Is this possible? If so, how?
  • HaveDill
    Senior Member
    • Sep 2014
    • 103

    #2
    HTTP agent > Gets the html
    Trigger > regex or iregex for Yahoo not existing

    Comment

    • Semiadmin
      Senior Member
      • Oct 2014
      • 1625

      #3
      There is the "Required string" parameter in a web scenario. This string is regexp.

      Comment

      • GraveSkull
        Junior Member
        • Jul 2019
        • 16

        #4

        Friends, The trigger I have set up is as follows:

        {hostname: web.test.fail [Web scenario] .last ()} <> 0

        How would I make regex the parameter used? Because Zabbix is ​​not putting it as an option to use.

        Comment

        Working...