Skip to content
Snippets Groups Projects
Select Git revision
  • e9890596a05ec8a2235ec8e77d80ebfaa786e775
  • main default protected
  • v0.1
3 results

simple.ini

Blame
  • 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"
    }'
    
    ; -----------------------------------------------------------------------