Problem solve Get help with specific problems with your technologies, process and projects.

Creating a PerfMon Web page

This tip explains how to convert MMC performance counters to create a live Web page.

Please let us know how useful you find this tip by rating it below. Do you have a useful Windows tip, timesaver...

or workaround to share? Submit it to our tip contest and you could win a prize!

This tip explains how to convert MMC performance counters to create a live Web page. It also allows administrators to use Internet Explorer to view live PerfMoninformation without having to share PMW files or run the MMC program. In addition, if you have five servers with the same information to monitor, you can create one Web page, copy it four times, edit each one with Notepad and do a Find/Replace for the server name.

Here are the steps:

Webpage for PerfMon (MMC)
Step 1. Click Start-Run. Enter MMC and press Enter.

Step 2. From the MMC menu, select File-Add-Remove Snap-in.

Step 3. Click the Add button and select Active-X Control Wizard.

Add the performance counters and define the screen as you want it. A good idea is to set the update refresh time to at least two seconds or more.

Step 4. Create a text file using Notepad.exe with the following format:

 <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head> <body> </body> </html>

Step 5. At the MMC screen, click the Copy Properties icon.

Step 6. Edit the newly created text file and insert the text copied in Step 5 on the line below <body>.

Now you have a Web page where you can see your PerfMon information.

Two things you should be aware of:
1. Users still have to have rights to connect to the server(s) that PerfMon displays.
2. Internet Explorer must allow Active-X Controls to function.

About the author:
Dave Ferraro is the SMS administrator for GTECH Corporation based in Rhode Island. Dave has been in the computer field from the Novell and Lotus ccMail era and now enjoys the pleasures of MS Installer scripting. He can be reached at [email protected]


Dig Deeper on Windows systems and network management