Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[supervisord] Monitoring the critical processes with supervisord. #6242

Merged
merged 21 commits into from
Jan 21, 2021
Merged

[supervisord] Monitoring the critical processes with supervisord. #6242

merged 21 commits into from
Jan 21, 2021

Commits on Dec 17, 2020

  1. [supervisord] Monitoring the critical processes with supervisord instead

    of Monit.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    abb9c3e View commit details
    Browse the repository at this point in the history
  2. [Supervisord] Delete an unuseful variable.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    f42f034 View commit details
    Browse the repository at this point in the history
  3. [Supervisord] Delete an extra empty line.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    97101bb View commit details
    Browse the repository at this point in the history
  4. [supervisord] Use python3 instead of python.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    83e7545 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. [supervisord] Delete extra space and period.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    e8823ac View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2021

  1. [Supervisord] Use non-blocking method 'select(...)' instead of

    'readline()'.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    c7fc86f View commit details
    Browse the repository at this point in the history
  2. [Supervisord] Fix the existing typo.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    8b42bb2 View commit details
    Browse the repository at this point in the history
  3. [Supervisord] Use python3.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    e999c62 View commit details
    Browse the repository at this point in the history
  4. [Supervisord] Combine the excepts together.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    d51dfd6 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2021

  1. [Supervisord] Remove trailing space and fix the alignment.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    52ae7f2 View commit details
    Browse the repository at this point in the history
  2. [Supervisord] Change the variable name.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    88257dd View commit details
    Browse the repository at this point in the history
  3. [Supervisord] Reorganize the logic to process the event and log the

    alerts.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    7483821 View commit details
    Browse the repository at this point in the history
  4. [Supervisord] Reorganize the comments.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    fb0c79c View commit details
    Browse the repository at this point in the history
  5. [Supervisord] Fix the comment about the status transition.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    630d60f View commit details
    Browse the repository at this point in the history
  6. [Supervisord] Use a flag to indicate whether the event listener should

    be set to "READY" state.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    1f9bb83 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2021

  1. [Supervisord]

    1. Change the variable names such as 'restart_feature' --->
    'is_atuo_restart'.
    
    2. Change the function name 'process_running(...)' --->
    'is_process_running(...)'.
    
    3. The status of event listener will be changed from `ACKNOWLEDGED` to
    `READY` immediately after its status was change from `BUSY` to
    `ACKNOWLEDGED`. Do not use a flag to inciate whether the status of event
    listener was changed or not.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    24c0278 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2021

  1. [Supervisord] If the status of a process was changed from "EXITED" to

    "RUNNING", the event listener will receive "PROCESS_STATE_RUNNING" event
    and not alert anymore.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    ba7f5ab View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2021

  1. Merge branch 'master' into monitoring_critical_processes

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    23358dd View commit details
    Browse the repository at this point in the history
  2. [Supervisord] Remove the outlier parenthesis at line 136.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    9bbb629 View commit details
    Browse the repository at this point in the history
  3. [Supervisord] Add the event "PROCESS_STATE_RUNNING" in Superviord

    configuration files and fix if...elif... in event listener.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    f54bf9c View commit details
    Browse the repository at this point in the history
  4. [Supervisord] Add the "PROCESS_STATE_RUNNING" in dhcp-relay

    configuration file.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    3c4484a View commit details
    Browse the repository at this point in the history