RE: [SA-list] External check : piping character

2014-01-16 Thread dirk
Servers Alive see the command as a string that is passes to the OS.  The 
only 2 chars that could cause a problem (when saved in the entriesfiles) 
are # and a TAB, I don't see a problem for any other char.

What the OS does with itwe don't know/care :-)



dirk.


On 2014-01-16 10:00, Demeulemeester, Pieter wrote:
> It does gives an errorlevel, see screenshot.
> 
> The question was : can I use a piping character in and External check
> ?
> 
> Thanks for the suggestion though.  I'm aware of the work around with
> a script.
> 
> FROM: Servers Alive Discussion List [mailto:salive@woodstone.nu] ON
> BEHALF OF Jason Passow
> SENT: woensdag 15 januari 2014 18:01
> TO: Servers Alive Discussion List
> SUBJECT: Re: [SA-list] External check : piping character
> 
> The command you described would not output an error level. You can
> create a batch file or a vbs using that command and an if loop to set
> the error level.
> 
> Jason Passow
> Network Administrator
> Mississippi Welders Supply
> http://www.mwsco.com [1]
> jas...@mwsco.com
> ph: (507) 494-5178
> fax: (507) 454-8104
> 
> -
> 
> FROM: Demeulemeester, Pieter
> [mailto:pieter.demeulemees...@fracarita.org]
> TO: Servers Alive Discussion List [mailto:salive@woodstone.nu]
> SENT: Wed, 15 Jan 2014 10:00:19 -0600
> SUBJECT: [SA-list] External check : piping character
> 
> Hi Dirk,
> 
> Can I use a piping character in an External (errorlevel) check ?
> 
> Ex. : Nslookup.exe %COMPUTERNAME%.%USERDNSDOMAIN% | find /I "Name:"
> 
> 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
> 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.
> 
> -
>  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
>  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.
> 
> Links:
> --
> [1] http://www.mwsco.com

-- 
Dirk Bulinckx
Servers Alive - Network Monitoring - http://www.woodstone.nu/salive

StellarDNS - DNS Hosting - http://www.stellardns.com

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.


RE: [SA-list] External check : piping character

2014-01-16 Thread Demeulemeester, Pieter
Seems like the screenshot is discard. L

 But you can easily test it for yourself.

C:\> Nslookup.exe %COMPUTERNAME%.%USERDNSDOMAIN% | find /I "Name:"

C:\> echo %ERRORLEVEL%

 

From: Servers Alive Discussion List [mailto:salive@woodstone.nu] On Behalf Of 
Demeulemeester, Pieter
Sent: donderdag 16 januari 2014 10:01
To: Servers Alive Discussion List
Subject: RE: [SA-list] External check : piping character

 

It does gives an errorlevel, see screenshot.



 

The question was : can I use a piping character in and External check ?

Thanks for the suggestion though.  I'm aware of the work around with a script.

 

From: Servers Alive Discussion List [mailto:salive@woodstone.nu 
(mailto:salive@woodstone.nu)] On Behalf Of Jason Passow
Sent: woensdag 15 januari 2014 18:01
To: Servers Alive Discussion List
Subject: Re: [SA-list] External check : piping character

 

The command you described would not output an error level.   You can create a 
batch file or a vbs using that command and an if loop to set the error level.  

Jason Passow
Network Administrator
Mississippi Welders Supply
http://www.mwsco.com (http://www.mwsco.com) 
jas...@mwsco.com (mailto:jas...@mwsco.com)
ph: (507) 494-5178
fax: (507) 454-8104




From: Demeulemeester, Pieter [mailto:pieter.demeulemees...@fracarita.org 
(mailto:pieter.demeulemees...@fracarita.org)]
To: Servers Alive Discussion List [mailto:salive@woodstone.nu 
(mailto:salive@woodstone.nu)]
Sent: Wed, 15 Jan 2014 10:00:19 -0600
Subject: [SA-list] External check : piping character

Hi Dirk,

 

Can I use a piping character in an External (errorlevel) check ?

 

Ex. : Nslookup.exe %COMPUTERNAME%.%USERDNSDOMAIN% | find /I "Name:"

 

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. 



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. 





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
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.


RE: [SA-list] External check : piping character

2014-01-16 Thread Demeulemeester, Pieter
It does gives an errorlevel, see screenshot.



 

The question was : can I use a piping character in and External check ?

Thanks for the suggestion though.  I'm aware of the work around with a script.

 

From: Servers Alive Discussion List [mailto:salive@woodstone.nu] On Behalf Of 
Jason Passow
Sent: woensdag 15 januari 2014 18:01
To: Servers Alive Discussion List
Subject: Re: [SA-list] External check : piping character

 

The command you described would not output an error level.   You can create a 
batch file or a vbs using that command and an if loop to set the error level.  

Jason Passow
Network Administrator
Mississippi Welders Supply
http://www.mwsco.com (http://www.mwsco.com) 
jas...@mwsco.com (mailto:jas...@mwsco.com)
ph: (507) 494-5178
fax: (507) 454-8104






From: Demeulemeester, Pieter [mailto:pieter.demeulemees...@fracarita.org 
(mailto:pieter.demeulemees...@fracarita.org)]
To: Servers Alive Discussion List [mailto:salive@woodstone.nu 
(mailto:salive@woodstone.nu)]
Sent: Wed, 15 Jan 2014 10:00:19 -0600
Subject: [SA-list] External check : piping character

Hi Dirk,

 

Can I use a piping character in an External (errorlevel) check ?

 

Ex. : Nslookup.exe %COMPUTERNAME%.%USERDNSDOMAIN% | find /I "Name:"

 

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. 



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
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.