Privacy Policy

Guest
  • Guest
  • Guest Topic Starter
2003-07-16T14:12:24Z
Date parsed: 7/16/2003 2:12:24 PM

Date: Wed, 16 Jul 2003 13:12:24 +0200

Hello,

I'm using SL4NT 3.1 on Windows Server 2003.

The service is set to logon via the Local System account.

I need to issue the clear local-host command on a small PIX,

whenever the %PIX-4-407001 syslog messaged is received.

I created the rules for the event and I'm using teraterm ttl script

to do the trick; if I invoke the script from another batch file it works

correctly.

However SLN4NT does not run the batch, although another

action in the rule is to send a warning email and I correctly get it.

In the run a program I tried the cmd.exe /C path\batch both

with and without quotes with no success.

The local system account has NTFS rights to access and execute

all the needed resources.

Anyone has an advice?

Thank you,

/Mario Biassoni

Guest
  • Guest
  • Guest Topic Starter
2003-07-16T21:30:25Z
Date parsed: 7/16/2003 9:30:25 PM

Date: Wed, 16 Jul 2003 20:30:25 +0200

Mario,

try the following:

Create a batch file, e.g. testbat.cmd in the C:\Test directory. The batch

file should contain the following text line:

echo %path% >>c:\temp\testbat.log

Then configure the SL4NT action to execute the command:

cmd.exe /C c:\temp\testbat.cmd

Then trigger the action execution by sending a test message. If the batch

file is executed, then you should find a testbat.log file in the C:\temp

directory.

I guess this will work in your case (it does on my test system).

Franz

"Mario Biassoni" <mario@biassoni.it> wrote in message

news:DeDAqs4SDHA.3396@is1.netal.com...

> Hello,

>

> I'm using SL4NT 3.1 on Windows Server 2003.

> The service is set to logon via the Local System account.

>

> I need to issue the clear local-host command on a small PIX,

> whenever the %PIX-4-407001 syslog messaged is received.

> I created the rules for the event and I'm using teraterm ttl script

> to do the trick; if I invoke the script from another batch file it works

> correctly.

>

> However SLN4NT does not run the batch, although another

> action in the rule is to send a warning email and I correctly get it.

>

> In the run a program I tried the cmd.exe /C path\batch both

> with and without quotes with no success.

> The local system account has NTFS rights to access and execute

> all the needed resources.

>

> Anyone has an advice?

>

> Thank you,

>

> /Mario Biassoni

>

>

Similar Topics