Here is the sample code about <saif>
<html> <HEAD> <TITLE>Server 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 CON contains NCO doesn't contain NOT is not IS is GT greater then LT less then GE greater or equal LE less 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’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. […] 8. sa_checkresponse: This tag returns whether the SAIF tag contains (CON) or does not contain (NC0) a specific string. […] 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. -------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses but we cannot accept responsibility for any loss or damage arising from the use of this email and/or attachment(s). 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. -------------------------------------------------------------------------------- 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. 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. 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. To unsubscribe send a message with UNSUBSCRIBE in the subject line to 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.