Check: ApacheProcesses

To get this help: amcli --explain=ApacheProcesses.

To add a section in your ini:

  • Execute: amcli --nocolor --explain=ApacheProcesses >> example.ini.
  • edit the example.ini in a text editor and update the needed values.

Syntax of an ini section


; -----------------------------------------------------------------------------
;
; Plugin ApacheProcesses
; Check count running Apache processes
;
[<Your check name>]
description="A short description what will be tested"
function="ApacheProcesses"


; key 'url' {string} 🔹(optional)
; Override https server-status page; default is http://localhost/server-status; Use it if the protocol to localhost is not http, but https or if it requires an authentication
; example: (not provided)
; default: http://localhost/server-status
params[url]=<Your value here>

; key 'warning' {float} 🔹(optional)
; Limit to switch to warning (in percent)
; example: 30
; default: 50
params[warning]=<Your value here>

; key 'error' {float} 🔹(optional)
; Limit to switch to critical (in percent)
; example: 50
; default: 75
params[error]=<Your value here>