Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5053

DUCC ducc_watcher optional admin script to determine status and send notifications

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-Ducc
    • Component/s: DUCC
    • Labels:
      None

      Description

      Justification: to complement the WS system daemons page, it would be useful for DUCC administrators to receive email notifications when significant status changes occur, such as head node daemon(s) down.

        Activity

        Hide
        lou.degenaro Lou DeGenaro added a comment -

        code is delivered.

        Show
        lou.degenaro Lou DeGenaro added a comment - code is delivered.
        Hide
        lou.degenaro Lou DeGenaro added a comment -
        • create python script tools/ducc_status to report on daemons status
        Show
        lou.degenaro Lou DeGenaro added a comment - create python script tools/ducc_status to report on daemons status
        Hide
        lou.degenaro Lou DeGenaro added a comment -
        • add subject line to e-mail notifications sent by ducc_watcher
        Show
        lou.degenaro Lou DeGenaro added a comment - add subject line to e-mail notifications sent by ducc_watcher
        Hide
        lou.degenaro Lou DeGenaro added a comment -
        • report down whenever something is newly down, but report should contains all down things
        • only report up when all things are up
        • honor --agents flag to determine if agents participate in the reporting decision
        Show
        lou.degenaro Lou DeGenaro added a comment - report down whenever something is newly down, but report should contains all down things only report up when all things are up honor --agents flag to determine if agents participate in the reporting decision
        Hide
        lou.degenaro Lou DeGenaro added a comment -
        • add --agent flag to indicate that the agents as well as the head node daemons should be considered
        Show
        lou.degenaro Lou DeGenaro added a comment - add --agent flag to indicate that the agents as well as the head node daemons should be considered
        Hide
        lou.degenaro Lou DeGenaro added a comment -
        • remove --log-file and --state-file options
        • employ <target> to formulate ducc_watcher.<target>.log and ducc_watcher.<target>.state unique names
        Show
        lou.degenaro Lou DeGenaro added a comment - remove --log-file and --state-file options employ <target> to formulate ducc_watcher.<target>.log and ducc_watcher.<target>.state unique names
        Hide
        lou.degenaro Lou DeGenaro added a comment -

        ./ducc_watcher --help
        Usage: ducc_watcher [options]

        Options:
        -h, --help show this help message and exit
        -d, --debug display debugging messages
        -e EMAIL_LIST, --email-list=EMAIL_LIST blank separated list of email
        addresses to receive down + error
        notifications
        -l LOG_FILE, --log-file=LOG_FILE name of watcher log file, default is
        ducc_watcher.log
        -p PATH, --path=PATH path to directory where log and
        state information are written,
        default is /tmp/<userid>
        -s STATE_FILE, --state-file=STATE_FILE name of watcher state file, default
        is ducc_watcher.state
        -t TARGET, --target=TARGET [REQUIRED] <host> with default port
        of 42133 or <host>:<port>

        Show
        lou.degenaro Lou DeGenaro added a comment - ./ducc_watcher --help Usage: ducc_watcher [options] Options: -h, --help show this help message and exit -d, --debug display debugging messages -e EMAIL_LIST, --email-list=EMAIL_LIST blank separated list of email addresses to receive down + error notifications -l LOG_FILE, --log-file=LOG_FILE name of watcher log file, default is ducc_watcher.log -p PATH, --path=PATH path to directory where log and state information are written, default is /tmp/<userid> -s STATE_FILE, --state-file=STATE_FILE name of watcher state file, default is ducc_watcher.state -t TARGET, --target=TARGET [REQUIRED] <host> with default port of 42133 or <host>:<port>
        Hide
        lou.degenaro Lou DeGenaro added a comment -

        ducc_watcher should accept parameters that override the following:

        1. e-mail userid list
        2. web-server URL
        3. state file location
        4. logging file location

        Show
        lou.degenaro Lou DeGenaro added a comment - ducc_watcher should accept parameters that override the following: 1. e-mail userid list 2. web-server URL 3. state file location 4. logging file location

          People

          • Assignee:
            lou.degenaro Lou DeGenaro
            Reporter:
            lou.degenaro Lou DeGenaro
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development