Jurnal Ilmu Komputer dan Sistem Informasi
Vol. 5 No. 3 (2026): September 2026

Monitoring Router Mikrotik CHR Secara Otomatis Menggunakan Telegram Bot Berbasis Python

Dea Anggraini (Universitas Negeri Medan)
Dedy Kiswanto (Universitas Negeri Medan)
Natasha Patricia Nainggolan (Universitas Negeri Medan)
Zevan Irfandi Surbakti (Universitas Negeri Medan)



Article Info

Publish Date
30 Sep 2026

Abstract

Manual router monitoring is inefficient because network administrators only learn about failures through user complaints rather than automatic system detection. This study aimed to build  an  automated  monitoring  system  for  Mikrotik  CHR  Router  using  a  Python-based Telegram Bot that can detect failures and send automated notifications through periodic monitoring. The system was developed using a prototyping approach and consists of six Python modules running in parallel via threading. Monitoring was performed using the ICMP protocol every 30 seconds, while device information retrieval was done via SSH using the Netmiko library. Testing was conducted through twelve test scenarios simulating router failure using the /disable_interface command through the Telegram bot. The system also includes two network automation features: auto restart interface, which automatically sends the /interface enable command to the router when a failure is detected, and auto backup configuration, which saves the router configuration to a local file each time the router recovers. Test results showed that the failure notification was sent an average of 51 seconds after the interface was disabled in three complete tests. The router was detected as recovered 35 to 44 seconds after the interface was enabled in most events, duplicate alerts were prevented, and 691 log lines were recorded automatically. The results indicate that the system has potential for use in laboratory or small-scale networks.

Copyrights © 2026






Journal Info

Abbrev

jirsi

Publisher

Subject

Computer Science & IT Library & Information Science

Description

Jurnal Ilmu Komputer dan Sistem Informasi (JIRSI) dikelola secara profesional oleh LKP UNITY Academy dalam membantu para akademisi, peneliti dan praktisi untuk menyebarkan hasil penelitiannya dalam panduan Kemendikbud Ristek Dikti. Jurnal Ilmu Komputer dan Sistem Informasi (JIRSI) Adalah sebuah ...