knockNOC is a network monitoring application that pings endpoints (IP addresses or URLs) at regular intervals to check their availability. It tracks the response time and status of each endpoint and provides a web interface to view the monitoring results.
- Ping IP addresses and URLs to check their availability
- Track response time and status of each endpoint
- Web interface to view monitoring results
- Alerting via PagerDuty, OpsGenie, Slack, Telegram, and Discord
- Configuration through YAML file
To install and run KnockNOC locally, follow these steps:
Prereq:
- Install Python
- Install Pip
-
Clone the repository:
git clone https://github.com/n-erickson/knocknoc.git cd knocknoc
-
(optional)Create a virtual environment:
python3 -m venv venv source venv/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
-
Configure the application:
Open the config.yaml file and customize the configuration according to your needs. Add the endpoints you want to monitor and configure alerting options if desired.
-
Run the application
python app.py
-
The application will start running on http://localhost:5000.