Running a shell script in an alert

Clovertech Forums Cloverleaf Running a shell script in an alert

  • Creator
    Topic
  • #121151
    Carl Tosi
    Participant

      Currently, I have an alert set to ‘exec’ action. I have  it pointing to a  shell proc, /opt/cloverleaf/cis20.1/integrator/uimcpmsc/scripts/Phil_Dev_alrt_bounce.sh), to bounce the thread when it exceeds max threhold.

       

      Can I just place the commands in the textbox instead :

      hcicmd -p dvcedtahl7PROD -c ‘f_PHLPS_dvce pstop’
      sleep 30
      hcicmd -p dvcedtahl7PROD -c ‘f_PHLPS_dvce pstart’
      Phil_Dev_alrt_bounce.sh (END)

       

      TIA,
      Carl Tosi

    • You must be logged in to reply to this topic.