Zabbix
Author: q | 2025-04-23
Download the Zabbix source code. Agentes Zabbix. Download Zabbix agent for Unix-like and Windows environments. Instalar el Appliance Zabbix. Zabbix 7.2 Zabbix 7.0 LTS Zabbix 6.4 Zabbix 6.0 LTS Zabbix 5.0 LTS
Browse Zabbix / Zabbix - ZABBIX GIT
Zabbix-icmp-agentZabbix template and accompanying scripts for icmp monitoring done by agent. Allows multiple ping targets from single host and automatically generates items, triggers and graphs based on target list. Monitors max,avg,min rtt and loss. You can specify number of packets, interval and custom description.InstallationAgentCopy zaping shell script over to a machine with zabbix agent. Modify zabbix agent config as shown in zaping.conf. Restart zabbix agent.ServerImport the template for your zabbix version.If you are running zabbix older than 5 copy zabbix-icmp-lld to external scripts directory on your zabbix server. The template for zabbix 5 does not require the helper script anymore.How does it workThis template bypasses zabbix limitation of only allowing one template link per host by misusing low level discovery. To use it you have to link the template with a host and then define a special macro {$PINGTARGETS} on the host. This macro's contents is fed to the zabbix-icmp-lld script which returns LLD JSON. Zabbix generates items, triggers and graphs based on this data.Format of PINGTARGETS macro is ; separated list of targets with some other information about them: ; ; "> ; ; without the angle brackets, just separate the values by space
Configure Zabbix Agent on the Zabbix Proxy - Zabbix Tutorials
What is Zabbix? Zabbix is an open source monitoring software tool for diverse IT components, including networks, servers, virtual machines (VMs) and cloud services. Zabbix provides monitoring metrics, such as network utilization, CPU load and disk space consumption. The software monitors operations on Linux, Hewlett Packard Unix, Mac OS X, Solaris and other operating systems (OSes); however, Windows monitoring is only possible through agents. How Zabbix works Zabbix can be deployed for agent-based and agentless monitoring. Agents are installed on IT components to check performance and collect data. The agent then reports back to a centralized Zabbix management server. That information is included in reports or presented visually in the Zabbix graphical user interface (GUI). If there are any issues regarding what is being monitored, Zabbix will send a notification or alert to the user. Agentless monitoring accomplishes the same type of monitoring by using existing resources in a system or device to emulate an agent. The Zabbix web-based GUI enables users to view their IT environment via customizable dashboards based on widgets, graphs, network maps, slideshows and reports. For example, a user can customize a report to show metrics associated with both service-level agreements and key performance indicators on CPU loads. This map shows the connections Zabbix forms among machines, servers and a cloud service. Zabbix works via three discovery mode options: Network discovery. Periodically scans an IT environment and records a device's type, IP address, status, uptimes and downtimes. Low-level discovery. Automatically creates items, triggers and graphs based on the discovered device. Low-level discovery can create metrics from Simple Network Management Protocol object identifiers, Windows services, Open Database Connectivity Structured Query Language queries and network interfaces. Active agent autoregistration. Automatically starts monitoring any discovered device using a Zabbix agent. With Zabbix distributed monitoring, remotely run scripts collect data from multiple devices in distributed locations and combine that data in one dashboard or report, such as server availability across the country. Zabbix's GUI offers data points that range from system health to error severity and location, as well as monitoring details. Zabbix can send email notifications based on predefined events in a user's IT environment. Another way for Zabbix users to stay up to date with their IT environment is through mobile applications from suppliers such as M7 Monitoring or of their own creation. Agentless monitoring options with Zabbix Zabbix offers several monitoring options beyond agents. A simple checkzabbix/conf/zabbix_server.conf at master zabbix/zabbix - GitHub
System resources Discover and monitor system resources on any Windows host and react to any changes performed on the host, gaining real-time information about your Windows environments. The Windows metrics you can collect with Zabbix include: Windows service states Lists of running processes and their parameters CPU performance and utilization File system utilization Memory usage and page statistics Network traffic, interface information, and discarded/erroneous packages Physical disk read/write performance and disk queues System information Zabbix Agent Zabbix Agent can be used tocollect OS-level metrics, monitor log files, and extend your monitoring.It's easy to extend your monitoring with Zabbix Agent by letting it execute custom commands and scripts. The agent can be deployed with the official Zabbix Agent MSI installer or directly from the command line.Some of the benefits of deploying Zabbix Agent on your hosts include: Push or pull metric collection A negligible performance footprint MSI or command line installer Zabbix Agent runs as a Windows service Zabbix Agent respects service user permissions Optional PSK or certificate encryption The ability to define, allow, and deny lists of available metrics The potential to execute custom commands and scripts You can also automate the deployment of Zabbix Agent on a large scale by utilizing the official Zabbix Agent MSI packages together with your active directory group policies. This allows you to perform silent Zabbix Agent installs and updates. By utilizing WMI (Windows management instrumentation) queries, you can monitor the resulting metrics.WMI is a powerful interface in Windows environments that canmonitor Windows services, system information, and installed software. In addition, you can define WQL queries and collect multiple Windows metrics in bulk. A single WQL (WMI query language) query can be used to retrieve multiple metrics from the WMI interface, getting rid of potential performance impact that results from the rapid execution of multiple queries. Enjoy native support in Windows environments Monitor service and application states Retrieve device information and status Automatically filter and discover WMI metrics Windows performance counters Windows performance counters provide an interface for collecting system and application information. By monitoring Windows performance counter metrics, Zabbix users can easilycollect OS-level resource information or application-specific data points.Performance counters are widely used for services and applications, including: Microsoft SQL Server (MSSQL) Microsoft Internet Information Services (IIS) Microsoft Remote Desktop And many others Windows event log Monitoring Windows event logs gives you insights into your system, service, and application behavior.Matching event logs by entry attributes allows you to monitor: System entries Security events Application event logs Specific entries filtered by event ID, severity, or source Get a quick technical overview Lancez-vous en 10 minutes, GRATUITEMENT Télécharger ZabbixZabbix est un logiciel libre et open source. Pas de limites ni de coûts cachés.. Download the Zabbix source code. Agentes Zabbix. Download Zabbix agent for Unix-like and Windows environments. Instalar el Appliance Zabbix. Zabbix 7.2 Zabbix 7.0 LTS Zabbix 6.4 Zabbix 6.0 LTS Zabbix 5.0 LTSzabbix/zabbix-docker: Official Zabbix Dockerfiles - GitHub
The browser and navigate to the following link in order to allow access for less secure apps as in the following screen.Manage Secure Gmail Apps5. After you have turned on the Less Secure Apps feature on your Gmail account, run the above mail command again and verify your Inbox after a few seconds to check if the locally generated email has been successfully delivered – you should normally see the email has incoming from Gmail.Mail Delivery ConfirmStep 3: Configure Zabbix Sendmail Script6. Further, based on the $(which mail) command creates the following Bash script to Zabbix alertscripts directory with the following content and gives it execute permissions:# vi /usr/local/share/zabbix/alertscripts/zabbix-sendmail [On RHEL/CentOS]$ sudo nano /usr/local/share/zabbix/alertscripts/zabbix-sendmail [On Debian/Ubuntu]Script content:#!/bin/bashecho "$3" | /usr/bin/mail -s "$2" $1Configure Sendmail ZabbixNext, set the execute permission on the script file.# chmod +x /usr/local/share/zabbix/alertscripts/zabbix-sendmail7. Next, as previously, test the script functionality by sending a local email to a Gmail account. The way to run the script with positional parameters is explained above:# /usr/local/share/zabbix/alertscripts/zabbix-sendmail [email protected] "Subject here" "Body of the message here"Send Mail to Gmail AccountAfterward, verify Gmail Inbox and check if the new local message has arrived.Verify Mail DeliveryStep 4: Configure Zabbix to Send Alerts to Gmail8. If the tests so far we’re successful, then you can move to the next step and set up Zabbix to send generated email alerts to Gmail. First, log in to the Zabbix web interface and navigate to the following menu: Administration -> Media types -> Create media type.Zabbix Administration9. On the next screen enter an arbitrary Name to uniquely identify the script in the Zabbix configurations (in this example Send-Email-Script is used), choose Script as Type from the list and enter the name of the Bash script created earlier (zabbix-sendmail used in this tutorial) to send email from the command line (don’t use the path for the script, only the script name). When you’re done, hit the Add button below to reflect changes.Create Zabbix Email Alerts10. Further, let’s configure an email address to which you will send Zabbix alerts. Go to Profile -> Media -> Add and a new pop-upZabbix and Popups - ZABBIX Forums
Can verify the availability and responsiveness of a standard service, such as notifications, or HTTP. Java management extensions (JMX), web monitoring and other methods are also alternatives to using agents. In Zabbix, JMX can be used to monitor Java-based applications. Web monitoring is used to check the availability of websites and supports HTTP and HTTPS. Zabbix collects data relating to the average download speed of a scenario, errors and error messages, response time and more. The Zabbix API The Zabbix application programming interface (API) is a web-based API to create new applications, automate tasks and integrate with third-party software, such as Go, Zabbix::Tiny or Zabbix sender. The JavaScript Object Notation format is used to base the API as a front-end web interface. The Zabbix API consists of many methods that are grouped together into separate APIs, each performing a specific service. For example, a method to create a new host is host.create; the method to log in as an admin is user.login. Utilizing the API, users can create applications to work with and display Zabbix information. Templates for monitoring capabilities Templates are custom-built add-ons that extend the functionality of Zabbix. Some templates are made by Zabbix and come packaged with the software ready for use, while others are built by Zabbix users. Templates enable Zabbix users to monitor network devices from vendors such as Cisco, Dell, HP and Juniper. Other templates can be used to monitor IBM, HP and Super Micro servers. Templates for application-based services include MS Exchange, Zenoss and PowerDNS. Templates can be created to monitor OSes and hypervisors as well. Infrastructure monitoring competitors to Zabbix Microsoft System Center Operations Manager (SCOM), Nagios and Zenoss are examples of competing IT infrastructure monitoring systems. SCOM enables configuration, management and monitoring for an IT ecosystem through one management console. SCOM can monitor server hardware, system services, OSes, hypervisors and applications, similar to Zabbix. SCOM also uses agent-based and agentless monitoring similar to Zabbix. Nagios is another open source monitoring program for IT environments. Nagios can monitor Linux, Unix and Windows OSes. Nagios offers multiple products, such as Core, XI, Log Server, Network Analyzer and Fusion. Nagios can run active checks that are self-initiated and run passive checks that are completed using external applications. Nagios uses both agent-based and agentless monitoring as well. Zenoss is monitoring software available in two forms: Zenoss Core and Zenoss Service Dynamics. Zenoss Core is theSyslog in Zabbix - ZABBIX Forums
Latency is too high for {$MS.EXCHANGE.DB.ACTIVE.WRITE.TIME}Should be less than 50ms on average.min(/Microsoft Exchange Server 2016 by Zabbix agent/perf_counter_en["\MSExchange Database ==> Instances({#INF.STORE}/_Total)\I/O Database Writes (Attached) Average Latency", {$MS.EXCHANGE.PERF.INTERVAL}],{$MS.EXCHANGE.DB.ACTIVE.WRITE.TIME})>{$MS.EXCHANGE.DB.ACTIVE.WRITE.WARN}WarningDatabase Counters [{#INSTANCE}]: Average write time latency is higher than read time latency for {$MS.EXCHANGE.DB.PASSIVE.WRITE.TIME}Should be less than the read latency for the same instance, as measured by the MSExchange Database ==> Instances({#INF.STORE}/_Total)\I/O Database Reads (Recovery) Average Latency counter.avg(/Microsoft Exchange Server 2016 by Zabbix agent/perf_counter_en["\MSExchange Database ==> Instances({#INF.STORE}/_Total)\I/O Database Writes (Recovery) Average Latency", {$MS.EXCHANGE.PERF.INTERVAL}],{$MS.EXCHANGE.DB.PASSIVE.WRITE.TIME})>avg(/Microsoft Exchange Server 2016 by Zabbix agent/perf_counter_en["\MSExchange Database ==> Instances({#INF.STORE}/_Total)\I/O Database Reads (Recovery) Average Latency", {$MS.EXCHANGE.PERF.INTERVAL}],{$MS.EXCHANGE.DB.PASSIVE.WRITE.TIME})WarningLLD rule Web services discoveryNameDescriptionTypeKey and additional infoWeb services discoveryDiscovery of Exchange web services.Zabbix agentperf_instance_en.discovery["Web Service"]Item prototypes for Web services discoveryNameDescriptionTypeKey and additional infoWeb Service [{#INSTANCE}]: Current connectionsShows the current number of connections established to the each Web Service.Zabbix agentperf_counter_en["\Web Service({#INSTANCE})\Current Connections", {$MS.EXCHANGE.PERF.INTERVAL}]LLD rule LDAP discoveryNameDescriptionTypeKey and additional infoLDAP discoveryDiscovery of domain controller.Zabbix agentperf_instance_en.discovery["MSExchange ADAccess Domain Controllers"]Item prototypes for LDAP discoveryNameDescriptionTypeKey and additional infoDomain Controller [{#INSTANCE}]: Read timeTime that it takes to send an LDAP read request to the domain controller in question and get a response. Should ideally be below 50 ms; spikes below 100 ms are acceptable.Zabbix agentperf_counter_en["\MSExchange ADAccess Domain Controllers({#INSTANCE})\LDAP Read Time", {$MS.EXCHANGE.PERF.INTERVAL}]PreprocessingCustom multiplier: 0.001Domain Controller [{#INSTANCE}]: Search timeTime that it takes to send an LDAP search request and get a response. Should ideally be below 50 ms; spikes below 100 ms are acceptable.Zabbix agentperf_counter_en["\MSExchange ADAccess Domain Controllers({#INSTANCE})\LDAP Search Time", {$MS.EXCHANGE.PERF.INTERVAL}]PreprocessingCustom multiplier: 0.001Trigger prototypes for LDAP discoveryNameDescriptionExpressionSeverityDependencies and additional infoDomain Controller [{#INSTANCE}]: LDAP read time is too highShould be less than 50ms at all times, with spikes less than 100ms.min(/Microsoft Exchange Server 2016 by Zabbix agent/perf_counter_en["\MSExchange ADAccess Domain Controllers({#INSTANCE})\LDAP Read Time", {$MS.EXCHANGE.PERF.INTERVAL}],{$MS.EXCHANGE.LDAP.TIME})>{$MS.EXCHANGE.LDAP.WARN}AverageDomain Controller [{#INSTANCE}]: LDAP search time is too highShould be less than 50ms at all times, with spikes less than 100ms.min(/Microsoft Exchange Server 2016 by Zabbix agent/perf_counter_en["\MSExchange ADAccess Domain Controllers({#INSTANCE})\LDAP Search Time", {$MS.EXCHANGE.PERF.INTERVAL}],{$MS.EXCHANGE.LDAP.TIME})>{$MS.EXCHANGE.LDAP.WARN}AverageFeedbackPlease report any issues with the template at can also provide feedback, discuss the template, or ask for help at ZABBIX forums This template is for Zabbix version: 6.2 Source: Microsoft Exchange Server 2016 by Zabbix agentOverviewFor Zabbix version: 6.2 and higherOfficial Template for Microsoft Exchange Server 2016.This template was tested on:Microsoft Exchange Server, version 2016 CU18SetupSee Zabbix template operation for basic instructions.Metrics are collected by Zabbix agent.1. Import the template into Zabbix.2. Link the imported template to a host with MS Exchange.Note that template doesn't provide information about Windows services state. Recommended to use it with "OS Windows by Zabbix agent" template.Zabbix configurationNo specific Zabbix configuration is required.Macros usedNameDescriptionDefault{$MS.EXCHANGE.DB.ACTIVE.READ.TIME}The time during which the active database read operations latency may exceed the threshold.5m{$MS.EXCHANGE.DB.ACTIVE.READ.WARN}Threshold for active database read operations latency trigger.0.02{$MS.EXCHANGE.DB.ACTIVE.WRITE.TIME}The time during which the active database write operations latency may. Download the Zabbix source code. Agentes Zabbix. Download Zabbix agent for Unix-like and Windows environments. Instalar el Appliance Zabbix. Zabbix 7.2 Zabbix 7.0 LTS Zabbix 6.4 Zabbix 6.0 LTS Zabbix 5.0 LTS Download and install Zabbix for free. Free trial. Zabbix Cloud. Available with a 5-day free trial. Zabbix Cloud Images. Run Zabbix on third-party cloud platforms. Zabbix Containers. Deploy Zabbix components from official Zabbix containers. Zabbix Appliance. Run Zabbix from a pre-configured Zabbix virtual appliance.Comments
Zabbix-icmp-agentZabbix template and accompanying scripts for icmp monitoring done by agent. Allows multiple ping targets from single host and automatically generates items, triggers and graphs based on target list. Monitors max,avg,min rtt and loss. You can specify number of packets, interval and custom description.InstallationAgentCopy zaping shell script over to a machine with zabbix agent. Modify zabbix agent config as shown in zaping.conf. Restart zabbix agent.ServerImport the template for your zabbix version.If you are running zabbix older than 5 copy zabbix-icmp-lld to external scripts directory on your zabbix server. The template for zabbix 5 does not require the helper script anymore.How does it workThis template bypasses zabbix limitation of only allowing one template link per host by misusing low level discovery. To use it you have to link the template with a host and then define a special macro {$PINGTARGETS} on the host. This macro's contents is fed to the zabbix-icmp-lld script which returns LLD JSON. Zabbix generates items, triggers and graphs based on this data.Format of PINGTARGETS macro is ; separated list of targets with some other information about them: ; ; "> ; ; without the angle brackets, just separate the values by space
2025-03-30What is Zabbix? Zabbix is an open source monitoring software tool for diverse IT components, including networks, servers, virtual machines (VMs) and cloud services. Zabbix provides monitoring metrics, such as network utilization, CPU load and disk space consumption. The software monitors operations on Linux, Hewlett Packard Unix, Mac OS X, Solaris and other operating systems (OSes); however, Windows monitoring is only possible through agents. How Zabbix works Zabbix can be deployed for agent-based and agentless monitoring. Agents are installed on IT components to check performance and collect data. The agent then reports back to a centralized Zabbix management server. That information is included in reports or presented visually in the Zabbix graphical user interface (GUI). If there are any issues regarding what is being monitored, Zabbix will send a notification or alert to the user. Agentless monitoring accomplishes the same type of monitoring by using existing resources in a system or device to emulate an agent. The Zabbix web-based GUI enables users to view their IT environment via customizable dashboards based on widgets, graphs, network maps, slideshows and reports. For example, a user can customize a report to show metrics associated with both service-level agreements and key performance indicators on CPU loads. This map shows the connections Zabbix forms among machines, servers and a cloud service. Zabbix works via three discovery mode options: Network discovery. Periodically scans an IT environment and records a device's type, IP address, status, uptimes and downtimes. Low-level discovery. Automatically creates items, triggers and graphs based on the discovered device. Low-level discovery can create metrics from Simple Network Management Protocol object identifiers, Windows services, Open Database Connectivity Structured Query Language queries and network interfaces. Active agent autoregistration. Automatically starts monitoring any discovered device using a Zabbix agent. With Zabbix distributed monitoring, remotely run scripts collect data from multiple devices in distributed locations and combine that data in one dashboard or report, such as server availability across the country. Zabbix's GUI offers data points that range from system health to error severity and location, as well as monitoring details. Zabbix can send email notifications based on predefined events in a user's IT environment. Another way for Zabbix users to stay up to date with their IT environment is through mobile applications from suppliers such as M7 Monitoring or of their own creation. Agentless monitoring options with Zabbix Zabbix offers several monitoring options beyond agents. A simple check
2025-04-06The browser and navigate to the following link in order to allow access for less secure apps as in the following screen.Manage Secure Gmail Apps5. After you have turned on the Less Secure Apps feature on your Gmail account, run the above mail command again and verify your Inbox after a few seconds to check if the locally generated email has been successfully delivered – you should normally see the email has incoming from Gmail.Mail Delivery ConfirmStep 3: Configure Zabbix Sendmail Script6. Further, based on the $(which mail) command creates the following Bash script to Zabbix alertscripts directory with the following content and gives it execute permissions:# vi /usr/local/share/zabbix/alertscripts/zabbix-sendmail [On RHEL/CentOS]$ sudo nano /usr/local/share/zabbix/alertscripts/zabbix-sendmail [On Debian/Ubuntu]Script content:#!/bin/bashecho "$3" | /usr/bin/mail -s "$2" $1Configure Sendmail ZabbixNext, set the execute permission on the script file.# chmod +x /usr/local/share/zabbix/alertscripts/zabbix-sendmail7. Next, as previously, test the script functionality by sending a local email to a Gmail account. The way to run the script with positional parameters is explained above:# /usr/local/share/zabbix/alertscripts/zabbix-sendmail [email protected] "Subject here" "Body of the message here"Send Mail to Gmail AccountAfterward, verify Gmail Inbox and check if the new local message has arrived.Verify Mail DeliveryStep 4: Configure Zabbix to Send Alerts to Gmail8. If the tests so far we’re successful, then you can move to the next step and set up Zabbix to send generated email alerts to Gmail. First, log in to the Zabbix web interface and navigate to the following menu: Administration -> Media types -> Create media type.Zabbix Administration9. On the next screen enter an arbitrary Name to uniquely identify the script in the Zabbix configurations (in this example Send-Email-Script is used), choose Script as Type from the list and enter the name of the Bash script created earlier (zabbix-sendmail used in this tutorial) to send email from the command line (don’t use the path for the script, only the script name). When you’re done, hit the Add button below to reflect changes.Create Zabbix Email Alerts10. Further, let’s configure an email address to which you will send Zabbix alerts. Go to Profile -> Media -> Add and a new pop-up
2025-04-06Can verify the availability and responsiveness of a standard service, such as notifications, or HTTP. Java management extensions (JMX), web monitoring and other methods are also alternatives to using agents. In Zabbix, JMX can be used to monitor Java-based applications. Web monitoring is used to check the availability of websites and supports HTTP and HTTPS. Zabbix collects data relating to the average download speed of a scenario, errors and error messages, response time and more. The Zabbix API The Zabbix application programming interface (API) is a web-based API to create new applications, automate tasks and integrate with third-party software, such as Go, Zabbix::Tiny or Zabbix sender. The JavaScript Object Notation format is used to base the API as a front-end web interface. The Zabbix API consists of many methods that are grouped together into separate APIs, each performing a specific service. For example, a method to create a new host is host.create; the method to log in as an admin is user.login. Utilizing the API, users can create applications to work with and display Zabbix information. Templates for monitoring capabilities Templates are custom-built add-ons that extend the functionality of Zabbix. Some templates are made by Zabbix and come packaged with the software ready for use, while others are built by Zabbix users. Templates enable Zabbix users to monitor network devices from vendors such as Cisco, Dell, HP and Juniper. Other templates can be used to monitor IBM, HP and Super Micro servers. Templates for application-based services include MS Exchange, Zenoss and PowerDNS. Templates can be created to monitor OSes and hypervisors as well. Infrastructure monitoring competitors to Zabbix Microsoft System Center Operations Manager (SCOM), Nagios and Zenoss are examples of competing IT infrastructure monitoring systems. SCOM enables configuration, management and monitoring for an IT ecosystem through one management console. SCOM can monitor server hardware, system services, OSes, hypervisors and applications, similar to Zabbix. SCOM also uses agent-based and agentless monitoring similar to Zabbix. Nagios is another open source monitoring program for IT environments. Nagios can monitor Linux, Unix and Windows OSes. Nagios offers multiple products, such as Core, XI, Log Server, Network Analyzer and Fusion. Nagios can run active checks that are self-initiated and run passive checks that are completed using external applications. Nagios uses both agent-based and agentless monitoring as well. Zenoss is monitoring software available in two forms: Zenoss Core and Zenoss Service Dynamics. Zenoss Core is the
2025-04-18