Skip to content
Snippets Groups Projects
simple.ini 1.33 KiB
; =======================================================================
;
; APPMONITOR CLI CLIENT
;
; to understand the entries of metadata see JSON in 
; <https://os-docs.iml.unibe.ch/appmonitor/Client/Description_of_response.html>
;
; for the checks see its parameters
; <https://os-docs.iml.unibe.ch/appmonitor/PHP_client/Plugins/Checks/index.html>
;
; =======================================================================


; -----------------------------------------------------------------------
; METADATA
; -----------------------------------------------------------------------

[meta]
host = "www.example.com"
website = "Company website"
ttl = 300
tags[]="monitoring"


[notifications]
email[]="support@example.com"
email[]="webmaster@example.com"

; for slack use the following format
slack["#support-channel"]="https://hooks.slack.com/services/XXXXXX/YYYYYY/ZZZZZ"

; -----------------------------------------------------------------------
; CHECKS
; -----------------------------------------------------------------------

["hello plugin"]
description="I just wann say hello"
function="hello"

; JSON example ... variables cannot be expanded
; params='{
;     "message": "Here I am"
; }'
;
; ... but in double quotes the expansion works
params[message]="Here is ${USER}"

; -----------------------------------------------------------------------