Thanks for that Dirk. 

The checkerrorlevel app shows that both the "test" and "Accountlockoutstatus" 
batch files I have created return an errorlevel of 0 but my check still shows 
response 1 and an alert. 

Could I have I configured something wrongly? 

Barry 



From:       "Dirk Bulinckx" <[email protected]> 
To:       Servers Alive Discussion List <[email protected]>, 
Date:       18/09/2012 11:34 
Subject:       RE: [SA-list] External Errorolevel check 
Sent by:       Servers Alive Discussion List <[email protected]> 

--------------------------------------------------------------------------------




Best is to try/test it first with the CHECKERRORLEVEL app that is delivered 
with Servers Alive.  Often there is an issue with permissions and paths. 
 

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:[email protected] 
(mailto:[email protected])] On Behalf Of [email protected]
Sent: Tuesday, September 18, 2012 12:01 PM
To: Servers Alive Discussion List
Subject: [SA-list] External Errorolevel check

Hi All, 

I am currently testing an AD account lockout status batch file using the 
external errorlevel check in Servers alive (testing in  free version 7.0.2528), 
however have been unable to get the alert to show the status of the account 
correctly. 

To test I have created a batch file which exits with an errorlevel of 0 (the 
batch file only contains the code EXIT /B 0) 

When I create an entry using the "External (errorlevel)" check, and set it to 
alert when errorlevel returned is < > 0, I am seeing a response of 1 and an 
alert from this entry. 

Am I missing something? Is there something I should be changing before servers 
alive can read the response from this test file correctly? 

Any help appreciated! 
Barry 
______________________________________________________________________________


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.
______________________________________________________________________________
Oki Europe Limited. Registered Office:Blays House, Wick Road, Egham TW20 0HJ. 
Company No:2203086. VAT No:481 011975


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.
______________________________________________________________________________
Oki Europe Limited. Registered Office:Blays House, Wick Road, Egham TW20 0HJ. 
Company No:2203086. VAT No:481 011975


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