Advertisement
Guest User

Untitled

a guest
May 27th, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. <?php
  2.  
  3. $JSON_DIR = '/home/adminroot/egg/json_templates';
  4. $ES_URL = 'http://192.168.216.19:3000/api/dashboards/db/';
  5. $GR_URL = 'http://192.168.216.19:3000';
  6. $API_KEY = 'eyJrIjoiMnM1SmJsbjBzMkhrbE1WOXV1Nzl4MHVCR2FaN1IxWjEiLCJuIjoiZ2VuZXJhdGUiLCJpZCI6MX0=';
  7.  
  8. /*
  9. $FOREMAN_USER="api";
  10. $FOREMAN_PASS="apicoolpass";
  11. $FOREMAN_URL="https://puppet.uncomp.com/api";
  12. */
  13.  
  14.  
  15. $hostGroupCfg['db-hosts'] = array ("hg-mysql");
  16. $hostGroupCfg['developers-hosts'] = array ("hg-nginx");
  17. /*
  18. $hostGroupCfg['db-master'] = array ("hg-mysql");
  19. $hostGroupCfg['db-stage'] = array ("hg-mysql");
  20. $hostGroupCfg['proxy-site'] = array ("hg-nginx");
  21. /*
  22. /*
  23. $propOverride['master_db_uncomp_com']['cpuCount'] = 32;
  24. $propOverride['slave_db_uncomp_com']['cpuCount'] = 32;
  25. $propOverride['slave2_db_uncomp_com']['cpuCount'] = 8;
  26. $propOverride['stage-db_uncomp_com']['cpuCount'] = 8;
  27. */
  28. /*
  29. $propOverride['LB_123essay_net_54_185_155_66']['cpuCount'] = 4;
  30. $propOverride['LB_123essay_net_54_202_188_247']['cpuCount'] = 4;
  31. $propOverride['LB_admin_uncomp_com_54_184_253_35']['cpuCount'] = 4;
  32. */
  33.  
  34.  
  35.  
  36.  
  37. $customListToHg = array (
  38. array ( 'hostSource' => 'db-hosts', 'hostGroup' => "db-hosts", 'name' => 'db-hosts' ),
  39. array ( 'hostSource' => 'developers-hosts', 'hostGroup' => "developers-hosts", 'name' => 'developers-hosts' ),
  40.  
  41. );
  42.  
  43.  
  44. $customDashToHg = array (
  45. array ( 'dashTemplate' => 'ext-proxy', 'hostGroup' => "proxy-site", 'name' => 'nginx sites overview' ),
  46. array ( 'dashTemplate' => 'ext-proxy-nginx', 'hostGroup' => "proxy-site", 'name' => 'nginx system overview' ),
  47. );
  48.  
  49.  
  50.  
  51. $customListToType = array (
  52. // array ( 'hostSource' => 'mongo', 'type' => "CPU", 'name' => 'superlist' ),
  53. );
  54.  
  55.  
  56.  
  57. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement