Ping Monitor Enterprise

Discussion in 'Scripting' started by mephistooo2, Mar 14, 2026.

  1. mephistooo2

    mephistooo2 MDL Member

    Feb 5, 2008
    159
    338
    10
    #1 mephistooo2, Mar 14, 2026
    Last edited: Mar 14, 2026
    [​IMG]

    Overview
    Ping Monitor Enterprise is an enterprise-grade network monitoring suite that tracks critical IP addresses, websites, and devices 24/7. Combining a modern PowerShell-based GUI with a robust Windows Service architecture, it provides both a user-friendly experience and system-level stability.

    ️ Key Features
    • Windows Service Integration: Continues to run in the background as a system service even if the GUI is closed.
    • Parallel Monitoring (TPL): Multi-target tracking is performed simultaneously (parallel) using the Task Parallel Library.
    • Smart Alerts (Anti-Spam): Prevents email fatigue with a 30-minute "Alert Cooldown" mechanism.
    • Recovery Notifications: Sends an instant green-themed "RECOVERY" email when a connection is restored.
    • Hardware-Level Security (DPAPI): SMTP passwords are encrypted using Windows DPAPI; they are never stored as plain text.
    • Pro Log Management: Features 1000-line dynamic log rotation and a built-in "Clear Log" button to prevent disk bloat.
    • Full Localization: Seamlessly switch between English and Turkish for all UI elements and email notifications. Support for different languages can be added by translating the INI files.
    ️ Setup & Usage
    1. Download: Extract all project files into a dedicated folder.
    2. Run Application: Right-click monitor.cmd and select "Run as Administrator".
    3. Configure Settings:
      • Enter Target IP/Domain addresses.
      • Set up your SMTP (Email) server settings.
      • Define the ping interval (seconds).
    4. Save: Click the "Save" button to encrypt and store your settings in config.ini.
    5. Install Service: Click "Install Service" to enable monitoring as a permanent Windows system service.
    Technical Stack
    • Languages: PowerShell + C# (ServiceBase & TPL Integration)
    • Encryption: Microsoft DPAPI (Data Protection API)
    • GUI: WinForms (Clean & Professional side-by-side design)
    • Requirements: .NET Framework 4.5 or higher
    • Operating System: Windows 10+
    Notification Logic & Operating Principle
    The application operates with the following logic for enterprise continuity and email efficiency:
    • Independent Tracking: Each target is processed in parallel and independently. One device failure does not affect others.
    • Failure Threshold (6 Attempts): To prevent false positives, a device is only considered "Down" and an email sent after 6 consecutive failed checks.
    • Target-Specific Emails: Each unreachable target triggers its own unique email alert with a specific subject ("Ping Alert: [Target]").
    • Anti-Spam (30 Minutes): If a device remains down, the system sends reminder emails every 30 minutes instead of every cycle.
    • Recovery: As soon as a device becomes reachable again, a green-themed recovery notification is sent instantly.
    Sample e-mail images:
    [​IMG]

    [​IMG]


    https://github.com/abdullah-erturk/Ping-Monitor