added a complete graph to support PHP-FPM statistics ('phpfpm.pm'). #167

This commit is contained in:
Jordi Sanfeliu 2019-04-03 18:57:09 +02:00
parent 792c8be362
commit 77a77bb593
3 changed files with 1065 additions and 1 deletions

View File

@ -1,5 +1,6 @@
3.NN.N - DD-MMM-2019
====================
- Added a complete graph to support PHP-FPM statistics ('phpfpm.pm'). [#167]
- Fixed the copyright year in 'monitorix.cgi'.
- Fixed in 'mail.pm to use the option 'mail_log' instead the hard coded path I
forgot to remove when adding the Exim support.

1034
lib/phpfpm.pm Normal file

File diff suppressed because it is too large Load Diff

View File

@ -115,6 +115,7 @@ secure_log_date_format = %b %e
raspberrypi = n
phpapc = n
memcached = n
phpfpm = n
apcupsd = n
nut = n
wowza = n
@ -712,6 +713,27 @@ secure_log_date_format = %b %e
</memcached>
# PHP-FPM graph
# -----------------------------------------------------------------------------
<phpfpm>
<group>
0 = First group of domains
</group>
<list>
0 = example1.com, example2.com, example3.com
</list>
<desc>
example1.com = http://www.example1.com/php_fpm_status
example2.com = http://www.example2.com/php_fpm_status
example3.com = http://www.example3.com/php_fpm_status
</desc>
<map>
</map>
rigid = 0, 0, 2, 0, 0, 0
limit = 100, 100, 100, 100, 100, 100
</phpfpm>
# APCUPSD graph
# -----------------------------------------------------------------------------
<apcupsd>
@ -897,7 +919,7 @@ logo_bottom = logo_bot.png
remote = 300x100
</graph_size>
graph_name = system, kern, proc, hptemp, lmsens, gensens, ipmi, ambsens, nvidia, disk, fs, zfs, du, net, netstat, tc, libvirt, process, serv, mail, port, user, ftp, apache, nginx, lighttpd, mysql, mongodb, varnish, pagespeed, squid, nfss, nfsc, bind, ntp, chrony, fail2ban, icecast, raspberrypi, phpapc, memcached, apcupsd, nut, wowza, int, verlihub
graph_name = system, kern, proc, hptemp, lmsens, gensens, ipmi, ambsens, nvidia, disk, fs, zfs, du, net, netstat, tc, libvirt, process, serv, mail, port, user, ftp, apache, nginx, lighttpd, mysql, mongodb, varnish, pagespeed, squid, nfss, nfsc, bind, ntp, chrony, fail2ban, icecast, raspberrypi, phpapc, memcached, phpfpm, apcupsd, nut, wowza, int, verlihub
<graph_title>
system = System load average and usage
@ -941,6 +963,7 @@ graph_name = system, kern, proc, hptemp, lmsens, gensens, ipmi, ambsens, nvidia,
raspberrypi = Raspberry Pi sensor statistics
phpapc = Alternative PHP Cache statistics
memcached = Memcached statistics
phpfpm = PHP-FPM statistics
apcupsd = APC UPS statistics
nut = Network UPS Tools statistics
wowza = Wowza Media Server
@ -1122,6 +1145,12 @@ graph_name = system, kern, proc, hptemp, lmsens, gensens, ipmi, ambsens, nvidia,
_memcached5 = Objects I/O
_memcached6 = Connections
_memcached7 = Memcached traffic
_phpfpm1 = Accepted connections
_phpfpm2 = Active processes
_phpfpm3 = Listen queue
_phpfpm4 = Total processes
_phpfpm5 = Max. children reached
_phpfpm6 = Slow requests
_apcupsd1 = Line voltage
_apcupsd2 = Battery charge
_apcupsd3 = Temperatures