Introduction To Zabbix
Introduction To Zabbix
Introduction To Zabbix
Zabbix agent:
A zabbix agent, developed in C language may run on various supported
platforms, including linux, unix, macos, windows & collect data such as CPU,
memory, disk & network interface usage from a device.
Agent functions:
The following list of checks is supported by zabbix agent out of the box.
1. Network:
a. packets/bytes transferred
b. errors/ dropped packets
c. Collisions
2. Disk:
a. Space free/used
b. Read & write I/O
3. CPU:
a. Load average
b. CPU idle/usage
c. CPU utilization data per individual process
4. Service:
a. Process status
b. Process memory usage
c. Windows service status
d. DNS resolution
e. TCP connectivity
f. TCP response time
5. Memory:
a. Free /used memory
b. swap/pagefile utilization
6. File:
a. File size/time
b. File exists
c. Checksum
d. MD5 hash
e. RegExp search
7. Logs:
a. Text log
b. Windows eventlog
8. Other:
a. System uptime
b. System time
c. Users connected
d. Performance counter (windows)
Why Zabbix?
1. Metric collection
2. Problem detection
3. Alerting
4. Data visualization
5. Business monitoring
6. Integrations
7. Security
8. Deployment
9. Scalability
ZABBIX ARCHITECTURE:
It consist of several major software components, the responsibilities of which
are outlined below..
1. SERVER:
Zabbix server is the central component to which agents report
availability and integrity information & statistics. The server is the
central repository in which all configuration, statistical & operational
data are stored.
2. DATABASE:
All configuration information as well as the data gathered by Zabbix is
stored in database.
3. WEB INTERFACE:
For an easy access to Zabbix from anywhere and from any platform,
the web-based interface is provided. The interface is part of Zabbix
server.
4. PROXY:
Zabbix proxy can collect performance and availability data on behalf of
Zabbix server. A proxy is an optional part of Zabbix deployment;
however, it may be very beneficial to distribute the load of a single
Zabbix server.
5. Agent:
Zabbix agents are deployed on monitoring targets to actively monitor local resources and
applications and report the gathered data to Zabbix server. Since Zabbix 4.4, there are two
types of agents available: the Zabbix agent (lightweight, supported on many platforms, written
in C) and the Zabbix agent 2 (extra-flexible, easily extendable with plugins, written in Go).
6. Data flow:
In addition it is important to take a step back and have a look at the overall data flow within
Zabbix. In order to create an item that gathers data you must first create a host. Moving to the
other end of the Zabbix spectrum you must first have an item to create a trigger. You must
have a trigger to create an action. Thus if you want to receive an alert that your CPU load is too
high on Server X you must first create a host entry for Server X followed by an item for
monitoring its CPU, then a trigger which activates if the CPU is too high, followed by an action
which sends you an email. While that may seem like a lot of steps, with the use of templating it
really isn't. However, due to this design it is possible to create a very flexible setup.
3.
4.
5.
● Make sure if you are downloading zabbix agent for windows, then
select windows & rest options depending upon which version you have
installed.
● Once agent is downloaded, install the agent. Select the agent with
agent daemon, server & get.
● Give a hostname, zabbix server & server or proxy for active checks:
● Make sure that the zabbix agent should be in a running state. Verify it
by checking it through services.msc
● One more thing you have to do is to goto windows defender firewall
settings option.
● After creating host group, goto monitoring section & select hosts.
● Give a proper name, select the host group that you have made earlier,
give the IP of the server to be monitored.
● In templates options, click on select & choose Templates/Operating
Systems.
● In the interface option, add the option of Agent, give the IP of the
zabbix server where you have already installed before & save it.
● Once done adding the agent, goto monitoring section & click on hosts
to see the added hosts .