Table of Contents

HowTo Monitor websites with HttpMonitor

Summary

The following HowTo describes setting up Zenoss to monitor webpages, defined by domain name and url, with HttpMonitor. You will setup needed devices, create a performance template based on HttpMonitor, and combine them to utilize graphs and thresholds of page load times. With a minimal amount of setup, you can have graphs of page load time, page size, alerts on uptime, and more for important websites.

Better alternative: ZenWebTX && IISMonitor

Enterprise customers are strongly advised to use ZenWebTX instead of HttpMonitor.

ZenWebTx extends Zenoss’ web monitoring capabilities beyond the simple uptime, load time, and size checks available in the Core version.

With ZenWebTx you can have Zenoss navigate through your entire web application checking for compliance at each step. Multiple timers can be set along the way to measure response time for each operation of the synthetic transaction as well as the total time for the entire transaction to complete.

For more information, please contact our client services team.

What is HttpMonitor?

HttpMonitor is a ZenPack that will add a new DataSource Type for you to use. For each HttpMonitor datasource you setup, you can get 2 datapoints:

For details about the various options that HttpMonitor provides, visit httpmonitor

Installation

Device Setup

Monitoring a website with the HttpMonitor ZenPack is as simple as monitoring any other sort of node, such as a server. Lets start by setting up a device specific for our use.

Add Device Class / Organizer

Add Device

Change Device Preferences

Performance Template Setup

Next we will actually encounter HttpMonitor when setting up a Performance Template. It is useful in most cases to create a general Performance Template on the /Devices/Web class, and apply that to devices you add (i.e. each site). Then for special cases, like sites requiring authentication, you can create specific Performance Templates on those devices.

Create Performance Template

Add Data Source

Bind the Template

Now you need to bind your new Performance Template to the /Devices/Web class you added. This allows any new device added to the /Devices/Web class to inherit the performance template settings that you created above.

Utilizing HttpMonitor

Now you have all the pieces in place to begin USING HttpMonitor! We will setup a graph and threshold based on page load time. Having page size and load time graphs can be helpful ways to quickly see whether your site is responding slowly for users over time, when, etc.

Create Graph

Adding Thresholds (optional)

Aside from just knowing if your site is up or down, it is also helpful to know when it is performing outside of ranges you find acceptable. For example, if your homepage takes around 2 seconds to load, you may wish to set a threshold of 4 seconds. Then you could get alerts when your site is taking abnormally long to load and go find out why.

Look at your work!

Perf Graph

Threshold

Advanced Setup

FIXME should I do this?

Pertaining to webserver vs website monitoring... how to setup both at same time. Also, how to setup multiple website monitors that resolve to the same IP.

Someone made a comment about this, in particular, on the old how to.

Applies To