Without testing it I think this should work
<saif sa_status is DOWN AND sa_custom_value IS ""> something </saif>
dirk.
--------------------------------------------------------------------------------
From: Servers Alive Discussion List [mailto:[email protected]] On Behalf Of
Demeulemeester, Pieter
Sent: Tuesday, August 30, 2016 2:30 PM
To: Servers Alive Discussion List
Subject: RE: [SA-list] Custom Field as a condition in <SAIF> ?
In an IF-construction ? Can you give an example please ?
I need :
If
(status=DOWN) and (CustomField is Empty)
then
(show CustomField)
EndIf
Should this work :
<saif sa_status is DOWN> <saif sa_custom_value_2 NOT > <sa_custom_value_2>
</saif></saif>
Kind regards,
Pieter
From: Servers Alive Discussion List [mailto:[email protected]] On Behalf Of
Dirk Bulinckx
Sent: dinsdag 30 augustus 2016 13:35
To: Servers Alive Discussion List
Subject: RE: [SA-list] Custom Field as a condition in <SAIF> ?
Yes you can use
SA_CUSTOM_VALUE_1
...
SA_CUSTOM_VALUE_7
dirk.
--------------------------------------------------------------------------------
From: Servers Alive Discussion List [mailto:[email protected]
(mailto:[email protected])] On Behalf Of Demeulemeester, Pieter
Sent: Tuesday, August 30, 2016 12:15 PM
To: Servers Alive Discussion List
Subject: [SA-list] Custom Field as a condition in <SAIF> ?
Can I use <sa_custom_value_1> in a <saif> construction ?
Id like to show the Custom Field information only if both of following two
conditions are true:
- status is down
- the custom filed has a value.
Something like this :
<saif sa_status is DOWN> <saif sa_custom_value_2 NOT > <sa_custom_value_2>
</saif></saif>
Can this be done ?
--------------------------------------------------------------------------------
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
[email protected] (mailto:[email protected])
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.
--------------------------------------------------------------------------------
No virus found in this message.
Checked by AVG - www.avg.com (http://www.avg.com)
Version: 2016.0.7752 / Virus Database: 4647/12850 - Release Date: 08/21/16
Internal Virus Database is out of date.
No virus found in this message.
Checked by AVG - www.avg.com (http://www.avg.com)
Version: 2016.0.7752 / Virus Database: 4649/12908 - Release Date: 08/30/16
To unsubscribe send a message with UNSUBSCRIBE in the subject line to
[email protected] (mailto:[email protected])
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
[email protected]
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.
--------------------------------------------------------------------------------
No virus found in this message.
Checked by AVG - www.avg.com (http://www.avg.com)
Version: 2016.0.7752 / Virus Database: 4647/12850 - Release Date: 08/21/16
Internal Virus Database is out of date.
No virus found in this message.
Checked by AVG - www.avg.com (http://www.avg.com)
Version: 2016.0.7752 / Virus Database: 4649/12909 - Release Date: 08/30/16
To unsubscribe send a message with UNSUBSCRIBE in the subject line to
[email protected]
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.