Skip to content

Releases: Anyel-ec/SecurityMonitoring

Tag: v0.4.0 (Full Installation and Configuration Completed to PostgreSQL)

08 Nov 17:56
Compare
Choose a tag to compare

Release v0.4 Aplha

Tag: v0.4 (Full Installation and Configuration Completed to Postgres)

Current Status:

This release marks the full completion of the installation and configuration process for Grafana, Prometheus, their exporters, and the PostgreSQL datasource and dashboards. The following features have been successfully implemented:

Complete Service Installation:

  • Grafana: Full configuration and installation.
  • Prometheus: Complete setup and integration.
  • Exporters: Properly configured exporters for:
    • PostgreSQL
    • MongoDB
    • MariaDB

Credential and Configuration Management:

  • The system allows users to manage and store credentials securely in the database for:
    • PostgreSQL (including connection testing capability)
    • MariaDB
    • MongoDB
  • User installation data, including credentials, ports, and services, is stored accurately in the database.

Functional Interface:

  • A comprehensive wizard has been implemented to guide users through the entire installation process.
  • User configuration and service installation are correctly saved.

Enhanced Features:

  • Grafana Datasource Configuration: Automatic setup of the Prometheus datasource in Grafana.
  • Dashboard Creation: Automatic creation and configuration of PostgreSQL dashboards in Grafana.
  • PostgreSQL Dashboard Access: Users can input PostgreSQL credentials and immediately access a fully functional dashboard displaying key metrics such as:
    • General Counters, CPU, Memory, and File Descriptor Stats
    • Active Sessions
    • Transaction Statistics
    • Cache Hit Rate
    • Fetch and Return Data Metrics
    • Open File Descriptors
    • Lock Tables and Deadlocks

Example Dashboard Metrics:

  • CPU Usage: Displays average CPU usage with metrics including mean, last usage, max, and min.
  • Memory Usage: Details of resident and virtual memory consumption.
  • Database Statistics: Insights on active sessions, transactions, and data operations (inserts, updates, fetches).
  • Cache Hit Rate: Shows cache efficiency for various databases.
  • Conflicts and Deadlocks: Monitors database locks and deadlocks.

Improvements:

  • Enhanced form validation and error handling in the user interface.
  • Streamlined access and management of database connections.
  • Ensured the correct deployment of all services in the production environment.

Notes:

  • The system is now fully prepared for production use.
  • The integration between Grafana, Prometheus, and the configured exporters has been tested and works seamlessly.
  • Users can confidently input PostgreSQL credentials and view detailed performance and usage metrics directly in Grafana dashboards.

Pending and Future Enhancements:

  • Configuration of dashboards for MariaDB and MongoDB, and dashboards tailored for specific databases.
  • Continued UI/UX improvements for better user experience.
  • Expansion of dashboard templates for more comprehensive monitoring solutions.

Result

Manager Database Credential

image

Grafana

image
image

Metrics Prometheus

image

This version solidifies the base functionality and sets the stage for further feature expansions and optimizations in future releases.

Tag: v0.2.0-aplha (Initial Setup Completed)

11 Oct 16:37
Compare
Choose a tag to compare

Tag: v1.0-beta (Initial Setup Completed)

Current Status:
This tag marks the completion of the initial setup and configuration of Grafana, Prometheus, and their exporters, as well as the database credentials for PostgreSQL. The system now allows users to perform the following:

  • Complete service installation:

    • Configuration and installation of Grafana.
    • Configuration and installation of Prometheus.
    • Configuration of exporters for Prometheus:
      • Exporter for PostgreSQL.
      • Exporter for MongoDB.
      • Exporter for MariaDB.
  • Credential and configuration management:

    • The user can manage credentials for:
      • PostgreSQL (includes connection test).
      • MariaDB.
      • MongoDB.
    • Installation data (user credentials, ports, services) are correctly stored in the database.
  • Functional interface:

    • A wizard has been implemented to guide the user through the installation process.
    • User configuration and service installation are saved correctly.

Project Status:

  • It is now possible to install and configure Grafana, Prometheus, and their exporters.
  • The credential management for databases is functional and stored in the database.
  • PostgreSQL connection tests can be run from the user interface.

Pending Implementation:

  1. Grafana configuration:

    • Automatic creation of dashboards and the Prometheus datasource in Grafana is still pending.
  2. Improvement of the connections interface:

    • The view for connections and database credentials needs to be reorganized to improve the user experience.
  3. Other Improvements:

    • Ensure all services are deployed correctly in the production environment.
    • Improve form validation and error handling in the graphical interface.

Notes:

  • The system is ready for initial installation and testing.
  • Integration between the mentioned services has been tested and is working correctly, except for the automatic creation of dashboards in Grafana.