Skip to content
Snippets Groups Projects
Commit 924fc5eb authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update php-fpm-status.ini

parent 43715fc4
No related branches found
No related tags found
No related merge requests found
...@@ -17,30 +17,106 @@ check_command = "PHP-FPM-Status" ...@@ -17,30 +17,106 @@ check_command = "PHP-FPM-Status"
[phpfpmstatus.urlparams] [phpfpmstatus.urlparams]
areaAlpha = "0.2" areaAlpha = "0.2"
; areaMode = "stacked" areaMode = "stacked"
areaMode = "first"
colorList = "6699aa,ddddee,66cc88,cc66dd,aaaa99,ee4488" colorList = "cc66dd,6699ee,ccddff,66cc88"
; ^ ^ ^ ^ ^ ^ ; ^ ^ ^ ^
; active maxa idle queue maxqueue slow ; queue run read idle
lineWidth = "2" lineWidth = "2"
min = "0" min = "0"
yUnitSystem = "binary" yUnitSystem = "binary"
title = "Count of processes per Worker state"
[phpfpmstatus.metrics_filters] [phpfpmstatus.metrics_filters]
active = "$service_name_template$.perfdata.php-fpm-active.value"
maxactive = "$service_name_template$.perfdata.php-fpm-maxactive.value"
idle = "$service_name_template$.perfdata.php-fpm-idle.value"
queue = "$service_name_template$.perfdata.php-fpm-queue.value" queue = "$service_name_template$.perfdata.php-fpm-queue.value"
maxqueue = "$service_name_template$.perfdata.php-fpm-maxqueue.value" running = "$service_name_template$.perfdata.php-fpm-running.value"
slow = "$service_name_template$.perfdata.php-fpm-slow.value" reading = "$service_name_template$.perfdata.php-fpm-reading.value"
idle = "$service_name_template$.perfdata.php-fpm-idle.value"
; active = "$service_name_template$.perfdata.php-fpm-active.value"
; maxactive = "$service_name_template$.perfdata.php-fpm-maxactive.value"
; maxqueue = "$service_name_template$.perfdata.php-fpm-maxqueue.value"
[phpfpmstatus.functions] [phpfpmstatus.functions]
active = "alias($metric$, 'active')" queue = "alias($metric$, 'queue (waiting for a worker)')"
maxactive = "alias($metric$, 'max active')" running = "alias($metric$, 'Running')"
idle = "alias($metric$, 'idle')" reading = "alias($metric$, 'Reading header')"
queue = "alias($metric$, 'queue')" idle = "alias($metric$, 'Idle')"
slow = "alias($metric$, 'slow')" ; active = "alias($metric$, 'active')"
maxqueue = "alias($metric$, 'max queue')" ; maxactive = "alias($metric$, 'max active')"
slow = "alias($metric$, 'slow')" ; maxqueue = "alias($metric$, 'max queue')"
; ----------------------------------------------------------------------
; pie graph for workes by state
; ----------------------------------------------------------------------
[phpfpmstatus-worker-pie.graph]
check_command = "PHP-FPM-Status"
[phpfpmstatus-worker-pie.urlparams]
graphType = "pie"
colorList = "cc66dd,6699ee,ccddff,66cc88"
; ^ ^ ^ ^
; queue run read idle
title = "Worker state"
[phpfpmstatus-worker-pie.metrics_filters]
queue = "$service_name_template$.perfdata.php-fpm-queue.value"
running = "$service_name_template$.perfdata.php-fpm-running.value"
reading = "$service_name_template$.perfdata.php-fpm-reading.value"
idle = "$service_name_template$.perfdata.php-fpm-idle.value"
; active = "$service_name_template$.perfdata.php-fpm-active.value"
; maxactive = "$service_name_template$.perfdata.php-fpm-maxactive.value"
; queue = "$service_name_template$.perfdata.php-fpm-queue.value"
; maxqueue = "$service_name_template$.perfdata.php-fpm-maxqueue.value"
; slow = "$service_name_template$.perfdata.php-fpm-slow.value"
[phpfpmstatus-worker-pie.functions]
queue = "alias($metric$, 'queue (waiting for a worker)')"
running = "alias($metric$, 'Running')"
reading = "alias($metric$, 'Reading header')"
idle = "alias($metric$, 'Idle')"
; active = "alias($metric$, 'active')"
; maxactive = "alias($metric$, 'max active')"
; slow = "alias($metric$, 'slow')"
; maxqueue = "alias($metric$, 'max queue')"
; slow = "alias($metric$, 'slow')"
; ----------------------------------------------------------------------
; pie graph for speed and slow
; ----------------------------------------------------------------------
[phpfpmstatus-speed-pie.graph]
check_command = "PHP-FPM-Status"
[phpfpmstatus-speed-pie.urlparams]
areaAlpha = "0.2"
; areaMode = "stacked"
areaMode = "first"
colorList = "6699ee,ee4488"
; ^ ^
; speed slow
lineWidth = "2"
min = "0"
yUnitSystem = "binary"
title = "Processed and slow requests per min"
[phpfpmstatus-speed-pie.metrics_filters]
speed = "$service_name_template$.perfdata.php-fpm-speed.value"
slow = "$service_name_template$.perfdata.php-fpm-slow.value"
[phpfpmstatus-speed-pie.functions]
speed = "alias($metric$, 'Reqests')"
slow = "alias($metric$, 'Slow requests')"
; active = "alias($metric$, 'active')"
; maxactive = "alias($metric$, 'max active')"
; queue = "alias($metric$, 'queue')"
; slow = "alias($metric$, 'slow')"
; maxqueue = "alias($metric$, 'max queue')"
; slow = "alias($metric$, 'slow')"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment