-
Traceroute IPs and if the last hoop ip address belongs to Kazakhstan approve it as IP with internet.
-
Send information into telegram if ip connection error occurrence.
-
Provide Prometheus metrics for visualization data in grafana with predefined json models.
- GoLang
- GeoLite MaxMind - DB
- Traceroute
- memdb
- Telegram BOT
Telegram BOT in Action in our channel: https://t.me/kaznet_status
./build.sh # sudo required for run binary
- Edit env in docker-compose.yml
TZ: Asia/Almaty
TELEGRAM_BOT_TOKEN: your-bot-token
TELEGRAM_BOT_CHAT_ID: your-chat-id
- Build and run
docker-compose -f docker-compose.yml build
docker-compose -f docker-compose.yml up -d
- Edit env in k8s/production/deployment.yml
- name: TELEGRAM_BOT_CHAT_ID
value: "your-chat-id"
- name: TELEGRAM_BOT_TOKEN
value: your-bot-token
- name: TZ
value: Asia/Almaty
- Create service account in your k8s cluster
cd k8s/production
./service-account-for-cd.sh
- Deploy manifests
kubectl apply -f deployment.yaml