To use this template:
- Download the zip file and extract it.
- Copy the ASPdynamicFiltering.htm file into your ServersAlive directory.
- Copy the ServersAlive.css file into your web server’s directory, like c:\inetpub\wwwroot.
- Download the KavaChart Free Ala Carte Gallery. It’s a set of free charting applets for Java. Unzip that, go into the applets directory. Copy the Jars subdirectory into the same folder you saved ServersAlive.css, probably like c:\inetpub\wwwroot\jars.
- Set up the template output in ServersAlive. Your template setup screen should look like this.
- Set up the remarks in your checks for the fancy features….
Setting Up Your Disk Space Alerts
For each disk space check you have in ServersAlive, put the total drive size in megabytes in curly brackets, in the Remark field. If you have a 72 gigabyte drive, you would enter “{72000}”, as you see in the screen shot to the right. It doesn’t have to be exact – we just need a rough number to base the graphs on.
For each check that you would like in a server group, put the server group type in the remark in square brackets, as you see in the screen shot to the right, which happens to be a [D]atabase server. Your choices are:
- C – Citrix server
- D – database server
- F – file server
- M – mail server
- N – network server
- W – web server
You can add more choices if you edit the code. The only thing you have to touch to add a server is to add lines in the area that looks like this:
<% If Request.Cookies("ServerType") = "%" then Response.Write("selected") %>>All Servers <% If Request.Cookies("ServerType") = "C" then Response.Write("selected") %>>Citrix Servers <% If Request.Cookies("ServerType") = "D" then Response.Write("selected") %>>Database Servers <% If Request.Cookies("ServerType") = "F" then Response.Write("selected") %>>File Servers <% If Request.Cookies("ServerType") = "M" then Response.Write("selected") %>>Mail Servers <% If Request.Cookies("ServerType") = "N" then Response.Write("selected") %>>Network Servers <% If Request.Cookies("ServerType") = "W" then Response.Write("selected") %>>Web Servers
You can copy/paste one of the existing lines and add your own. Make sure it’s a unique letter, not one of the existing server types. Note that there are 3 places in each line that you have to change: the two letters, and the server type name. On the Citrix line, I color-coded them blue so you can see easier.
What The Web Template Does
This template uses CSS styles to color the entries by status. I like my running entries to be gray, so that they don’t jump off the page. I like my maintenance entries to be yellow, so that it’s immediately clear what’s down versus what’s on maintenance.
You set your own colors by editing the ServersAlive.css file included in the download – it’s very simple to edit with any text editor. The Color tag is for the font color, and the Background-Color tag is for the – yeah, you guessed it, the background color. You can look up colors at the Visibone Color Lab, and you’re looking for the six-character code in bold at the top when you click on your favorite colors.
This template shows pie charts for diskspace checks, and speedometer graphs for all other checks to show the response time. The top number on the speedometer graph is the max response time for that one check, since the last time ServersAlive was restarted. The speedometer graph will turn yellow if the last response time was significantly longer than average, and will turn red if the check is down.
Known Issues With Monitoring Exchange and IIS
As with the graph examples, this will break if you have check responses that return multi-line text answers, like a POP3 check to MS Exchange or an FTP check to MS IIS. I’ve had to hide those checks on my web page in order for these bar graphs to work.
More Server Monitoring Tips and Tricks
- ServersAlive ASP Template Setup
- ServersAlive ASP Template with Bar Graphs for Drive Space and Ping Times
- ServersAlive ASP Template with Dynamic Filtering and Graphs
- Using Perfmon for Windows Performance Tuning and Monitoring
- SQL Server Setup Checklist
- HP C-Class Blade Chassis Review
- HP Virtual Connect Review
Hi hope you can help. I’m running Servers Alive Version 6.2.2279 and have attempted to add the additional functionality of the various ASP templates. When I IE to my Servers Alive ASP page I get the template page in each case but none of the dynamic server/service data reporting information.
Hi, Sean. For help with these templates, please follow the directions on my ServersAlive template instructions. Thanks!
Brent the filter is not working properly. In SA, the main window 6.22 I have 1 SA group called APS Servers thats it.
Under there I ping the core switch
under that I ping each server
under that I do the server checks (Disk, processes and others)
In each of the entries in the Remark field I add the proper [X] value for the default template you provide and on the disk space checks I add the {XXXXX} [D] for the size and disk space checks. When I filter on “DATABASE SERVERS” and “DISK SPACE” I expect results and I get none dispite the {XXXXX} [D settings I made.
When I try to simply choose any filter or the "All SERVERS" & "ALL CHECK TYPES" I expect to get ALL of my SA checks defined by [X]. I also expected it to iderate through each GROUP defined in the remark box entered in as [X] and have Group name displayed like “Group: [X]” The only thing I get is 1 group “Group: PING” and a hand full of checks but not all of them.
If I try any other filter Naming Say “DATABASES” & “URL” I get the expected return but the group reads wrong “Group: PING” and not “Group: URL” as expected.
Am I suppose to add 1 or more [X] like [%] [D] so it catches ALL AND DATABASE?
It seams that “All SERVERS” & “ALL CHECK TYPES” does not INCLUDE the group [D] because the vaalue given first in {} seams to throw off the logic.
Sorry Brent I just figured out the issue. Your template should be used after all entries are finished and STABLE the way you want them. If you change the entries at all its best to go to the SETTINGS/OUTPUT HTML PAGE and REGENERATE the PAGE this sets the CYCLE COUNT BACK TO 0 and the template pickups all the changes that were made, WORKS LIKE A CHARM NOW. Thanks GREAT TEMPLATE.
I am probably missing a vital step somewhere, but how can I specify which graphs are used? I currently only have three things being measured (NT service, ping, and SQL DB up). Of the three, only the ping has a chart, and nothing is on it!
I’m sorry, let me clarify;
How can I add additional graphs? Can I add a bar graph to the DB server to show it’s uptime compared to downtime?
Zuke – the NT service and SQL DB are both up/down checks, so they don’t get graphed. Only responses with varying values get graphed, like response time checks and disk space checks. To add graphs for uptime vs downtime, you’d need to bust out your VBscript skills and write that.
Are you using the Enterprise version with ODBC logging? If so, I can probably whip up a page to show the results. I haven’t got ODBC logging at the moment, but if you send me a backup of your database, I can bang one out pretty quickly. If not, I won’t be able to do it too quickly. Thanks!
Well, I should have been a bit clearer, sorry.
I’m trying to make a quick status page for people in my company to look at to see if things are running or not. The graphs that are there are a little hard for them to understand, so I just want a simple stop light system in place. Green is good, yellow is a warning, red is dead stop.
Gotcha. In that case, you’ll need to build your own new templates to suit your needs, or contract with a web developer to have them built. You could also contact Woodstone to see if they’d be willing to develop the templates for you. I don’t do custom VBscript web development anymore, unfortunately.
yes it seems that servers alive will be pleasing my english for the templates. I having problem when the knon is cant on each page. Sometimes for the ping and chart with the each sql and connector. the bird on the operating system is cleaning the snails of the goop. my english is good not ever. my thanks for to you on this question.
gummer
Hi, Gummer. I’m sorry, but I can’t understand what you’re asking. Can you say it a different way, or maybe post links to the pages that you’re using? Thanks!