But why as standard from the app, if it's possible using the HTML template? We could provide a sample XML template for the HTML output...
Dirk. Don't forget to vote for Servers Alive in the annual Sunbelt Target Awards http://www.sunbelt-software.com/targetawards/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brett Hanson Sent: Tuesday, April 06, 2004 12:28 AM To: [EMAIL PROTECTED] Subject: Re: [SA-list] XML output I already use XML output (fudged of course), but would like to see XML output as standard from the application. Here is the template I use: <?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 PING>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> Regards, Brett Hanson Agrium --- [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
