Title: Sorting my HTML output
The line says:
don't sort by group
sort by status, were first down, then up then maintenance
 

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 Peter Hoermann
Sent: Wednesday, April 20, 2005 2:20 PM
To: [email protected]
Subject: RE: [SA-list] Sorting my HTML output

Dirk
 
with your line
<sa_report sort=nogroup,status=DOWN,UP,MAINTENANCE>
 
Is this suggesting it should sort by status down, then up, then maintenance
 
or can there only be one value? (up, down or maintenance)
 
Peter
 

< peter hoermann >< electronics for imaging bv. >
< NL +31 20 658 8092 >< UK +44 20 8476 7689 >< DE +49 2102 745 4489 >< FR +33 1 4179 0002 >

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Bulinckx
Sent: Wednesday, 20 April 2005 12: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

Reply via email to