Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $JSON_DIR = '/home/adminroot/egg/json_templates';
- $ES_URL = 'http://192.168.216.19:3000/api/dashboards/db/';
- $GR_URL = 'http://192.168.216.19:3000';
- $API_KEY = 'eyJrIjoiMnM1SmJsbjBzMkhrbE1WOXV1Nzl4MHVCR2FaN1IxWjEiLCJuIjoiZ2VuZXJhdGUiLCJpZCI6MX0=';
- /*
- $FOREMAN_USER="api";
- $FOREMAN_PASS="apicoolpass";
- $FOREMAN_URL="https://puppet.uncomp.com/api";
- */
- $hostGroupCfg['db-hosts'] = array ("hg-mysql");
- $hostGroupCfg['developers-hosts'] = array ("hg-nginx");
- /*
- $hostGroupCfg['db-master'] = array ("hg-mysql");
- $hostGroupCfg['db-stage'] = array ("hg-mysql");
- $hostGroupCfg['proxy-site'] = array ("hg-nginx");
- /*
- /*
- $propOverride['master_db_uncomp_com']['cpuCount'] = 32;
- $propOverride['slave_db_uncomp_com']['cpuCount'] = 32;
- $propOverride['slave2_db_uncomp_com']['cpuCount'] = 8;
- $propOverride['stage-db_uncomp_com']['cpuCount'] = 8;
- */
- /*
- $propOverride['LB_123essay_net_54_185_155_66']['cpuCount'] = 4;
- $propOverride['LB_123essay_net_54_202_188_247']['cpuCount'] = 4;
- $propOverride['LB_admin_uncomp_com_54_184_253_35']['cpuCount'] = 4;
- */
- $customListToHg = array (
- array ( 'hostSource' => 'db-hosts', 'hostGroup' => "db-hosts", 'name' => 'db-hosts' ),
- array ( 'hostSource' => 'developers-hosts', 'hostGroup' => "developers-hosts", 'name' => 'developers-hosts' ),
- );
- $customDashToHg = array (
- array ( 'dashTemplate' => 'ext-proxy', 'hostGroup' => "proxy-site", 'name' => 'nginx sites overview' ),
- array ( 'dashTemplate' => 'ext-proxy-nginx', 'hostGroup' => "proxy-site", 'name' => 'nginx system overview' ),
- );
- $customListToType = array (
- // array ( 'hostSource' => 'mongo', 'type' => "CPU", 'name' => 'superlist' ),
- );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement