Just to clarify, I wasn't referring to an export of the setup of the
checks, but the results of a check cycle.

Brett Hanson

>>> [EMAIL PROTECTED] 2/22/2007 4:30:05 PM >>>
We're already working on XML output.
The XML output will contain all entries, with alerts, but also the
people/team/protocols/setup.
 


Dirk Bulinckx. 
-----Original Message-----
From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of
Brett Hanson
Sent: Thursday, February 22, 2007 11:26 PM
To: Servers Alive Discussion List
Subject: [SA-list] Feature request: XML output

I've been using the HTML output feature with templates for quite some
time now
and have a template that is an XML file.  Would you consider natively
supporting
XML output instead of the method I'm using now?

Here's what I'm doing now.  I have this file called
default_template.xml and
have a web page that uses this as a template. 
I also have an XSL file that formats the output, groups it and has
tooltips
showing some information and some other dynamic functionality.

<?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>



Thank you,

Brett Hanson
Systems Analyst
Agrium, Inc.


                            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] 
If you use auto-responders (like out-of-the-office messages), then make
sure
that they are not send to the list nor to the individual members of the
list
that send a message.  Doing this will get you removed from the list.

To unsubscribe send a message with UNSUBSCRIBE as subject to
[email protected] 
If you use auto-responders (like out-of-the-office messages), then make
sure that they are not send to the list nor to the individual members of
the list that send a message.  Doing this will get you removed from the
list.


                            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]
If you use auto-responders (like out-of-the-office messages), then make sure 
that they are not send to the list nor to the individual members of the list 
that send a message.  Doing this will get you removed from the list.

Reply via email to