{"id":25705274,"url":"https://github.com/classyid/f2b-alert","last_synced_at":"2025-09-04T19:26:56.198Z","repository":{"id":262388269,"uuid":"887070238","full_name":"classyid/f2b-alert","owner":"classyid","description":"🛡️ Monitor Fail2ban real-time dengan notifikasi Telegram. Lindungi server Anda dengan pelaporan otomatis tentang IP yang diblokir, analisis geografis, dan statistik keamanan. Dibuat dengan ❤️ untuk admin sistem Indonesia.","archived":false,"fork":false,"pushed_at":"2024-11-18T16:22:37.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T06:41:44.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/classyid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-12T05:37:41.000Z","updated_at":"2024-11-18T16:22:40.000Z","dependencies_parsed_at":"2024-11-12T07:18:45.373Z","dependency_job_id":"131e1859-ee6f-4e8a-8d0a-0a98937d68a4","html_url":"https://github.com/classyid/f2b-alert","commit_stats":null,"previous_names":["classyid/f2b-alert"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/classyid/f2b-alert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/classyid%2Ff2b-alert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/classyid%2Ff2b-alert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/classyid%2Ff2b-alert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/classyid%2Ff2b-alert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/classyid","download_url":"https://codeload.github.com/classyid/f2b-alert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/classyid%2Ff2b-alert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273659977,"owners_count":25145601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-25T06:39:43.532Z","updated_at":"2025-09-04T19:26:56.146Z","avatar_url":"https://github.com/classyid.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛡️ F2B-Alert: Fail2ban Telegram Monitor\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Bash](https://img.shields.io/badge/Made%20with-Bash-1f425f.svg)](https://www.gnu.org/software/bash/)\n\n\u003e Monitor keamanan server Anda dengan notifikasi real-time melalui Telegram!\n\n## 📋 Fitur Utama\n- 🔔 Notifikasi real-time via Telegram\n- 🌍 Analisis geografis IP yang diblokir\n- 📊 Statistik dan ringkasan keamanan\n- 🖥️ Informasi sistem yang lengkap\n- 📝 Logging untuk monitoring\n- ⚡ Ringan dan mudah dikonfigurasi\n\n## 🚀 Instalasi\n\n### Prasyarat\n```bash\n# Install dependencies yang diperlukan\nsudo dnf install whois curl\n```\n\n### Langkah Instalasi\n1. Clone repository\n```bash\ngit clone https://github.com/classyid/f2b-alert.git\ncd f2b-alert\n```\n\n2. Buat script executable\n```bash\nchmod +x f2bstat.sh\n```\n\n3. Jalankan script untuk membuat struktur konfigurasi\n```bash\nsudo ./f2bstat.sh\n```\n\n4. Edit file konfigurasi\n```bash\nsudo nano /etc/f2bstat/config.conf\n```\n\n5. Masukkan Bot Token dan Chat ID Telegram Anda\n```bash\nBOT_TOKEN=\"YOUR_BOT_TOKEN\"\nCHAT_ID=\"YOUR_CHAT_ID\"\n```\n\n## ⚙️ Konfigurasi Cron\nUntuk menjalankan monitoring setiap hari pukul 23:55:\n```bash\nsudo crontab -e\n# Tambahkan baris berikut\n55 23 * * * /path/to/f2bstat.sh 2\u003e\u00261 | /usr/bin/logger -t f2bstat\n```\n\n## 📱 Format Notifikasi\n### Informasi yang Ditampilkan:\n- Hostname dan OS\n- Kernel dan Uptime\n- IP sistem\n- Daftar IP yang diblokir\n- Analisis geografis\n- Statistik pemblokiran\n\n## 🔍 Monitoring\nCek status script melalui log:\n```bash\ngrep f2bstat /var/log/syslog\n# atau\ncat /var/log/f2bstat.log\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclassyid%2Ff2b-alert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclassyid%2Ff2b-alert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclassyid%2Ff2b-alert/lists"}