i've done it before. but it did'nt work. i call that script with
arguments in the other
script. and i place 2 scripts in /active response/bin/ directory at
agent system. is there any extra work i did'nt do before to do this
wrapper thing.


On Feb 10, 6:18 pm, "dan (ddp)" <[email protected]> wrote:
> Write a script that calls that executable with the argument, a basic wrapper.
>
> On Thu, Feb 10, 2011 at 12:36 AM, tayebeh amiri <[email protected]> wrote:
>
> > On Wed, Feb 9, 2011 at 6:38 PM, dan (ddp) <[email protected]> wrote:
>
> >> What argument do you need to be passed?
> >> How does your AR script work?
>
> >> Without more details I don't think I can help.
>
> >> On Wed, Feb 9, 2011 at 2:31 AM, tayebeh amiri <[email protected]>
> >> wrote:
>
> >> > i test anothor way to pass arguments to script, i execute a script
> >> > without
> >> > argument,and in this script i call anothor script with arguments.but
> >> > unfortunatelly this is not working.:(
>
> > i explain more:i wana remove all usb drives with a script. i should pass
> > "/remove_all_connected " to execute this scrip in this wayt:
> > in command prompt i write "usb_eject.exe /remove_all_connected".this script
> > doesnt work without arguments.but i dont know how to add this command in
> > ossec.conf.
> > i hope my description will be clear enough.

Reply via email to