Guest User

Untitled

a guest
Sep 8th, 2017
329
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /etc/centreon-broker/
  2. total 20
  3. -rw-rw-r-- 1 centreon-broker centreon-broker 4982 Sep 8 14:22 central-broker.xml
  4. -rw-rw-r-- 1 centreon-broker centreon-broker 2079 Sep 8 14:22 central-module.xml
  5. -rw-rw-r-- 1 centreon-broker centreon-broker 2723 Sep 8 14:22 central-rrd.xml
  6. -rw-rw-r-- 1 centreon-broker centreon-broker 504 Mar 22 11:01 master.run
  7. [root@monperfcntr01 centreon-broker]# cat /etc/centreon-broker/master.run
  8. ## This file define the Centreon Broker daemons to start
  9. # Example :
  10. # central-cbd central-cbd.xml y y
  11. # central-rrd central-rrd.xml y n
  12. #
  13. # The first line the daemon central-cbd is started with start action from
  14. # /etc/init.d/cbd and it's reload by action reload of init script
  15. #
  16. # The second line the daemon central-rrd is started but it is not reload by
  17. # action in /etc/cbd reload
  18. #
  19. #
  20. # daemon_name daemon_config running reload
  21. central-rrd central-rrd.xml y y
  22. central-broker central-broker.xml y y
  23.  
  24. [root@monperfcntr01 centreon-broker]# cat /etc/centreon-broker/central-broker.xml
  25. <?xml version="1.0" encoding="UTF-8"?>
  26. <centreonBroker>
  27. <instance><![CDATA[1]]></instance>
  28. <instance_name><![CDATA[Central]]></instance_name>
  29. <module_directory><![CDATA[/usr/share/centreon/lib/centreon-broker]]></module_directory>
  30. <log_timestamp><![CDATA[1]]></log_timestamp>
  31. <log_thread_id><![CDATA[0]]></log_thread_id>
  32. <event_queue_max_size><![CDATA[50000]]></event_queue_max_size>
  33. <command_file><![CDATA[]]></command_file>
  34. <input>
  35. <name><![CDATA[central-broker-master-input]]></name>
  36. <port><![CDATA[5669]]></port>
  37. <retry_interval><![CDATA[60]]></retry_interval>
  38. <buffering_timeout><![CDATA[0]]></buffering_timeout>
  39. <protocol><![CDATA[bbdo]]></protocol>
  40. <tls><![CDATA[auto]]></tls>
  41. <negotiation><![CDATA[yes]]></negotiation>
  42. <one_peer_retention_mode><![CDATA[no]]></one_peer_retention_mode>
  43. <compression><![CDATA[auto]]></compression>
  44. <type><![CDATA[ipv4]]></type>
  45. </input>
  46. <logger>
  47. <name><![CDATA[/var/log/centreon-broker/central-broker-master.log]]></name>
  48. <config><![CDATA[yes]]></config>
  49. <debug><![CDATA[no]]></debug>
  50. <error><![CDATA[yes]]></error>
  51. <info><![CDATA[yes]]></info>
  52. <level><![CDATA[medium]]></level>
  53. <max_size><![CDATA[50000000000]]></max_size>
  54. <type><![CDATA[file]]></type>
  55. </logger>
  56. <output>
  57. <name><![CDATA[central-broker-master-sql]]></name>
  58. <db_type><![CDATA[mysql]]></db_type>
  59. <retry_interval><![CDATA[60]]></retry_interval>
  60. <buffering_timeout><![CDATA[0]]></buffering_timeout>
  61. <db_host><![CDATA[localhost]]></db_host>
  62. <db_port><![CDATA[3306]]></db_port>
  63. <db_user><![CDATA[centreon]]></db_user>
  64. <db_password><![CDATA[23123]]></db_password>
  65. <db_name><![CDATA[centreon_storage]]></db_name>
  66. <check_replication><![CDATA[no]]></check_replication>
  67. <type><![CDATA[sql]]></type>
  68. <failover><![CDATA[central-broker-master-sql-output-failover]]></failover>
  69. </output>
  70. <output>
  71. <name><![CDATA[centreon-broker-master-rrd]]></name>
  72. <port><![CDATA[5670]]></port>
  73. <host><![CDATA[localhost]]></host>
  74. <retry_interval><![CDATA[60]]></retry_interval>
  75. <buffering_timeout><![CDATA[0]]></buffering_timeout>
  76. <protocol><![CDATA[bbdo]]></protocol>
  77. <tls><![CDATA[no]]></tls>
  78. <negotiation><![CDATA[yes]]></negotiation>
  79. <one_peer_retention_mode><![CDATA[no]]></one_peer_retention_mode>
  80. <compression><![CDATA[no]]></compression>
  81. <type><![CDATA[ipv4]]></type>
  82. <failover><![CDATA[centreon-broker-master-rrd-output-failover]]></failover>
  83. </output>
  84. <output>
  85. <name><![CDATA[central-broker-master-perfdata]]></name>
  86. <interval><![CDATA[60]]></interval>
  87. <retry_interval><![CDATA[60]]></retry_interval>
  88. <buffering_timeout><![CDATA[0]]></buffering_timeout>
  89. <length><![CDATA[15552000]]></length>
  90. <db_type><![CDATA[mysql]]></db_type>
  91. <db_host><![CDATA[localhost]]></db_host>
  92. <db_port><![CDATA[3306]]></db_port>
  93. <db_user><![CDATA[centreon]]></db_user>
  94. <db_password><![CDATA[123123]]></db_password>
  95. <db_name><![CDATA[centreon_storage]]></db_name>
  96. <queries_per_transaction><![CDATA[20000]]></queries_per_transaction>
  97. <check_replication><![CDATA[no]]></check_replication>
  98. <store_in_data_bin><![CDATA[yes]]></store_in_data_bin>
  99. <insert_in_index_data><![CDATA[1]]></insert_in_index_data>
  100. <type><![CDATA[storage]]></type>
  101. <failover><![CDATA[central-broker-master-perfdata-output-failover]]></failover>
  102. </output>
  103. <output>
  104. <type><![CDATA[file]]></type>
  105. <name><![CDATA[central-broker-master-sql-output-failover]]></name>
  106. <path><![CDATA[/var/lib/centreon-broker/central-broker-master_central-broker-master-sql.retention]]></path>
  107. <protocol><![CDATA[bbdo]]></protocol>
  108. <compression><![CDATA[auto]]></compression>
  109. <max_size><![CDATA[524288000]]></max_size>
  110. </output>
  111. <output>
  112. <type><![CDATA[file]]></type>
  113. <name><![CDATA[centreon-broker-master-rrd-output-failover]]></name>
  114. <path><![CDATA[/var/lib/centreon-broker/central-broker-master_centreon-broker-master-rrd.retention]]></path>
  115. <protocol><![CDATA[bbdo]]></protocol>
  116. <compression><![CDATA[auto]]></compression>
  117. <max_size><![CDATA[524288000]]></max_size>
  118. </output>
  119. <output>
  120. <type><![CDATA[file]]></type>
  121. <name><![CDATA[central-broker-master-perfdata-output-failover]]></name>
  122. <path><![CDATA[/var/lib/centreon-broker/central-broker-master_central-broker-master-perfdata.retention]]></path>
  123. <protocol><![CDATA[bbdo]]></protocol>
  124. <compression><![CDATA[auto]]></compression>
  125. <max_size><![CDATA[524288000]]></max_size>
  126. </output>
  127. <temporary>
  128. <type><![CDATA[file]]></type>
  129. <name><![CDATA[central-broker-master-temporary]]></name>
  130. <path><![CDATA[/var/lib/centreon-broker/central-broker-master.temporary]]></path>
  131. <protocol><![CDATA[bbdo]]></protocol>
  132. <compression><![CDATA[auto]]></compression>
  133. <max_size><![CDATA[524288000]]></max_size>
  134. </temporary>
  135. <stats>
  136. <type><![CDATA[stats]]></type>
  137. <name><![CDATA[central-broker-master-stats]]></name>
  138. <fifo><![CDATA[/var/lib/centreon-broker/central-broker-master.stats]]></fifo>
  139. </stats>
  140. </centreonBroker>
  141. [root@monperfcntr01 centreon-broker]# cat /etc/centreon-broker/central-module.xml
  142. <centreonBroker>
  143. <instance><![CDATA[1]]></instance>
  144. <instance_name><![CDATA[Central]]></instance_name>
  145. <module_directory><![CDATA[/usr/share/centreon/lib/centreon-broker]]></module_directory>
  146. <log_timestamp><![CDATA[0]]></log_timestamp>
  147. <log_thread_id><![CDATA[0]]></log_thread_id>
  148. <event_queue_max_size><![CDATA[50000]]></event_queue_max_size>
  149. <command_file><![CDATA[]]></command_file>
  150. <logger>
  151. <name><![CDATA[/var/log/centreon-broker/central-module-master.log]]></name>
  152. <config><![CDATA[yes]]></config>
  153. <debug><![CDATA[no]]></debug>
  154. <error><![CDATA[yes]]></error>
  155. <info><![CDATA[yes]]></info>
  156. <level><![CDATA[low]]></level>
  157. <type><![CDATA[file]]></type>
  158. </logger>
  159. <output>
  160. <name><![CDATA[central-module-master-output]]></name>
  161. <port><![CDATA[5669]]></port>
  162. <host><![CDATA[localhost]]></host>
  163. <protocol><![CDATA[bbdo]]></protocol>
  164. <tls><![CDATA[no]]></tls>
  165. <negotiation><![CDATA[yes]]></negotiation>
  166. <one_peer_retention_mode><![CDATA[no]]></one_peer_retention_mode>
  167. <compression><![CDATA[no]]></compression>
  168. <type><![CDATA[ipv4]]></type>
  169. <failover><![CDATA[central-module-master-output-output-failover]]></failover>
  170. </output>
  171. <output>
  172. <type><![CDATA[file]]></type>
  173. <name><![CDATA[central-module-master-output-output-failover]]></name>
  174. <path><![CDATA[/var/lib/centreon-engine/central-module-master_central-module-master-output.retention]]></path>
  175. <protocol><![CDATA[bbdo]]></protocol>
  176. <compression><![CDATA[auto]]></compression>
  177. <max_size><![CDATA[524288000]]></max_size>
  178. </output>
  179. <temporary>
  180. <type><![CDATA[file]]></type>
  181. <name><![CDATA[central-module-master-temporary]]></name>
  182. <path><![CDATA[/var/lib/centreon-engine/central-module-master.temporary]]></path>
  183. <protocol><![CDATA[bbdo]]></protocol>
  184. <compression><![CDATA[auto]]></compression>
  185. <max_size><![CDATA[524288000]]></max_size>
  186. </temporary>
  187. <stats>
  188. <type><![CDATA[stats]]></type>
  189. <name><![CDATA[central-module-master-stats]]></name>
  190. <fifo><![CDATA[/var/lib/centreon-engine/central-module-master.stats]]></fifo>
  191. </stats>
  192. </centreonBroker>
  193. [root@monperfcntr01 centreon-broker]# cat /etc/centreon-broker/central-rrd.xml
  194. <centreonBroker>
  195. <instance><![CDATA[1]]></instance>
  196. <instance_name><![CDATA[Central]]></instance_name>
  197. <module_directory><![CDATA[/usr/share/centreon/lib/centreon-broker]]></module_directory>
  198. <log_timestamp><![CDATA[1]]></log_timestamp>
  199. <log_thread_id><![CDATA[0]]></log_thread_id>
  200. <event_queue_max_size><![CDATA[50000]]></event_queue_max_size>
  201. <command_file><![CDATA[]]></command_file>
  202. <input>
  203. <name><![CDATA[central-rrd-master-input]]></name>
  204. <port><![CDATA[5670]]></port>
  205. <retry_interval><![CDATA[60]]></retry_interval>
  206. <buffering_timeout><![CDATA[0]]></buffering_timeout>
  207. <protocol><![CDATA[bbdo]]></protocol>
  208. <tls><![CDATA[auto]]></tls>
  209. <negotiation><![CDATA[yes]]></negotiation>
  210. <one_peer_retention_mode><![CDATA[no]]></one_peer_retention_mode>
  211. <compression><![CDATA[auto]]></compression>
  212. <type><![CDATA[ipv4]]></type>
  213. </input>
  214. <logger>
  215. <name><![CDATA[/var/log/centreon-broker/central-rrd-master.log]]></name>
  216. <config><![CDATA[no]]></config>
  217. <debug><![CDATA[no]]></debug>
  218. <error><![CDATA[yes]]></error>
  219. <info><![CDATA[yes]]></info>
  220. <level><![CDATA[medium]]></level>
  221. <max_size><![CDATA[100000]]></max_size>
  222. <type><![CDATA[file]]></type>
  223. </logger>
  224. <output>
  225. <name><![CDATA[central-rrd-master-output]]></name>
  226. <metrics_path><![CDATA[/var/lib/centreon/metrics/]]></metrics_path>
  227. <status_path><![CDATA[/var/lib/centreon/status/]]></status_path>
  228. <retry_interval><![CDATA[60]]></retry_interval>
  229. <buffering_timeout><![CDATA[0]]></buffering_timeout>
  230. <write_metrics><![CDATA[yes]]></write_metrics>
  231. <store_in_data_bin><![CDATA[yes]]></store_in_data_bin>
  232. <write_status><![CDATA[yes]]></write_status>
  233. <insert_in_index_data><![CDATA[1]]></insert_in_index_data>
  234. <type><![CDATA[rrd]]></type>
  235. <failover><![CDATA[central-rrd-master-output-output-failover]]></failover>
  236. </output>
  237. <output>
  238. <type><![CDATA[file]]></type>
  239. <name><![CDATA[central-rrd-master-output-output-failover]]></name>
  240. <path><![CDATA[/var/lib/centreon-broker/central-rrd-master_central-rrd-master-output.retention]]></path>
  241. <protocol><![CDATA[bbdo]]></protocol>
  242. <compression><![CDATA[auto]]></compression>
  243. <max_size><![CDATA[524288000]]></max_size>
  244. </output>
  245. <temporary>
  246. <type><![CDATA[file]]></type>
  247. <name><![CDATA[central-rrd-master-temporary]]></name>
  248. <path><![CDATA[/var/lib/centreon-broker/central-rrd-master.temporary]]></path>
  249. <protocol><![CDATA[bbdo]]></protocol>
  250. <compression><![CDATA[auto]]></compression>
  251. <max_size><![CDATA[524288000]]></max_size>
  252. </temporary>
  253. <stats>
  254. <type><![CDATA[stats]]></type>
  255. <name><![CDATA[central-rrd-master-stats]]></name>
  256. <fifo><![CDATA[/var/lib/centreon-broker/central-rrd-master.stats]]></fifo>
  257. </stats>
  258. </centreonBroker>
RAW Paste Data