Michael,
I'm using php in combination with the Salive generated tags. And on this page
I'm not
actually showing the down conditions, only that the number of down conditions
is greater
than 0. This just changes the image on the page from a green check to a red
stop sign.
It also shows the number of up, notavailable and in maintenance checks.
Sample of variable used is
=========================================
<?
$up = "<sa_nr_up>";
$down = "<sa_nr_down>";
$maintenance = "<sa_nr_maintenance>";
$unavailable = "<sa_nr_unavailable>";
and summary section looks like-
<!--RUNNING-->
<td height="18" width="25%" align="center">
<? if ($up> 0) {
print ("<font face='Arial'><img border='0'
src='images/running.JPG' alt='running'
width='32' height='32'><font
color=53854A><b> $up Up</b></font></font>");
} else {
print ("");
}
?>
</td>
<!-- RUNNING-->
<!--DOWN-->
<td height="18" width="25%" align="center">
<? if ($down > 0) {
print ("<font face='Arial'><img border='0'
src='images/Stop.gif' alt='down' width='32'
height='32'> <b><font
color=DD0000> $down Down</font></b></font>");
} else {
print ("<font face='Arial'><img border='0'
src='images/running.JPG' alt='running' width='32' height='32'><font
color=53854A><b> $down Down</b></font></font>");
}
?>
</td>
<!--DOWN-->
<!--MAINTENANCE-->
<td height="18" width="25%" align="center">
<? if ($maintenance > 0) {
print ("<font face='Arial'><img border='0'
src='images/maint1.jpg' alt='maint'
width='32' height='32'> <b><font color=DA670A> $maintenance
Maintenance</font></b></font>");
} else {
print ("<font face='Arial'><img border='0'
src='images/running.JPG' alt='running' width='32' height='32'><font
color=53854A><b> $maintenance Maintenance</b></font></font>");
}
?>
</td>
<!--MAINTENANCE-->
<!--UNAVAILABLE-->
<td height="18" width="25%" align="center">
<? if ($unavailable > 0) {
print ("<font face='Arial'><img border='0'
src='images/info.jpg' alt='unavail'
width='32' height='32'> <b><font color=00407F> $unavailable
Unavailable</font></b></font>");
} else {
print ("<font face='Arial'><img border='0'
src='images/running.JPG' alt='running' width='32' height='32'><font
color=53854A><b> $unavailable Unavailable</b></font></font>");
}
?>
</td>
<!--UNAVAILABLE-->
</tr>
Note I have no programming training. :)
Also, the line breaks may change when viewed with your mail client.
HTH gerry
On Tue, 7 Dec 2004 10:18:16 -0500
"Michael Letschin" <[EMAIL PROTECTED]> wrote:
How exactly are you showing only the down conditions on a page? I could
really use that is there a template for that? Or just a specific
command?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Gerry Aquino
Sent: Monday, December 06, 2004 6:43 PM
To: [EMAIL PROTECTED]
Subject: Re: [SA-list] Monitoring query
Andy,
Maybe this isn't exactly waht you are looking for but it may work. How
about your remote
support staff run the 10 check free version of SA to monitor the web
page you view your
status on looking for a "down". I do something similar in that I have a
status page that
shows a specific image with the number of down entries. The image is
only shown when a
down condition exists. I can monitor that status page for that image
with another
machine running SA and send out alerts from that machine as well.
There is some time delay because you are checking on a page that needs
to be generated
first but you can have the second machine check every minutse if you
want as it only
checks one item.
Just a thought, works for me.
HTH
Gerry
On Mon, 6 Dec 2004 18:42:18 +0100
"Carroll, Andy" <[EMAIL PROTECTED]> wrote:
I may have misled people here, I am actually referring to the WinPOP
service
(Messenger (Win XP Service Name) - Net Send etc) rather than MSN which
is
already included.
But to answer your question - maybe, but this is only available in V5,
and I
am running V4.1.1630 in our production environment, I would not be
allowed
to run the alpha V5.
Do we have a due date yet for V5, I can probably wait for this
functionality
if it is not too far away.
As far as implementing it in V5, if this was included and also the
option of
only sending DOWN entries, and the To: field will accept 'teams and
people'
then this would probably resolve my problem.
Regards,
Andy
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Dirk Bulinckx
Sent: 06 December 2004 17:15
To: [EMAIL PROTECTED]
Subject: RE: [SA-list] Monitoring query
If we add Windows Messenger to the ways of sending the message your
problem
would be solved?
Dirk.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf
Of Carroll, Andy
Sent: Monday, December 06, 2004 3:56 PM
To: [EMAIL PROTECTED]
Subject: [SA-list] Monitoring query
Does anyone out there have Servers Alive set up to send a single alert
at
the end of each check cycle indicating that there are checks in a DOWN
condition?
What I am looking to achieve is having Servers Alive send out a single
message at the end of a check cycle indicating that there are checks
that
have failed, obviously no message is required if everything is OK.
I have a team of support personnel who are located remotely from the
Servers
Alive system, and I want to be able to alert these staff to look at
Servers
Alive via a web page and deal with any issues, but I don't want to
have each
/ every down condition alerted. I am currently alerting on each down,
but
get complaints from support staff if there are a large number of
Windows
Messenger alerts, and they also become complacent and don't always
read all
alerts if there are a large number, this means that occasionally some
DOWN
conditions are overlooked.
I suppose I am looking to implement something similar in idea to the
Status
Summary that is in V5, with only DOWN conditions being alerted,
although
this doesn't seem to provide for using Windows Messenger as a
transport
mechanism.
Any feedback / ideas /examples of anything that may be similar....
would be
appreciated.
Regards,
Andy
-------------------------
[This E-mail scanned for viruses by Declude Virus]
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
unsubscribe SAlive
-------------------------
[This E-mail scanned for viruses by Declude Virus]
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
unsubscribe SAlive
-------------------------
[This E-mail scanned for viruses by Declude Virus]
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
unsubscribe SAlive
---------------------------
Gerald W Aquino
Sessler Ford
847-362-4455 x 255
-------------------------
[This E-mail scanned for viruses by Declude Virus]
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
unsubscribe SAlive
-------------------------
[This E-mail scanned for viruses by Declude Virus]
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
unsubscribe SAlive
---------------------------
Gerald W Aquino
Sessler Ford
847-362-4455 x 255
-------------------------
[This E-mail scanned for viruses by Declude Virus]
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
unsubscribe SAlive