1 Reply Latest reply on Dec 30, 2016 3:33 AM by merouane agar

    PatrolCli is not accepting encrypted password

    Pradeep Nagar
      Share This:

      Hello Gurus,

       

      Couple of queries on PatrolCli, appreciate if someone can help me -

      1 - I am trying to connect a remote host via PatrolCli utility but is it not accepting encrypted password (defaultPassword encrypted string).

      It is working fine with plain text password

       

      2- How to pass argument to execpsl in PatrolCli utility

       

      Thanks in advance !

        • 1. Re: PatrolCli is not accepting encrypted password
          merouane agar

          Hi

           

           

           

          method 1>

          PatrolCli "user <user> <password>" "connect <host> <port> TCP "  ' execpsl  get("/patrolVersion")'

           

           

          method 2>

          edit script.psl

          ######################

          r = " ";

          r = get("/patrolVersion");

          r = get("/rtServers");

          set ("/result",r) ;

          ######################

           

          and run in linux

          PatrolCli "user <user> <password>" "connect <host> <port> TCP " "execpsl -f  /tmp/script.psl " "getvar /result"

           

          Or run in Windows

          PatrolCli "user <user> <password>" "connect <host> <port> TCP " "execpsl -f  c:\\temp\\script.psl " "getvar /result"

           

           

           

          Regards

          Merouane

          1 of 1 people found this helpful