RE: [SA-list] saif sa_checkresult .... /saif

2014-04-01 Thread Erkan �zt�rk
Here is the sample code about saif

 

html

    HEAD

    TITLEServer Monitor/TITLE

    meta http-equiv=refresh content=30

    meta http-equiv=content-type 
content=text/html;charset=utf-8 /

    

    /head

    BODY onload=countdown(30);  

   

   sa_report sort=status,onstatustime

   sa_groupheader

 

   /sa_groupheader

   

   saif sa_checkresult CON test 
... do something  /saif

   

   

   sa_groupfooter

 

   /sa_groupfooter

   

   /sa_report

   

    /body

    footer

 

    /footer

...

/html

 






Erkan Öztürk
Sunucu Sistemleri Ve Sanallaþtýrma Baþuzmaný
Sistem Mühendisliði Bölümü

erkan.ozt...@borsaistanbul.com
T. +90 212 298 24 32
F. +90 212 298 25 00 

 

 

From: Servers Alive Discussion List [mailto:salive@woodstone.nu] On Behalf Of 
Dirk Bulinckx
Sent: Monday, March 31, 2014 6:31 PM
To: Servers Alive Discussion List
Subject: RE: [SA-list] saif sa_checkresult  /saif

 

It's not sa_checkresult as you say in the subject but sa_checkreponse :-)

 

if you want to check if the response contains test


 


saif sa_checkresponse CON test


 


CONcontains


NCOdoesn't contain


NOT is not


ISis


GTgreater then


LTless then


GEgreater or equal


LEless or equal

Dirk Bulinckx 
Servers Alive - http://www.woodstone.nu (http://www.woodstone.nu/) 
StellarDNS (DNS Hosting) - http://www.stellardns.com 
(http://www.stellardns.com/) 

 

 




From: Servers Alive Discussion List [mailto:salive@woodstone.nu 
(mailto:salive@woodstone.nu)] On Behalf Of Lau Daniels
Sent: Monday, March 31, 2014 4:31 PM
To: Servers Alive Discussion List
Subject: RE: [SA-list] saif sa_checkresult  /saif

Pieter,

 

The pdf is only for using the template, in the (the template files 
(http://serversalive.com/salive/SA_RRD.zip)) there is an html file that#8217;s 
using saif.

 

Lau

 

 

From: Servers Alive Discussion List [mailto:salive@woodstone.nu 
(mailto:salive@woodstone.nu)] On Behalf Of Demeulemeester, Pieter
Sent: maandag 31 maart 2014 15:46
To: Servers Alive Discussion List
Subject: RE: [SA-list] saif sa_checkresult  /saif

 

Thanks for the response. I've done some reading already.

Seems like I can't find the correct syntax for saif with sa_checkresponse. 
The PDF does not contain the word 'sa_checkresponse'.

I was (still am) hoping that someone can give me an example.

 

Regards,

 

From: Servers Alive Discussion List [mailto:salive@woodstone.nu 
(mailto:salive@woodstone.nu)] On Behalf Of Lau Daniels
Sent: maandag 31 maart 2014 15:31
To: Servers Alive Discussion List
Subject: RE: [SA-list] saif sa_checkresult  /saif

 

Pieter,

 

Have a look at http://serversalive.com/salive/documents.php 
(http://serversalive.com/salive/documents.php)  

There is an entry called: How to


Configuring Servers Alive v7 to work with RRD Tools, combined with IIS serving 
the output (http://serversalive.com/salive/SA_RRDTool.pdf) (the template files 
(http://serversalive.com/salive/SA_RRD.zip))

 

The template files give you an idea how to do it or you can use the template 
(see pdf for more info)

 

Regards,

Lau

 

 

From: Servers Alive Discussion List [mailto:salive@woodstone.nu 
(mailto:salive@woodstone.nu)] On Behalf Of Demeulemeester, Pieter
Sent: maandag 31 maart 2014 12:16
To: Servers Alive Discussion List
Subject: [SA-list] saif sa_checkresult  /saif

 

Can somebody give me an example of how to use the sa_checkresult variable in a 
saif tag ?

 

See manual Chapter 4 _More Powerful Report Generation Using Conditions_.pdf, 
page 4.

4.2.2 Servers Alive variables that can be checked

Following are the variables whose values may be checked by saif, /saif and 
sa_select_case, /sa_select_case (see the next section for examples):

1.   sa_status: Possible values are UP, DOWN, MAINTENANCE, UNAVAILABLE, 
UNCHECKED.

[#8230;]

8. sa_checkresponse: This tag returns whether the SAIF tag contains (CON) or 
does not contain (NC0) a specific string.

[#8230;]

 

Kind regards,

Pieter




Dit bericht wordt verzonden vanuit een e-mailadres voor professioneel gebruik. 
De 

[SA-list] Zebra stripes on html table

2014-04-01 Thread Erkan �zt�rk
Hi,

 

I found small code about html. This code makes readable your Servers Alive html 
page.One row is white next one  is gray and so on.

 

Here is code

 

    style type=text/css

    tr:nth-of-type(odd) { background-color:#F2F2F2;} 

/style

 

Put this code head section of the servers alive template html file.

 






Erkan Öztürk
Sunucu Sistemleri Ve Sanallaþtýrma Baþuzmaný
Sistem Mühendisliði Bölümü

erkan.ozt...@borsaistanbul.com
T. +90 212 298 24 32
F. +90 212 298 25 00 

 

 

From: Servers Alive Discussion List [mailto:salive@woodstone.nu] On Behalf Of 
Dirk Bulinckx
Sent: Monday, March 31, 2014 6:31 PM
To: Servers Alive Discussion List
Subject: RE: [SA-list] saif sa_checkresult  /saif

 

It's not sa_checkresult as you say in the subject but sa_checkreponse :-)

 

if you want to check if the response contains test


 


saif sa_checkresponse CON test


 


CONcontains


NCOdoesn't contain


NOT is not


ISis


GTgreater then


LTless then


GEgreater or equal


LEless or equal

Dirk Bulinckx 
Servers Alive - http://www.woodstone.nu (http://www.woodstone.nu/) 
StellarDNS (DNS Hosting) - http://www.stellardns.com 
(http://www.stellardns.com/) 

 

 




From: Servers Alive Discussion List [mailto:salive@woodstone.nu 
(mailto:salive@woodstone.nu)] On Behalf Of Lau Daniels
Sent: Monday, March 31, 2014 4:31 PM
To: Servers Alive Discussion List
Subject: RE: [SA-list] saif sa_checkresult  /saif

Pieter,

 

The pdf is only for using the template, in the (the template files 
(http://serversalive.com/salive/SA_RRD.zip)) there is an html file that#8217;s 
using saif.

 

Lau

 

 

From: Servers Alive Discussion List [mailto:salive@woodstone.nu 
(mailto:salive@woodstone.nu)] On Behalf Of Demeulemeester, Pieter
Sent: maandag 31 maart 2014 15:46
To: Servers Alive Discussion List
Subject: RE: [SA-list] saif sa_checkresult  /saif

 

Thanks for the response. I've done some reading already.

Seems like I can't find the correct syntax for saif with sa_checkresponse. 
The PDF does not contain the word 'sa_checkresponse'.

I was (still am) hoping that someone can give me an example.

 

Regards,

 

From: Servers Alive Discussion List [mailto:salive@woodstone.nu 
(mailto:salive@woodstone.nu)] On Behalf Of Lau Daniels
Sent: maandag 31 maart 2014 15:31
To: Servers Alive Discussion List
Subject: RE: [SA-list] saif sa_checkresult  /saif

 

Pieter,

 

Have a look at http://serversalive.com/salive/documents.php 
(http://serversalive.com/salive/documents.php)  

There is an entry called: How to


Configuring Servers Alive v7 to work with RRD Tools, combined with IIS serving 
the output (http://serversalive.com/salive/SA_RRDTool.pdf) (the template files 
(http://serversalive.com/salive/SA_RRD.zip))

 

The template files give you an idea how to do it or you can use the template 
(see pdf for more info)

 

Regards,

Lau

 

 

From: Servers Alive Discussion List [mailto:salive@woodstone.nu 
(mailto:salive@woodstone.nu)] On Behalf Of Demeulemeester, Pieter
Sent: maandag 31 maart 2014 12:16
To: Servers Alive Discussion List
Subject: [SA-list] saif sa_checkresult  /saif

 

Can somebody give me an example of how to use the sa_checkresult variable in a 
saif tag ?

 

See manual Chapter 4 _More Powerful Report Generation Using Conditions_.pdf, 
page 4.

4.2.2 Servers Alive variables that can be checked

Following are the variables whose values may be checked by saif, /saif and 
sa_select_case, /sa_select_case (see the next section for examples):

1.   sa_status: Possible values are UP, DOWN, MAINTENANCE, UNAVAILABLE, 
UNCHECKED.

[#8230;]

8. sa_checkresponse: This tag returns whether the SAIF tag contains (CON) or 
does not contain (NC0) a specific string.

[#8230;]

 

Kind regards,

Pieter




Dit bericht wordt verzonden vanuit een e-mailadres voor professioneel gebruik. 
De verantwoordelijken binnen de organisatie kunnen kennis nemen van alle 
berichten verzonden naar dit adres.
Le présent message est envoyé d'une adresse e-mail pour usage professionnel. 
Les responsables de l'organisation peuvent prendre connaissance de tous les 
messages envoyés à cette adresse.
This message is sent from an e-mail address for professional use only. The 
persons in charge of the organisation may take note of all messages sent to 
this address. 



To unsubscribe send a message with UNSUBSCRIBE in the subject line to 
salive@woodstone.nu (mailto:salive@woodstone.nu)
If you use auto-responders (like out-of-the-office messages), make sure that 
they are not sent to the list nor to individual members. Doing so will cause 
you to be automatically removed from the list.