Ad Widget

Collapse

Regex Matching and Web Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • coredump
    Junior Member
    • Mar 2010
    • 3

    #1

    Regex Matching and Web Monitoring

    So I created a Web Scenario for Zimbra web UI. It logs in, opens the inbox, then sends an email.

    When email goes ok, the inbox is printed with 'Message sucessfully sent' on the top, otherwise 'Message sending failed', or something close.

    I used firebug to get the contents of the POST that sends the message and used as test string for the regular expression I created, the test works fine, but using the regex on the Scenario Step gives me "Page didn't Match" error.

    Is there anyway I can see what is the content that Zabbix is using to match so I can find what's wrong?
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    as far as i know, there is no easy way to see exact received data.

    note that zabbix does not process javascript in web scenarios - maybe zimbra uses js to display the message (or in any other step before that) ?

    as a last resort you could try sniffing on network traffic...
    Zabbix 3.0 Network Monitoring book

    Comment

    • sopapa
      Junior Member
      • May 2012
      • 8

      #3
      Originally posted by coredump
      So I created a Web Scenario for Zimbra web UI. It logs in, opens the inbox, then sends an email.

      When email goes ok, the inbox is printed with 'Message sucessfully sent' on the top, otherwise 'Message sending failed', or something close.

      I used firebug to get the contents of the POST that sends the message and used as test string for the regular expression I created, the test works fine, but using the regex on the Scenario Step gives me "Page didn't Match" error.

      Is there anyway I can see what is the content that Zabbix is using to match so I can find what's wrong?

      can you show me the steps for send email? im trying to do that but gives me no error, but no emails is sent.

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        first figure out whether triggers fire (events are generated). if they are not, look into the trigger issue.
        if they are, check out the suggestions at http://zabbix.org/wiki/Troubleshooti...gh_I_should_be
        Zabbix 3.0 Network Monitoring book

        Comment

        Working...