DEVELOPER PLATFORM

Krapto Watchdog Notifier v2.1.4 • ACTIVE

A sophisticated infrastructure monitoring and automated notification system built with FastAPI, Google Gemini AI, and PostgreSQL. Real-time server monitoring with predictive failure analysis and intelligent email automation.

Version: February 2026
10 Servers Monitored
AI-Powered Responses

24/7 Monitoring

Continuous infrastructure surveillance

AI Predictions

Failure prediction before incidents

Smart Notifications

Context-aware automated emails

Performance Analytics

Real-time metrics & reporting

What We Built

A complete infrastructure intelligence system:

This isn't just monitoring - it's intelligent infrastructure management.

Technology Stack

Backend

  • • FastAPI + Python 3.13
  • • PostgreSQL Database
  • • AsyncIO + APScheduler
  • • SQLAlchemy ORM

AI & Services

  • • Google Gemini Pro
  • • IMAP/SMTP Email
  • • Custom Scheduler
  • • Render Deployment

Code Quality: Type hints, async/await patterns, proper error handling, comprehensive logging, environment-based configuration.

How It Works

1. Continuous Monitoring

Every 5 minutes, system checks all infrastructure components for health metrics.

2. AI Analysis

Gemini AI processes metrics, identifies patterns, predicts potential failures.

3. Smart Notifications

Based on analysis, sends appropriate emails (daily reports, alerts, warnings).

4. Database Logging

All interactions logged in PostgreSQL for analytics and improvement.

Detailed Monitoring Specifications

Server Monitoring

  • • 10 Node.js API servers
  • • Load balancer status
  • • Response time tracking
  • • Uptime calculation

Resource Tracking

  • • CPU utilization (%)
  • • Memory consumption
  • • Disk I/O operations
  • • Network bandwidth

Alert Thresholds

  • • CPU: 80% (Warning)
  • • Memory: 85% (Alert)
  • • Disk: 90% (Critical)
  • • Response: 1000ms

Predictive Failure Analysis

The system doesn't just monitor - it predicts. By analyzing historical patterns and current trends, it can forecast potential failures 2-6 hours in advance, allowing proactive intervention before users are affected.

System Rules & Specifications

Monitors infrastructure every 5 minutes (configurable)
Sends daily health report at 9:00 AM local time
Immediate alerts for critical failures
Warning emails for resource thresholds (CPU > 80%, Memory > 85%)
Maintains conversation history for email threads
Skips auto-replies to newsletters and promotions
Logs all interactions to PostgreSQL database
Automatic retry on temporary failures
Multi-language AI response capability
Zero-configuration deployment on Render

Developer Information & Links

Built and maintained by Aryan Barde. This project represents a practical implementation of modern DevOps practices, AI integration, and automated infrastructure management.

Project Metadata

Repository
github.com/aryanbarde80/email-bot-gemini-krapto
Deployment
Render.com (Free Tier)
Database
PostgreSQL on Render

Available API Endpoints

GET / - This information page (HTML)
https://notifier.watchdog.kraptotechnologies.com
GET /health - System health status
Returns database status, scheduler status, email handler stats
GET /status - Detailed system status
Bot configuration, monitoring details, last check timestamp
POST /api/test-reply - Test AI email generation
Test Gemini AI response without sending actual email
GET /docs - Interactive API documentation (Swagger UI)
Complete API documentation with testing interface