0% found this document useful (0 votes)
64 views

Mobile-basedNetworkMonitoringSystemUsingzabbix Compressed

Uploaded by

Aashish Meena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views

Mobile-basedNetworkMonitoringSystemUsingzabbix Compressed

Uploaded by

Aashish Meena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/347368990

Mobile-based Network Monitoring System Using Zabbix and Telegram

Conference Paper · September 2020


DOI: 10.1109/IC2IE50715.2020.9274582

CITATIONS READS

4 1,118

3 authors, including:

Anggi Mardiyono Walidatush Sholihah


Politeknik Negeri Jakarta Bogor Agricultural University
3 PUBLICATIONS   8 CITATIONS    18 PUBLICATIONS   16 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Hardware View project

Multimedia View project

All content following this page was uploaded by Walidatush Sholihah on 02 March 2022.

The user has requested enhancement of the downloaded file.


2020 3rd International Conference on Computer and Informatics Engineering (IC2IE)

Mobile-based Network Monitoring System Using


Zabbix and Telegram
Anggi Mardiyono Walidatush Sholihah, Faisal Hakim
Department of Computer and Informatics Engineering, Computer Engineering, Vocational School
Jakarta State Polytechnic IPB University
Depok, Indonesia Bogor, Indonesia
[email protected] [email protected], [email protected]

Abstract— Network monitoring system is a system that urgent messages, but the use of Telegram has gradually
works to observe and monitor the situation on a running disappeared since the advent of cellular telephone technology.
computer network. Network monitoring is very important to But now Telegram reappears with its working mechanism
keep the network running well and to know the current almost similar to Whatsapp [6]. The development of a network
condition of the network. Generally, network monitoring monitoring system using Zabbix will utilize the Telegram
requires the administrator to stay and to keep an eye in front of notification feature as an application that is often used in the
the monitor screen to find out any problems that occur. The general public. With this notification, the administrator or
administrator or the operator also need network notification network operator does not need to open the network monitor
problem in real time. This makes the network supervision
application at any time, because if there is an interruption in
process very dependent on time and place. This research
develops a system for helping administrator or network
the network, Zabbix will automatically send the notification
operator to monitor the network using mobile phone at any time to Telegram so that the technicians can find out without
and any place. This monitoring process in this paper using opening the network monitoring application. Zabbix used to
Zabbix. In monitoring the computer network is also needed a monitor remote nodes in the ALICE DAQ Laboratory by
notification. The notification of the problem in the network will using SNMP-based agents [7]. SNMP is an application
be sent using Telegram Messenger. This research was protocol that is capable of carrying out the task of monitoring
conducted in Indonesian Internet Service Provider Association network conditions [8]. SNMP will simplify the process of
(APJII). The method used in this research is Network monitoring and network management because using SNMP
Development Life Cycle (NDLC). can find out information about the condition of the network
device being observed [9]. Zabbix is an application for
Keywords— Mobile, NMS, Zabbix, Telegram, NDLC
monitoring the availability and performance of open source
I. INTRODUCTION computer code. Zabbix can produce graphical statistics,
network maps, screen monitoring and notifications when a
The Indonesian Internet Service Providers Association device has a problem. Zabbix can be installed or configured
(APJII) is a company engaged in internet services. APJII was on Linux, Zabbix is entered by default on the linux repository,
led by Jamalul Izza since 2015 until now. The Indonesian users just need to install. Zabbix has 3 components, Zabbix
Internet Service Providers Association, located in Jakarta, has server, Zabbix agent, and Zabbix web interface [10]. Zabbix
many network devices that are used to connect between ISPs. can be used for logging and monitoring in accordance with
NMS (Network Monitoring System) is needed to detect early domain operation security logging and monitoring which is in
problems that occur on the computer network. ISO / IEC 27002: 2013 [11]. One of the operating systems that
Network Monitoring System is a system that has the can run zabbix is Proxmox. Proxmox is an open source
function to observe and monitor the computer network that is operating system developed by proxmox server Solutions
running and allows it to detect early if an error occurs on the GmbH in Germany. Proxmox has an open source
network. In general, network monitoring requires the virtualization platform for running appliance and virtual
administrator to continue to be in front of the screen in order machines. Proxmox is a Debian-based Linux virtualization
to know any changes that occur, this is less efficient. To distribution (64 bit) [12].
overcome these problems so that network monitoring can be
done in real time using the Zabbix application [1]. Zabbix is II. METHOD
one of the most popular open source monitoring solutions. The method used in this paper using NDLC (Network
Besides Zabbix, there are Nagios, Zabbix, Pandora FMS, Development Life Cycle). NDLC consist of Analysis, Design,
Cenoss Core and Cacti [2]. Zabbix also use in automatic Simulating and Prototyping, Implementation, Monitoring, and
management solution in cloud [3]. Management [13]. The illustration of the method can be seen
in Fig. 1.
Zabbix is designed to monitor and track the status of
various network services, servers, and other network hardware A. Analysis
[4]. It is an application for monitoring computer network The analysis phase is the observation phase of the
availability and performance. Compare to other monitoring problem. This stage is divided into two, namely problem
tools, Zabbix quite reliable to produce high performance analysis and needs analysis. This problem analysis is the stage
analysis [5]. Zabbix can produce graphic statistics, network of identifying problems. The faced problem is inefficiency in
maps, screen monitoring and notifications when the device is monitoring the network, if the network technicians must
experiencing problems. Zabbix has features that can send always open or view the network monitoring application so
notifications when there are problems via e-mail, sms or other that monitoring the network is not optimal and not real time.
media such as Telegram. Telegrams are known as a fast Requirement analysis is the stage of identifying the required
telecommunication tool that is very important to deliver

978-1-7281-8247-6/20/$31.00 ©2020 IEEE 473


2020 3rd International Conference on Computer and Informatics Engineering (IC2IE)

device. In this analysis, it will produce software and hardware


requirements. The software needed consists of the Windows
10 Operating System, the Proxmox Operating System that will
be installed on the server device, Telegram, Google chrome,
and Microsoft Office Visio Drawing. The hardware required
consists of Unshielded Twisted Pair (UTP) Mikrotik Router,
and laptop / PC and Server.

Fig. 2. Network Topology Design

Fig. 1 Network Development Life Cycle [14]

B. Design
The design stage is the stage of making a solution design
of the existing problems. The results of the design stage are
network topology. This topology was designed from the
results of discussions with the network administrator.
C. Simulation and Prototyping
Before the real implementation the simulation process and
prototyping was done by using virtualization apps such as
Virtual Box and design the network first using GNS3. Fig. 3. Input Form
Networking virtualizers, like GNS3, are mostly user-friendly
and allow users to configure a network device in a virtual In Fig. 2, Zabbix server configured in client with IP
machine running the same operating system as the real 192.168.1.168. The router connected to the internet. Host
network device [15]. must be added into Zabbix server in Fig. 3.
D. Implementation Fig. 3 shows the input form page for adding hosts that will
The implementation phase is the application of the design be monitored by Zabbix. Administrators are asked to enter the
that has been made. This stage implements the monitoring host name, visible name, name group, and IP address and
configuration using Zabbix with Telegram Notification. choose the protocol used for the monitor. “Fig. 4” shows that
Before Zabbix can send problems via Telegram, Zabbix must the network was successfully monitored by Zabbix, it can be
be configured first. Zabbix requires a configuration script seen that network activity occurred on eth1 on April 16, 2018
written in Python to send messages to telegrams. at 11:12 to 11:16. Traffic that occurs at this time indicates that
many hosts are accessing the server which results in graphs
E. Monitoring being fluctuated. Graphs that experience fluctuations depend
The monitoring phase was done by monitoring the on the number of hosts accessing the network.
network through zabbix and testing it on conditions when the
server is disconnected by connection. If there are problem
with the connection, the Zabbix Server will sent the message
via Telegram Messenger Applications.
F. Management
The management phase is the phase to manage the new
system so that it can continue to run well.
III. RESULT
The topology design used in this system can be seen in Fig.
2. Fig. 4. Traffic eth1

The zbxtg.py and zbxtg_settings.py files are the scripts


used to send notifications from Zabbix to Telegram using

474
2020 3rd International Conference on Computer and Informatics Engineering (IC2IE)

Python programming languages. The file is downloaded and # -*- coding: utf-8 -*-
saved on usr / lib / zabbix / alertscript. Access rights are set in
755 which is only the admin who can write, change, and tg_key = "XYZ" # telegram bot api key
execute the file. The configuration can be seen as follows. zbx_tg_prefix = "zbxtg" # variable for
# chmod 755 /usr/lib/zabbix/alertscript/zbxtg.py separating text from script info
# chmod 755 zbx_tg_tmp_dir = "/tmp/" + zbx_tg_prefix #
/usr/lib/zabbix/alertscript/zbxtg_settings.py directory for saving caches, uids, cookies,
#vi /usr/lib/zabbix/alertscript/zbxtg_settings.py etc.
tg_key=
zbx_server= 192.168.1.165 zbx_tg_signature = False # the signature in
zbx_api_usr= api your telegram message for example your company
zbs_usr_Passwd= Password name
#vi /usr/lib/zabbix/alertscript/zbxtg.py
zbx_server = "http://localhost" # zabbix
:set fileformat:unix
server full url (ip or dns)
:wq
#/usr/lib/zabbix/alertscript/zbxtg.py “fslhakim” zbx_api_user = "api" #user baraye zabbix
“hello” “hello”
zbx_api_pass = "api" #password of user
The API bot is the key used for access to bots that have
been created previously (“Fig. 5”), so Zabbix can send zbx_api_verify = True # True - do not ignore
self signed certificates, False - ignore
notifications to Telegram. User and password are used to
connect to the Zabbix web interface. This setting is in the proxy_to_zbx = None
zbxtg_settings.py file (“Fig. 6”). BotFather will provide an proxy_to_tg = None
HTTP API token that is used to send notifications to bots that
#proxy_to_zbx = "proxy.local:3128"
have been created. when opening a browser and accessing the
Linux IP that Zabbix has installed, the Zabbix start page will #proxy_to_tg = "proxy.local:3128"
appear like show in Fig. 7. emoji_map = {

"ok": "✅",

"problem": "❗",

"info": "ℹ ",

"warning": "⚠ ",

"disaster": "❌",

"bomb": "💣",

"fire": "🔥",

"hankey": "💩",
}
Fig. 6. zbxtg_settings.py File

Fig. 5. BotFather

The last configuration is the media type in Zabbix. Media


type is a delivery channel that serves to send notifications and
warnings to Zabbix, Zabbix will send a notification or warning
to Telegram if the administrator has created a channel media
to Telegram on Zabbix (“Fig. 8”). The zbxtg.py file will be
included in this media type. When the settings have been
completed, “Fig. 9” shows that Zabbix detected a problem
with the host that was created with the name Gareth Dumy
marked in red. The notification will appear on the dashboard
page so that it will be visible when the administrator logs in.
Zabbix will sent the problem via Telegram showing in Fig. 10.

Fig. 7. Reply Message from BotFather

475
2020 3rd International Conference on Computer and Informatics Engineering (IC2IE)

Fig. 12. Zabbix Detects Server “Up” Condition

Fig. 8. Input Media Type

Fig. 13. Resolved Notification Message

IV. CONCLUSION
Network monitoring using Zabbix with Telegram
notification has been successfully implemented. The most
common problem is overloaded Disk I/O. The solution is to
delete the cache on the linux or add the hardware
specifications used to install Zabbix.
ACKNOWLEDMENT
We thank to APPJII, Department of Computer and
Informatics Engineering Jakarta State Polytechnic, Computer
Fig. 9. Zabbix Detects Problem Engineering College of Vocational Studies IPB University for
supporting our research and project.
REFERENCES
[1] A. Hidra, Defni., D. Prayama, and F. Agustin, “Design and
Implementation of Network Monitoring System Using Nagios with
Email and SMS Alert,” J. Ilm. Poli Rekayasa, vol. 10, no. 1, p. 42,
2014, doi: 10.30630/jipr.10.1.56.
[2] S. S. Kamenov, “Experimental monitoring on network based tactile
sensing system,” 2019 28th Int. Sci. Conf. Electron. 2019 - Proc., pp.
1–4, 2019, doi: 10.1109/ET.2019.8878661.
[3] C. M. Petruti, B. A. Puiu, I. A. Ivanciu, and V. Dobrota, “Automatic
Management Solution in Cloud Using NtopNG and Zabbix,” Proc. -
17th RoEduNet IEEE Int. Conf. Netw. Educ. Res. RoEduNet 2018, pp.
1–6, 2018, doi: 10.1109/ROEDUNET.2018.8514142.
[4] L. M. Surhone, M. T. Timpledon, and S. F. Marseken, Zabbix. Beau
Fig. 10. Telegram Notification Message Bassin, MUS: Betascript Publishing, 2010.
[5] D. Chahal, L. Kharb, and D. Choudhary, “Performance Analytics of
Fig. 11 shows the server condition is normal or already Network Monitoring Tools,” Ijitee, vol. 8, no. 8, pp. 2572–2577, 2019.
back on. This condition can be seen with a red sign indicating [6] I. Thamrin, J. Andjarwirawan, and A. Noertjahyana, “Development of
Wired and Wireless Computer Alert Systems in the UK. Petra,” pp.
the server's condition is in an "Up" state. Zabbix will detect 3–6, 2017.
any changes to the Gareth Dumy host which is marked in [7] A. Telesca et al., “System performance monitoring of the ALICE data
green colour which means the server is back in normal acquisition system with Zabbix,” J. Phys. Conf. Ser., vol. 513, no.
condition in Fig. 12. Notification message sent back by Zabbix TRACK 6, 2014, doi: 10.1088/1742-6596/513/6/062046.
via Telegram to notify network administrators that the server [8] J. S. Lee and P. Lo Hsu, “Design and Implementation of the SNMP
Agents for Remote Monitoring and Control via UML and Petri Nets,”
is "Up" showing in Fig. 13. IEEE Trans. Control Syst. Technol., vol. 12, no. 2, pp. 293–302, 2004,
doi: 10.1109/TCST.2004.824287.
[9] F. Kusuma, Indra, “SNMP-BASED NETWORK DEVICE
MONITORING SYSTEM DESIGN,” Universitas Muhammadiyah
Surakarta, 2015.
[10] D. Wijonarko, “Zabbix Network Monitoring as Network Monitoring
Tool in SKPD Malang City,” pp. 27–38.
[11] K. Rianafirin and M. T. Kurniawan, “Design network security
infrastructure cabling using network development life cycle
methodology and ISO/IEC 27000 series in Yayasan Kesehatan
(Yakes) Telkom Bandung,” Proc. 2017 4th Int. Conf. Comput. Appl.
Inf. Process. Technol. CAIPT 2017, vol. 2018-Janua, pp. 1–6, 2018,
doi: 10.1109/CAIPT.2017.8320681.
Fig. 11. Urbackup Server “Up” Condition [12] V. Sanjaya, M. Akbar, and F. Panjaitan, “ANALYSIS OF SERVER

476
2020 3rd International Conference on Computer and Informatics Engineering (IC2IE)
VIRTUALIZATION PERFORMANCE USING PROXMOX VE ON
KOMINFO DISHUB SOUTH SUMATRA,” J. Tek. Inform., 2016.
[13] M. S. Bahry and B. Sugiantoro, “Analysys and Implementation IEEE
802.1Q to Improve Network Security,” IJID (International J.
Informatics Dev., vol. 6, no. 2, p. 7, 2018, doi:
10.14421/ijid.2017.06202.
[14] J. Goldman E. and P. Rawles T., Applied Data Communications: A
Business-Oriented Approach, 3rd Editio. Wiley, 2000.
[15] R. Emiliano and M. Antunes, “Automatic network configuration in
virtualized environment using GNS3,” 10th Int. Conf. Comput. Sci.
Educ. ICCSE 2015, pp. 25–30, 2015, doi:
10.1109/ICCSE.2015.7250212.

477

View publication stats

You might also like