CentOS Stream 9
Sponsored Link

Zabbix 7.0 : Add Monitoring Target Item2024/09/05

 

The templates are provided by default for well known services, so it's easy possible to monitor them.

For example, Add Apache httpd service on Zabbix server as a monitoring target item.

[1] Enable server-status on Apache httpd.
[root@dlp ~]#
vi /etc/httpd/conf.d/server-status.conf
# create new

<Location /server-status>
    SetHandler server-status
    Require local
</Location>

[root@dlp ~]#
systemctl reload httpd

[2] Login to Zabbix admin site with admin user and click [Data collection] - [Hosts] on the left pane, and then click the target Host name you add a new item.
[3] Click the [Select] button on [Templates] section.
[4] Click the [Select] button.
[5] Click the [Templates/Applications] link.
[6] Select the [Apache by HTTP] link.
[7] Click the [Update] button.
[8] Click the [Apache by HTTP] link to open the settings.
[9] Go to the [Macros] tab, enter 127.0.0.1 in {$APACHE.STATUS.HOST}, and click Update.
[10] This completes the setup. After a certain period of time has passed, the data will start to be displayed.
Matched Content