Skip to content
Snippets Groups Projects
simple.ini 1.32 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
; <channelname> + comma + <webhook url>
; slack[]="#support-channel,https://hooks.slack.com/services/XXXXXX/YYYYYY/ZZZZZ"
slack[]='{ "#support-channel": "https://hooks.slack.com/services/XXXXXX/YYYYYY/ZZZZZ" }'


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

["hello plugin"]
description="I sust wann say hello"
function="hello"
params='{
"message": "Here I am"
}'

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