mackerel-plugin-php-fpm

command
v0.55.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

mackerel-plugin-php-fpm

PHP-FPM status custom metrics plugin for mackerel-agent.

Synopsis

mackerel-plugin-php-fpm [-metric-key-prefix=php-fpm] [-timeout=5] [-url=http://localhost/status?json] [-socket unix:///var/run/php-fpm.sock
Socket option

If -socket option is set, the plugin reads status from standalone php-fpm service. -socket option is available some notations.

  • filepath (e.g., /var/run/php-fpm.sock)
  • network address (e.g., localhost:9000)
  • URL (e.g., tcp://localhost:9000 or unix:///var/run/php-fpm.sock)

If not set, the plugin reads status via HTTP server such as Nginx or Apache.

Example of mackerel-agent.conf

[plugin.metrics.php-fpm]
command = "/path/to/mackerel-plugin-php-fpm"

Author

ariarijp

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL