Zabbix Share

Zabbix templates, modules & more
Log in
Choose social to login:
Login With Google
Login With Github

Nav view search

Navigation

Advanced Search
  • Applications
    • 1C
    • Anti-Virus
    • Backup
    • Bug and issue tracking
    • Cluster
    • Clustered File Systems
    • DNS
    • Excel Export
    • Firewall
    • HelpDesk System
    • High Availability (HA)
    • Java Application
    • Mail servers
    • Misc
    • Monitoring System
    • NFS
    • NTP
    • Others
    • Pi-Hole
    • Process Managers
    • Queue managers
    • Security
    • SIEM
    • Skype
    • Ticketing System
    • Time synchronization
    • TV Broadcasting
    • Web-servers
  • Cloud
  • Databases
  • Network Appliances
  • Network Devices
  • Official Templates
  • Operating Systems
  • Power (UPS)
  • Printers
  • SCADA, IoT, Energy, Home Automation, Industrial monitoring
  • Server Hardware
  • Storage Devices
  • Telephony
  • Unsorted
  • Virtualization
  • Zabbix
  • Recently Added
  • Recently Updated
  • Popular
  • Most Rated
  • Top Rated
  • Most Reviewed

PHP-fpm Monitoring (Multiple Pools)

  • 760.png
  • 761.png

Zabbix PHP-fpm Template with Auto-discovery and support for multiple pools

Supports auto discovery of pool.
Easy and flexible configuration.
Low load on Zabbix server: most elements sending info by zabbix_sender.
Bash: no need to install Perl, PHP, Go or other languages.
Safe: no need to allow root for zabbix agent.


 

Installation

1. On Target server

1.1 Install required packages

apt-get install jq libxml2-utils

1.2 Download and install files

cp fpm-monitoring.conf /etc/zabbix/zabbix_agentd.conf/
cp fpm-monitoring.sh /etc/zabbix/scripts/
chmod +x /etc/zabbix/scripts/fpm-monitoring.sh
systemctl restart zabbix-agent.service

If you using non-standart zabbix-agent.conf path change it in fpm-monitoring.sh

zabbixconf="/etc/zabbix/zabbix_agentd.conf"

2. On Zabbix Server

2.1 Import template

"Configuration"->"Templates"->"Import"

2.2 Add the template to your host(s)

"Configuration"->"Host"->"YourHost"->"Templates"

2.3 Override {$FPM_STATUS_URL} macro on your host with fpm status page

For few pools on one host: {$FPM_STATUS_URL}=statuspage1oIostatuspage2...

* oIo - speacial symbols sequence for dividing status pages addresses (you can rewrite it in fpm-monitoring.sh).

2.4 Rewrite tresholds {$FPM_MEM_WARN} {$FPM_CONN_WARN}

Setup is finished, just wait 15 minutes till Zabbix discovers your providers and captures the data (or use manual check).

Rating
553
★★★★★
3 votes

Listing Details

Type
Template
Min Zabbix version
4.0.x
Features
  • Low Level Discovery (LLD)
  • Zabbix Agent
  • Zabbix Trapper
  • Custom Script
Link
github.com/kreicer/zabbix-phpfpm-monitoring
Created
2019-09-18
Modified
2019-09-18 14:35:25
Version 4.0
Download (253 downloads)
1 version, '2019-09-18 14:29' modified
Version 4.2
Download (244 downloads)
1 version, '2019-09-18 14:29' modified
Tags
php, fpm, github, bash
Author
kreicer
Owner
Dmitriy
RecommendReportOwner's listing
All resources created by third parties; use at your own risk
© 2001-2018 by Zabbix SIA. All rights reserved. Trademark Policy · Contact us