Title: Message
I seem to have made a mistake in what I said (and the doc isn't 100% clear about it).
 
From the doc:
"Additional features include the following tags used to filter, on the page, the entries that can be displayed based on their status.
<sa_report sort=    status=ALL,DOWN,UNAVAILABLE,UP,UNCHECKED>
You can have one or more of the list. For example, status=DOWN,UP gives only the entries that are up or down."
 
=> the STATUS=... part will FILTER, it's an easy way to only have DOWN,UP,... items on the page without having to use the IF or CASE statements.
 
If you want to sort by status and filter then you can use the following:
 
<sa_report sort=status   status=DOWN,UP>
=> sort by STATUS (and also by group as that is assumed by default EXCEPT if you would do sort=status,nogroup) and only have the entries that are down or up.
 
 

Dirk.
Vote for Servers Alive in the "System Management" - "Monitoring and Alerting Software" (as OTHER) category in the Windows NT Pro Magazine Readers' Choice Awards 2005
http://www.windowsitpro.com/readerschoice/

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patricia Keane
Sent: Wednesday, April 20, 2005 1:09 PM
To: [email protected]
Subject: RE: [SA-list] Sorting my HTML output

I am having the same problem, can you let me know if you come across anything that needs to be changed ? Thanks

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Bulinckx
Sent: 20 April 2005 12:02
To: [email protected]
Subject: RE: [SA-list] Sorting my HTML output

 

can you send me (off list) the template you're using? And the resulting page?

 

Dirk.
Vote for Servers Alive in the "System Management" - "Monitoring and Alerting Software" (as OTHER) category in the Windows NT Pro Magazine Readers' Choice Awards 2005
http://www.windowsitpro.com/readerschoice/

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gibson, Richard (IHG)
Sent: Wednesday, April 20, 2005 12:57 PM
To: '[email protected]'
Subject: RE: [SA-list] Sorting my HTML output

Actually, sorry the list isn't random - it's the order that is in the hostfile!

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Bulinckx
Sent: 20 April 2005 11:21
To: [email protected]
Subject: RE: [SA-list] Sorting my HTML output

Use

<sa_report sort=nogroup,status=DOWN,UP,MAINTENANCE>

for the sort order.

 

<sa_nr_up>    number UP entries

<sa_nr_down>    number DOWN entries

Dirk.
Vote for Servers Alive in the "System Management" - "Monitoring and Alerting Software" (as OTHER) category in the Windows NT Pro Magazine Readers' Choice Awards 2005
http://www.windowsitpro.com/readerschoice/

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gibson, Richard (IHG)
Sent: Wednesday, April 20, 2005 10:30 AM
To: Servers Alive Support List ([email protected])
Subject: [SA-list] Sorting my HTML output

I am having problems sorting the HTML page I have created using a template. I have the following line in my template: <sa_report sort=STATUS=DOWN,UP,MAINTENANCE> which I thought would sort the page with the down services at the top, then up then maintenance. This doesn't seem to happen though and its all a bit random - with all the alarms being intermingled with each other. How do I get it how I want it (down first, then up, then maintenance)?

Also, at the top of the page I am trying to have it show me the total number of services being monitored, the total down, and the total in maintenance (I can't seem to find the total up tag) - I have this as: Number of services being checked: <sa_nr_entries>&nbsp;&nbsp;&nbsp;&nbsp;Down = <sa_nr_unavailable>&nbsp;&nbsp;Maintenance = <sa_nr_maintenance> . The problem is, although the total services and the maintenance counters are working, the down counter seems to be intermittent, with the majority of the time not being any value other than 0, even if services are down. Am I using the correct tag?

Thanks in advance,

Richard Gibson


This e-mail is privileged and confidential. If you are not the
intended recipient please delete the message and notify the sender.
Any views or opinions presented are solely those of the author.

This e-mail message has been scanned and cleared by NetIQ MailMarshal

Irish Ferries - For Our Lowest Fares Visit www.irishferries.com


Reply via email to