Skip to content
Snippets Groups Projects
Select Git revision
  • da7dab7a8fcba5ab8baa9e71c1e244eabe1d8137
  • master default protected
  • 7771-harden-postgres-backup
  • pgsql-dump-with-snapshots
  • update-colors
  • update-docs-css
  • usb-repair-stick
  • desktop-notification
  • 7000-corrections
  • db-detector
10 results

prune.sh

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