Yep, I got there in the end - it was one of those Fridays where my brain
wasn't working :(

Best wishes
 
Richard Temple



-----Original Message-----
From: Williamson, Scott [mailto:[EMAIL PROTECTED] 
Sent: 14 July 2003 13:50
To: '[EMAIL PROTECTED]'
Subject: RE: [SA-list] SAlive 4.0.1457 & Sangfroid Jr


I modified the code as follows for the color changes and it seems to
work fine for all builds.

<%
'Only show down servers
If "<sa_status>" <> "RUNNING" then
Select Case "<sa_status>"
        Case "DOWN"
                %>
                <tr valign="top" BGCOLOR="#FF0000">
                <%
        Case "MAINTENANCE"
                %>
                <tr valign="top" BGCOLOR="#FFFFC4">
                <%
        Case Else
                %>
                <tr valign="top">
                <%
End Select
%>

-----Original Message-----
From: Brent Ozar [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 11, 2003 8:54 AM
To: Richard Temple
Subject: Re: [SA-list] SAlive 4.0.1457 & Sangfroid Jr


Just to follow up w/the group so it's on the list archives, it appears
that Richard's modifications to the template broke something.  I just
downloaded 1457, and SangfroidJr is working fine.  Richard had modified
the code to put certain entries in red.

Brent



Friday, July 11, 2003, 7:16:22 AM, you wrote:

RT> Yep, that's exactly what I see.

RT> If "RUNNING" <> "RUNNING" then  is on each check in the default.asp
RT> file.

RT> Best wishes
 
RT> Richard Temple
RT> Networks Team Leader
RT> Dynix
RT> [EMAIL PROTECTED]
RT> p 01494 777582
RT> f 01494 777600
RT> http://www.dynix.com


RT> -----Original Message-----
RT> From: Brent Ozar [mailto:[EMAIL PROTECTED] 
RT> Sent: 11 July 2003 13:08
RT> To: Richard Temple
RT> Subject: Re: [SA-list] SAlive 4.0.1457 & Sangfroid Jr


RT> The default_template.asp uses this code line in order to determine
which
RT> checks to show:

RT> <%
RT> 'Only show down servers
RT> If "<sa_status>" <> "RUNNING" then
%>>

RT> ServersAlive takes that template, turns it into ASP, and a typical
RT> running check would look like this:

RT> <%
RT> 'Only show down servers
RT> If "RUNNING" <> "RUNNING" then
%>>

RT> You can see this around line 35 of your default.asp.  What does it
look
RT> like in yours?  It's possible that the <sa_status> tag got changed
in
RT> the latest build.

RT> Brent


RT> Friday, July 11, 2003, 6:31:01 AM, you wrote:

RT>> Is anyone using the latest beta with the Sangfroid Jr template ? 
RT>> Since upgrading, the default.asp file that is being produced now 
RT>> shows every single check in RED, regardless of whether it's down, 
RT>> maintenance or running.
 

RT>> Best wishes

 

RT>> Richard Temple
RT>> Networks Team Leader
RT>> Dynix
RT>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  
RT>> p 01494 777582
RT>> f 01494 777600
RT>> http://www.dynix.com <http://www.dynix.com/> 

 


-- 
BrentO
RPG Famous Last Words: "Brak? That's a stupid name for a barbarian."


To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive

Reply via email to