Imperva Cyber Community

communities_1.jpg
 View Only
  • 1.  linux and windows agent restart script

    Posted 11-25-2024 02:33

    Hello everybody

    Hello everyone,

    Is there a script to restart the Linux and Windows agent? I want this script to be able to restart the agent directly without entering the ./racli interface. Can you help me with this?

    best regards

    Mehmet


    #ImpervaAgent

    ------------------------------
    Mehmet Akif AKSOY
    Data Security Consultant
    Secure Future
    Istanbul
    ------------------------------


  • 2.  RE: linux and windows agent restart script

    Posted 21 hours ago

    You can use API -> link

    or write your own script: 

    Stop Agent / Start Agent

    To start the non-Windows SecureSphere Agent:

    • Execute either of the following commands:

      <remote agent directory>/ragent/bin/rainit start (or stop)

      <remote agent directory>/ragent/bin/cli actions start

      By default, remote agent directory is /opt/imperva/.

    To start the Windows SecureSphere Agent:

    • Execute the following command:

      "<remote agent directory>\RemoteAgent\RemoteAgentCli.exe" actions start

      By default, remote agent directory is C:\Program Files (x86)\Imperva\.



    ------------------------------
    Karol Gruszczynski
    IT Security Expert
    Trafford IT Sp. z o.o.
    Warszawa
    ------------------------------