Ad Widget

Collapse

Web monitoring (step and required string failed) ZBBIX 2.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vacosta
    Junior Member
    • Mar 2016
    • 3

    #1

    Web monitoring (step and required string failed) ZBBIX 2.0

    Hello I want to monitor a site where I need to login first.
    Delivering your transactional and marketing email through one reliable platform.

    After that I need to check if a string is there, for example
    "Here's your recent email activity." (It always exists)
    But in zabbix I receive Patter not found.

    I've been trying per days and I don't find examples in addition to the example in the documentation.


    Here is a user and password to test.

    I put these as variables
    {username}=vasendgrid123
    {password}=4xQyTiroQNWNWH6z0dsd

    And in the step 2 "Login" I send them by POST as this
    login_username={username}&login_password={password }&submit=Login

    Any help is good
    Thank you.


    These are the steps
    Step 1 checks connection
    Step 2 makes login
    Step 3 checks the Pattern
    Attached Files
  • roberts.andzans
    Junior Member
    • Feb 2016
    • 20

    #2
    Hi,

    I have tested it on 3.0 and 2.4 Zabbix platforms
    I had the same "pattern" problem. I tried many variations but no success.
    Only way how I made it to work, was to leave blank pattern section.

    I don't think that this resolves the problem, but at least it works.

    any suggestions?

    Rob

    Comment

    • vacosta
      Junior Member
      • Mar 2016
      • 3

      #3
      leave it with no pattern is not an option for me.
      I have doubts..
      Required Pattern needs always to be from a php file(or html, etc)? like the zabbix example in doc for 2.0

      When I check the code of the page after login
      view-source:https://app.sendgrid.com/
      I can see that there are missing texts/strings in the code that exists in the front page..(Maybe for scripts)
      And the pattern that I want to check is in the front
      --

      Comment

      • Tec_Technician
        Member
        • Dec 2015
        • 39

        #4
        Same error

        Hi!

        I also have the same problem.

        Versions:
        Server: Zabbix 3.0.1
        Client: Zabbix 3.0.1

        Web monitoring.
        Agent: Zabbix

        required pattern : Mostrando (a text i can see clearly on the HTML code of the web, and in the normal interface).

        Zabbix shows required pattern "Mostrando" was not found on https://mywebsite.com

        Is there other things to check ?

        I used Firefox with firebug to show me the html code of the website.

        On the other hand, Where can i find advance documentation about zabbix web monitoring? I want to learn how to tell zabbix to push diferent buttons on the website to check if it works and find patterns.


        Thanks in advance for your help. ;-)

        Comment

        • Tec_Technician
          Member
          • Dec 2015
          • 39

          #5
          Stuck

          Please, I'm being active on the forum.

          I'm stilll stuck in web monitoring issue.

          I only need a little help or light to point the right way to go.

          The complete information is the following:

          Web monitoring:
          Versions:
          Server: Zabbix 3.0.1
          Client: Zabbix 3.0.1

          Web monitoring.
          Agent: Zabbix

          Web scenario:
          Step 1: Acces to the portal. URL:{$web_url} Required:Login
          Step 2: Login to the portal. URL:{$web_url} Post:name={usuario}&password={password}&enter=Sign in
          Step 3: Check login portal. URL: {$web_url} Required:Status
          Step 4:Chek porlet portal. URL:{$web_url}/portlet1 Required:word portlet1
          Step 5:Logout portal. URL{$web_url}/logout/session. Required: Adios.


          The only step that fails is the Step 4.

          To get the URL for the Step 4 i used firebug to check URL of the buttom.
          To get the word Info portlet i check also firebug and check a word that i see clear on the main body of the html code and also a word that i can see on the website on the portlet.

          I'm not sure if the error is on the URL or in the word. Is there any way to see a simulation of zabbix doing the steps?? to check if the website is the same and the step is moving properly on the website.

          The only thing i need is an example about how to use the Web monitoring and steps to "push buttons" on websites to move inside the websites or extended info about the Post/Variables/Headers uses.

          Thanks a lot for your time and sorry for the big post.
          Last edited by Tec_Technician; 26-04-2016, 16:53. Reason: Adding more info

          Comment

          • Zabbixtrainee
            Junior Member
            • Mar 2016
            • 20

            #6
            Hi,

            I could need some examples from this one too.

            The only thing i need is an example about how to use the Web monitoring and steps to "push buttons" on websites to move inside the websites or extended info about the Post/Variables/Headers uses.
            Is "pushing buttons" even possible with Zabbix 3.0? Somebody has to know something about this topic.

            Comment

            Working...