I'd second that request!

-tom 

-----Original Message-----
From: Dirk Bulinckx [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 02, 2006 1:30 AM
To: Servers Alive Discussion List
Subject: [SA-list] RE: [SA-list] Problem with SA_CHECKDESCRIPTION

Currently this is not possible.
This is a change we can add for v6 


Dirk.


-----Original Message-----
From: Brett Hanson [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 02, 2006 12:55 AM
To: Servers Alive Discussion List
Subject: [SA-list] Problem with SA_CHECKDESCRIPTION

I'm having Servers Alive generate XML output from each check cycle and
have an xslt transform the xml file to a nice web page that is displayed
on my desktop.  We recently added a URL check that the XML doesn't like
(http://server/cgi-bin/htsearch?method=and&words=test).  The problem
with the output is the & character has to be converted to &.  Is
there any chance that the output could be changed fo SA_CHECKDESCRIPTION
to convert the characters to XML safe ?  For reference, the characters
that must use entity escape codes are: ampersand (&), single quote ('),
double quote ("), less than (<), and greater than (>).   Another
attractive alternative would be if Servers Alive could output XML
directly.

I've included the template I use to assist with testing.

Regards,

Brett Hanson
Systems Analyst, Agrium Inc.

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="template.xsl"?>

<Check_Information 
        LastCheck="<sa_currentlongdate> <sa_currentlongtime>" 
        Version="<sa_version>" 
        Cycles="<sa_cycles>" 
        CycleStart="<sa_cyclestart>" 
        CycleStop="<sa_cyclestop>">
<sa_report sort=status,prettyname>
        <sa_groupheader>
        <Group
                GroupName="<sa_group_name>"
                GroupUpEntries="<sa_group_up_entries>"
                GroupDownEntries="<sa_group_down_entries>"
        
GroupMaintenanceEntries="<sa_group_maintenance_entries>">
        </sa_groupheader>
        <Check>
                <HostName><sa_hostname></HostName>
                <PrettyName><sa_prettyname></PrettyName>
                <Status
src="images/<sa_status>.gif"><sa_status></Status>
                <ChangeDate><sa_statuschangedate></ChangeDate>
                <ChangeTime><sa_statuschangetime></ChangeTime>
                <Description><sa_checkdescription></Description>
                <CheckResponse><sa_checkresponse></CheckResponse>
                <Threshold><SAIF SA_CHECK IS
PING><sa_threshold></SAIF><SAIF SA_CHECK NOT N/A</SAIF></Threshold>
                <HostID><sa_hostid></HostID>
                <UID><sa_uid></UID>
                <RoundTrip><sa_roundtrip></RoundTrip>
                <AvgRoundTrip><sa_stats_avgrtrip></AvgRoundTrip>
                <MaxRoundTrip><sa_stats_maxrtrip></MaxRoundTrip>
                <MinRoundTrip><sa_stats_minrtrip></MinRoundTrip>
                <UpCycles><sa_stats_upcycles></UpCycles>
                <UpTime><sa_stats_uptime></UpTime>
                <DownCycles><sa_stats_downcycles></DownCycles>
                <DownPercent><sa_stats_downtime></DownPercent>
        
<MaintenanceCycles><sa_stats_maintenancecycles></MaintenanceCycles>
        
<MaintenancePercent><sa_stats_maintenancetime></MaintenancePercent>
                <TotalCycles><sa_stats_totalcycles></TotalCycles>
                <NonDownTime><sa_stats_nondowntime></NonDownTime>
                <OnStatusTime><sa_onstatustime></OnStatusTime>
        </Check>
        <sa_groupfooter>
        </Group>
        </sa_groupfooter>
</sa_report>
</Check_Information>


                            IMPORTANT NOTICE !
This E-Mail transmission and any accompanying attachments may contain
confidential information intended only for the use of the individual or
entity named above. Any dissemination, distribution, copying or action
taken in reliance on the contents of this E-Mail by anyone other than
the intended recipient is strictly prohibited and is not intended to, in
anyway, waive privilege or confidentiality. If you have received this
E-Mail in error please immediately delete it and notify sender at the
above E-Mail address.

Agrium uses state of the art anti-virus technology on all incoming and
outgoing E-Mail. We encourage and promote the use of safe E-Mail
management practices and recommend you check this, and all other E-Mail
and attachments you receive for the presence of viruses. The sender and
Agrium accept no liability for any damage caused by a virus or otherwise
by the transmittal of this E-Mail.
                        IMPORTANT NOTICE To unsubscribe send a message
with UNSUBSCRIBE as subject to [email protected] To unsubscribe send a
message with UNSUBSCRIBE as subject to [email protected]
To unsubscribe send a message with UNSUBSCRIBE as subject to [email protected]

Reply via email to