script to restart daemon for alert

Homepage Clovertech Forums Cloverleaf script to restart daemon for alert

  • Creator
    Topic
  • #120745
    petitPadawan
    Participant

    Hello,
    sometime,
    cloverleaf alerts not working,
    so I have to manually restart the daemon,
    is it possible to have a script that launches a restart of the daemons on all environments.
    Thank you for your help.

Viewing 2 reply threads
  • Author
    Replies
    • #120746
      James Cobane
      Participant

      You can script a re-start of the monitor daemon with the following command:

      hcisitectl -r m -d 10 -A “m=-cl default.alrt”

      where -r specifies restart and the ‘m’ specifies the monitor daemon

      where the -d 10 is the ‘delay’ and 10 is 10 seconds

      -A is the alert file to use.  I believe if you omit the -A parameter it will used the default.alrt file by default.

      You would need to run this for each site (i.e. setsite xxxx before running the command)

      Hope this helps.

      Jim Cobane – Henry Ford Health

      • This reply was modified 1 year, 1 month ago by James Cobane.
      • This reply was modified 1 year, 1 month ago by James Cobane.
    • #120749
      petitPadawan
      Participant

      thank you very much, it works,
      can you translate this command line for me:

      call hcisitectl -s m -A “m=-cl vierge.alrt”

      call hcisitectl –k m

      call hcisitectl -s m

    • #120750
      Robert Kersemakers
      Participant

      First line starts monitor daemon with file ‘vierge.alrt’.
      Second line stops/kills monitor daemon.
      Third line starts monitor daemon. No file indicated, so ‘default.alrt’ is used.

      Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

Viewing 2 reply threads
  • You must be logged in to reply to this topic.

Forum Statistics

Registered Users
5,129
Forums
28
Topics
9,301
Replies
34,447
Topic Tags
288
Empty Topic Tags
10