20.19 Analysis of Alarm System Requirements

Requirement analysis of alarm system

  • Requirements: Use shell to customize various personalized alarm tools, but need unified management and standardized management.
  • Ideas: Specify a script package, including the main program, subprograms, configuration files, mail engine, output log, etc.
  • Main program: As the entrance of the whole script, it is the lifeblood of the whole system.
  • Configuration file: It is a control center, which is used to switch each subprogram and specify each associated log file.
  • Subroutine: This is the real monitoring script, which is used to monitor various indicators.
  • Mail engine: It is implemented by a python program, which can define the server that sends the mail, the sender and the sender password
  • Output log: The entire monitoring system must have log output.
  • Requirements: Our machines have various roles, but the same monitoring system must be deployed on all machines, which means that no matter what the role of all machines, the entire program framework is the same. The difference is that different customizations are made according to different roles. configuration file.
  • Program Architecture:   

Enter image description

  • Under bin is the main program
  • conf is the configuration file
  • Under shares are the various monitoring scripts
  • Mail is under the mail engine log is the log.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325344075&siteId=291194637