Logo

Source: GIthub

User Flow:

  • The user starts by running zerver.py with one of the following commands: start, stop, setup, or show.
  • If the user chooses setup, they're prompted to enter a host name, which is then stored in MongoDB.
  • If the user chooses start, the system runs as an admin and initiates various monitoring and logging processes.
  • The user then waits while the system continuously monitors and logs data.

Execution Environment and Use Case:

  • This system is designed to run on the server side, specifically on Windows servers running MySQL, Nginx, or both.
  • It's a comprehensive monitoring and logging solution for server administrators. The practical use case is to provide real-time monitoring, security analysis, and performance tracking for web servers and databases.

Dependencies and Functionality:

  • System uses several dependencies including pymongo, psutil, boto3, pandas, prophet, and others. It primarily focuses on:
    • Logging Nginx and MySQL activities - onto MongoDB
      • [format]: log_msg
    • Monitoring system resources (CPU, memory) & system Analysis
      • [using]: Wesng Windows assessment tool
    • Forecasting usage and costs
      • [how]: 1) stores access logs (2) Predict usage over next 100 days
    • Sending notifications for critical events
      • [using]: smtplib for threshold exceed/alert mailing
    • Store logs to AWS S3

© 2025 All rights reservedBuilt with DataHub Cloud

Built with LogoDataHub Cloud