Skip to content

pplcallmesatz/AI1-HTTP-Monitoring

Repository files navigation

Uptime Monitoring Tool

A Laravel-based web application for monitoring website uptime and sending webhook notifications.

Author

Sathish Kumar M

  • LinkedIn: pplcallmesatz
  • Role: Design Team Lead
  • Location: Karur, India

Prerequisites

  • PHP >= 8.1
  • Composer
  • Node.js & NPM
  • MySQL/MariaDB

Installation

  1. Clone the repositorybash git clone https://github.com/yourusername/uptime-monitoring-tool.git cd uptime-monitoring-tool

  2. Install PHP dependencies

composer install
  1. Install NPM packages
npm install
  1. Environment Setup
# Copy the example env file
cp .env.example .env

# Generate application key
php artisan key:generate
  1. Configure Database Update your .env file with your database credentials:
DB_HOST=127.0.0.1
DB_DATABASE=monitoring_tool
DB_USERNAME=root
DB_PASSWORD=
  1. Run Migrations
php artisan migrate

Running the Application

  1. Start the Development Server
php artisan serve --port=4000
  1. Compile Assets
npm run dev
  1. Start the Scheduler (in a separate terminal)
php artisan schedule:work

Your application will be available at: http://127.0.0.1:4000

Features

  • Website uptime monitoring
  • Configurable check intervals
  • Webhook notifications for downtime
  • Response time tracking
  • Status code monitoring
  • Detailed logging system

Configuration

Site Monitoring Settings

  • Check Interval: Set how often to check each site (in minutes)
  • Cooling Time: Set delay between webhook notifications (in seconds)
  • Webhook URL: URL to receive downtime notifications
  • Retry Count: Number of retries before marking site as down

Logging

  • Enable/disable logging per site
  • Configure logs retention period
  • Set logs per page for pagination

Troubleshooting

If you encounter any issues:

  1. Check Laravel logs:
tail -f storage/logs/laravel.log
  1. Verify database connectivity:
php artisan db:monitor
  1. Clear application cache:
php artisan config:clear
php artisan cache:clear

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

Track and log HTTP requests in real-time. Inspect headers, payloads, and response codes through a clean, developer-friendly interface. Fully AI-built and open-source.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages