A thought to help with testing "and back up":

I got my hands on a cheap printer server device, you know the little boxes
that are Ethernet on one side and parallel port on the other.

These little guys usually have both an http interface as well as support for
SNMP and even telnet.

As a test device it's small, easy to dink with, and tests (especially ping
tests) can be faked just by unplugging it from the network then plugging it
back in.

Usually larger shops have these lying around. (We have several old ones).

Michael D. Shook
Technical Analyst
[EMAIL PROTECTED]
863 668 4477 (work)
863 860 4070 (cell)
863 665 1261 (fax)
www.saddlecrk.com

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of David Bruck
Sent: Wednesday, November 24, 2004 11:23 AM
To: [EMAIL PROTECTED]
Subject: Re: [SA-list] Remote command as alert

Ok - here is an update - but I don't understand why this is the case.

First - I can't test "and when back-up" alerts since SA doesn't allow for
faking it out.  I can only test alerts for things going down (maybe a
feature for a future release - a way to do various tests without actually
affecting a device??)

For testing purposes, what I did was create a batch file that runs
notepad.exe - and this batch file works.  So this shows that SA will run a
batch file.  Again, I have to assume the "and when back-up" feature works
since I can't really test that without taking something actually down and
letting it come back up - and can't really do that in this environment right
now.  I might have to test it in a development environment.

Here is the contents of the batch file I want to run, and it works great if
I run the batch file from the command line, just not via SA - and I don't
understand the difference.

if exist \\TS1\c$\inetpub\wwwroot\tsweb\default2.htm exit
rename \\TS1\c$\inetpub\wwwroot\tsweb\default.htm default2.htm
rename \\TS1\c$\inetpub\wwwroot\tsweb\default1.htm default.htm

Any thoughts?

Dave




----- Original Message ----- 
From: "Dirk Bulinckx" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 24, 2004 9:43 AM
Subject: RE: [SA-list] Remote command as alert


As said before Servers Alive can START the BAT/CMD/EXE.  And IF the OS gives
an error on this we can return this.  If for whatever reason the OS is not
giving an error it does NOT mean that the command/bat/cmd/exe runs
correctly.
This is not a Servers Alive issue.


Dirk.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of David Bruck
Sent: Wednesday, November 24, 2004 3:25 PM
To: [EMAIL PROTECTED]
Subject: Re: [SA-list] Remote command as alert

yes I tried the new BETA.  I believe I sent the log files, but regardless if
I did or not, why will some programs run (notepad and calc) but my batch
files won't?  I put them in the same directories as the exe's and the batch
files work perfectly when run from the command prompt.  So even if the log
shows them working (I don't recall - will go get now) they aren't.

Dave
----- Original Message ----- 
From: "Dirk Bulinckx" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 24, 2004 12:48 AM
Subject: RE: [SA-list] Remote command as alert


You continue to say that the BAT file isn"t working.
Did you try that latest beta as requested before?  Did you send us a logfile
showing that SA tried to execute it ?


Dirk.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of David Bruck
Sent: Tuesday, November 23, 2004 11:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [SA-list] Remote command as alert

Yes.  I still can't figure out why my batch files will not run with SA - so
maybe this will fix it for me.

Dave Bruck
----- Original Message ----- 
From: "Dirk Bulinckx" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 23, 2004 6:27 AM
Subject: [SA-list] Remote command as alert


Is the possibility to execute a command on a remote system (currently only
possible on the system running SA), something that would be of any help
knowing that for that you would have to have a "remotecommand" service
installed on the system(s) that need to execute those commands.

Dirk.






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

[This E-mail scanned for viruses by Declude Virus]

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive




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

[This E-mail scanned for viruses by Declude Virus]

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive






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

[This E-mail scanned for viruses by Declude Virus]

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive




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

[This E-mail scanned for viruses by Declude Virus]

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive






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

[This E-mail scanned for viruses by Declude Virus]

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive




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

[This E-mail scanned for viruses by Declude Virus]

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive




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

[This E-mail scanned for viruses by Declude Virus]

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive

Reply via email to