Never tried it …. 

 

Could you give me a real example of what you're trying to do? 

 

Dirk Bulinckx. 

From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2008 2:51 PM
To: Servers Alive Discussion List
Subject: RE: [SA-list] Checking for null values 

 


Thanks! 

While we're on the subject, how do the operators work together? For example, if 
I checked for  "x OR y AND z", would that be like saying "(x or y) and z", or 
would it be "x or (y and z)" ? Or something else entirely? 

Ian 
_________________________________
Ian K Gray
OEL IS - European Infrastructure Support
Tel: +44 1236 502661
Mob: +44 7881 518854
Ad eundum quo nemo ante iit 



"Dirk" <[EMAIL PROTECTED]> 
Sent by: Servers Alive Discussion List <[email protected]> 

27/05/2008 13:20 

Please respond to
Servers Alive Discussion List <[email protected]> 

To 

Servers Alive Discussion List <[email protected]> 

cc 

Subject 

RE: [SA-list] Checking for null values 

 




You can use the operators with 
               SA_STATUS 
               SA_CHECK 
               SA_HOSTID 
               SA_HOSTAME 
               SA_PRETTYNAME 
               SA_ROUNDTRIP 
               SA_DEPENDS_ON_UID 
               SA_CHECKRESPONSE 
               SA_GROUPNAME 
               SA_GROUPID 
               SA_REMARK 
               SA_RRD_ROUNDTRIP_ENABLED 
               SA_RRD_CHECKRESULT_ENABLED 
              SA_RRD_CHECKRESULT_GRAPH_AVAILABLE 
              SA_RRD_ROUNDTRIP_GRAPH_AVAILABLE 
               SA_MUTE_ALERTS 
 
 
Next build will also have 
               SA_RRD_UPDOWN_ENABLED 
               SA_RRD_UPDOWN_GRAPH_AVAILABLE 
 
               SA_CUSTOM_VALUE_1 
               .. 
               SA_CUSTOM_VALUE_7 
(could be a couple of days before it's on the beta site) 
 
 
 
Dirk Bulinckx. 
From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2008 12:46 PM
To: Servers Alive Discussion List
Subject: RE: [SA-list] Checking for null values 
  

Ah! Sorry - I see what you mean! This is for use in an HTML output... 
_________________________________
Ian K Gray
OEL IS - European Infrastructure Support
Tel: +44 1236 502661
Mob: +44 7881 518854
Ad eundum quo nemo ante iit 

"Dirk" <[EMAIL PROTECTED]> 
Sent by: Servers Alive Discussion List <[email protected]> 

27/05/2008 11:25 

 

Please respond to
Servers Alive Discussion List <[email protected]> 

 

To 

Servers Alive Discussion List <[email protected]> 

cc 

Subject 

RE: [SA-list] Checking for null values 


  

 





Well the part that isn't clear (and still isn't clear) is what exactly are you 
talking about? 
Is this about a script or something that is part of a check or &#8230;? 
 
 
Dirk Bulinckx. 
From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2008 12:01 PM
To: Servers Alive Discussion List
Subject: RE: [SA-list] Checking for null values 
 

Well, I thought I was being clear, but don't worry - I've found out what I 
needed. I can use SA_CHECKRESPONSE NOT "" to trap null values. 

Here's another question though. Which variables can I use those operators (GT, 
GE, IS, NOT, CON, NCO) with? I'm trying to use them with the custom fields 
(sa_custom_value_1, sa_custom_value_2 etc) but that doesn't seem to work. Can 
you advise? 

Thanks, 

Ian 

_________________________________
Ian K Gray
OEL IS - European Infrastructure Support
Tel: +44 1236 502661
Mob: +44 7881 518854
Ad eundum quo nemo ante iit 

"Dirk" <[EMAIL PROTECTED]> 
Sent by: Servers Alive Discussion List <[email protected]> 

26/05/2008 17:05 

  

 

Please respond to
Servers Alive Discussion List <[email protected]> 

  

 

To 

Servers Alive Discussion List <[email protected]> 

cc 

Subject 

RE: [SA-list] Checking for null values 



  

  

 





and what exactly are you now talking about? 

Dirk Bulinckx. 
From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]
Sent: Monday, May 26, 2008 4:56 PM
To: Servers Alive Discussion List
Subject: [SA-list] Checking for null values 


I know I can do LT, GE, CON, NCO with SA_CHECKRESPONSE - is there a way of 
checking if it is a null value? Something like SA_CHECKRESPONSE = "" ? 

Explanation: I only do diskspace checks every 5 cycles. When SA restarts after 
a crash, the diskspace responses are empty (i.e. "SA_CHECKRESPONSE" for the 
diskspace checks is null). To avoid displaying misleading information, I need 
to trap these. 

Thanks, 

Ian 
_________________________________
Ian K Gray
OEL IS - European Infrastructure Support
Tel: +44 1236 502661
Mob: +44 7881 518854
Ad eundum quo nemo ante iit 
______________________________________________________________________________


Any opinions expressed in this email are those of the individual and not 
necessarily of the Company. This email and any files transmitted with it, 
including replies and forwarded copies (which may contain alterations) 
subsequently transmitted from the Company are confidential and solely for the 
use of the intended recipient. It may contain material protected by legal 
privilege. If you are not the intended recipient or the person responsible for 
delivering to the intended recipient, be advised that you have received this 
email in error and that any use is strictly prohibited.
Please notify the sender immediately of the error and delete any copies of this 
message

Warning: Although the Company has taken reasonable precautions to ensure that 
no viruses are present in this e-mail, the Company cannot accept responsibility 
for any loss or damage arising from the use of this e-mail or attachments.


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. 



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. 


______________________________________________________________________________


Any opinions expressed in this email are those of the individual and not 
necessarily of the Company. This email and any files transmitted with it, 
including replies and forwarded copies (which may contain alterations) 
subsequently transmitted from the Company are confidential and solely for the 
use of the intended recipient. It may contain material protected by legal 
privilege. If you are not the intended recipient or the person responsible for 
delivering to the intended recipient, be advised that you have received this 
email in error and that any use is strictly prohibited.
Please notify the sender immediately of the error and delete any copies of this 
message

Warning: Although the Company has taken reasonable precautions to ensure that 
no viruses are present in this e-mail, the Company cannot accept responsibility 
for any loss or damage arising from the use of this e-mail or attachments.


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. 



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. 


______________________________________________________________________________


Any opinions expressed in this email are those of the individual and not 
necessarily of the Company. This email and any files transmitted with it, 
including replies and forwarded copies (which may contain alterations) 
subsequently transmitted from the Company are confidential and solely for the 
use of the intended recipient. It may contain material protected by legal 
privilege. If you are not the intended recipient or the person responsible for 
delivering to the intended recipient, be advised that you have received this 
email in error and that any use is strictly prohibited.
Please notify the sender immediately of the error and delete any copies of this 
message

Warning: Although the Company has taken reasonable precautions to ensure that 
no viruses are present in this e-mail, the Company cannot accept responsibility 
for any loss or damage arising from the use of this e-mail or attachments.


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. 



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. 


______________________________________________________________________________


Any opinions expressed in this email are those of the individual and not 
necessarily of the Company. This email and any files transmitted with it, 
including replies and forwarded copies (which may contain alterations) 
subsequently transmitted from the Company are confidential and solely for the 
use of the intended recipient. It may contain material protected by legal 
privilege. If you are not the intended recipient or the person responsible for 
delivering to the intended recipient, be advised that you have received this 
email in error and that any use is strictly prohibited.
Please notify the sender immediately of the error and delete any copies of this 
message

Warning: Although the Company has taken reasonable precautions to ensure that 
no viruses are present in this e-mail, the Company cannot accept responsibility 
for any loss or damage arising from the use of this e-mail or attachments.


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. 

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. 

Reply via email to