diff --git a/hooks/templates/inc_config.php.erb b/hooks/templates/inc_config.php.erb index f9c97088e80d4b03072f1af417d3a996c615e082..cf727fe080b4301a1f6c0a4f4dabf2766b15472f 100644 --- a/hooks/templates/inc_config.php.erb +++ b/hooks/templates/inc_config.php.erb @@ -30,4 +30,10 @@ return array( // allow directory listing when accessing a path of a package // true is required to fetch all packages 'showdircontent'=>true, + + // --- monitoring + + // appmonitor ip that is allowed to fetch data + 'monitor-ips'=>[<%= @replace["monitorip"] %>], + ); diff --git a/public_html/inc_config.php.dist b/public_html/inc_config.php.dist index 0d163efdf9224ee8a273cf85b62d4e93e0182d9d..7fca9df2284e01c281bd1c13e0adfcb573812007 100644 --- a/public_html/inc_config.php.dist +++ b/public_html/inc_config.php.dist @@ -29,5 +29,10 @@ return array( 'showdircontent'=>true, // Enable for troubleshooting - 'debug'=>false, + 'debug'=>false, + + // --- monitoring + + // appmonitor ip that is allowed to fetch data + 'monitor-ips'=>[], ); \ No newline at end of file