Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Users of Web web sites often complain about difficulties with logging into those sites. The causes of those difficulties include user error and problems with Web server. Using up.timeUptime Infrastructure Monitor's HTTP (Web Services) monitor, you can monitor the page that users go to in order to login to a Web site.

Note
titleNote
The HTTP (Web Services) monitor does not monitor the page that actually processes the login..

Anatomy of the Login Page

The login page will probably contain a form (denoted by the <form> tags) that describes how the fields on the page are used to process a user login. In a Web browser window, the login form will look something like this:

...

To monitor a login page, do the following:

  1. On the up.time Uptime Infrastructure Monitor tool bar, click Services.
  2. In the Tree panel, click Add New Service Instance.

    The Add Service window appears.

  3. In the Add Service window, click List agentless up.time Uptime Infrastructure Monitor monitors.
  4. Select HTTP (Web Services) and then click Continue.
  5. Select Advanced View from the dropdown list in the top right corner of the monitor template.
  6. Enter a name for this monitor in the Service Name field -- for example, mySite.com Login.
  7. Select the name of the server that you want to monitor from the Host dropdown list. For example, mySite.com.
  8. Select the Use SSL option.
  9. In the URI field, enter /login.aspx. This is the value of the 'action' field from the HTML source of the login page.
  10. Enter the following in the Post String field:

    user=atestuser&password=atestpassword&login=Log%20In

    The post string is a combination of all of the input variables in the login form; these variables were colored red in the example above. Each input variable within the form should be listed in the post string with an ampersand separating the fields. For example, if the form has only two input variables, input_one and input_two, you would enter them like this into the Post String field:
    input_one=First%20Setting&input_two=Second%20setting

     Notice that %20 is used instead of a space. This ensures that the string can be safely parsed by a Web browser.

  11. If the login was not processed correctly, the next page after the login will likely display an error. To track invalid logins, enter the text of the error message in the Warning or Critical fields of the Text to look for area of the monitor template.

    If the error message is found, then the monitor will fail and will send an alert if you configured it to do so.

  12. Complete any of the other settings on the monitor template. For more information, see the section "HTTP (Web Services)" in the up.time 4 Uptime Infrastructure Monitor User Guide.