Advertisement
philips66

472Config

Dec 21st, 2017
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.09 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <!--Leave the version information intact-->
  3. <Settings version="4.7.2">
  4.  
  5. <!--
  6. ***************************************************************************
  7. *
  8. * Mandatory configuration section
  9. * All fields in this section must be configured in order for the script to work
  10. *
  11. ***************************************************************************
  12. -->
  13.  
  14. <!--
  15. *******************************************************************************
  16. *
  17. * Credentials used for gathering the data
  18. * You need to use the same credentials for all load balancers
  19. *
  20. * For security reasons I'd advise you to create a dedicated user for this script using the following settings
  21. * Role: Guest
  22. * Partition Access: All
  23. * Terminal Access: Disabled
  24. *
  25. *******************************************************************************
  26. -->
  27.  
  28. <Credentials>
  29. <Username>EngF5Audr</Username>
  30. <Password>ejrtjjjet57</Password>
  31. </Credentials>
  32.  
  33. <!--
  34. **************************************************************************************************************************************
  35. *
  36. * This variable contains the load balancers which configuration you want base the report on.
  37. *
  38. * Example:
  39. * <Loadbalancers>
  40. * <Loadbalancer>10.1.0.20</Loadbalancer>
  41. * <Loadbalancer>192.168.1.23</Loadbalancer>
  42. * </Loadbalancers>
  43. *
  44. **************************************************************************************************************************************
  45. -->
  46.  
  47. <Loadbalancers>
  48. <Loadbalancer>10.60.88.15</Loadbalancer>
  49. </Loadbalancers>
  50.  
  51.  
  52. <!--
  53. **************************************************************************************************************************************
  54. *
  55. * Which folder to store the generated report in. Can be a local path or a network path.
  56. *
  57. * Examples
  58. * <ReportRoot>D:\Inetpub\wwwroot\</ReportRoot>
  59. * or
  60. * <ReportRoot>\\aserver.domain.local\wwwshare$\</ReportRoot>
  61. *
  62. **************************************************************************************************************************************
  63. -->
  64.  
  65. <ReportRoot>C:\Inetpub\wwwroot\</ReportRoot>
  66.  
  67. <!--
  68. **************************************************************************************************************************************
  69. *
  70. * Name the default document
  71. * IIS users might want to set this to default.htm
  72. * Apache users might want to set this to index.html
  73. *
  74. * Examples:
  75. * <DefaultDocument>default.html</DefaultDocument>
  76. * or
  77. * <DefaultDocument>index.html</DefaultDocument>
  78. *
  79. **************************************************************************************************************************************
  80. -->
  81.  
  82. <DefaultDocument>default.html</DefaultDocument>
  83.  
  84. <!--
  85. ************************************************************
  86. *
  87. * Optional configuration below
  88. * The section below contains optional configuration.
  89. *
  90. * Leave as is, or configure as you like.
  91. *
  92. ************************************************************
  93. -->
  94.  
  95. <!--
  96. **************************************************************************************************************************************
  97. *
  98. * Log settings
  99. *
  100. * <Enabled> - Determines if the logging is enabled or not. If it is enabled you MUST configure the other settings too.
  101. * <LogFilePath> - Where to store the log. Can also be a share.
  102. * <LogLevel> - Which level to log. Verbose = Informational messages included, Normal = only errors/warnings
  103. * <MaximumLines> - How many lines the logfile should be kept at (will be pruned at the end of script runtime). Depending on your environment, but you'll want to set this to a quite high number.
  104. *
  105. * Example of enabled logging:
  106. * <Logsettings>
  107. * <Enabled>true</Enabled>
  108. * <LogFilePath>C:\Script\Log\bigipreport.log</LogFilePath>
  109. * <LogLevel>Verbose</LogLevel>
  110. * <MaximumLines>100000</MaximumLines>
  111. * </LogSettings>
  112. *
  113. * Example of disabled logging:
  114. * <LogSettings>
  115. * <Enabled>false</Enabled>
  116. * <LogFilePath></LogFilePath>
  117. * <LogLevel></LogLevel>
  118. * <MaximumLines></MaximumLines>
  119. * </LogSettings>
  120. *
  121. **************************************************************************************************************************************
  122. -->
  123.  
  124. <LogSettings>
  125. <Enabled>false</Enabled>
  126. <LogFilePath></LogFilePath>
  127. <LogLevel></LogLevel>
  128. <MaximumLines></MaximumLines>
  129. </LogSettings>
  130.  
  131. <!--
  132. **************************************************************************************************************************************
  133. *
  134. * This section controls how much information you want to see on the screen.
  135. * Useful for debugging, but there's no harm to leave it on verbose
  136. *
  137. * Levels:
  138. * Normal - Only errors
  139. * Verbose - Informational messages too
  140. *
  141. * Examples:
  142. * <Outputlevel>Normal</Outputlevel>
  143. * <Outputlevel>Verbose</Outputlevel>
  144. *
  145. **************************************************************************************************************************************
  146. -->
  147.  
  148. <Outputlevel>Verbose</Outputlevel>
  149.  
  150.  
  151. <!--
  152. **************************************************************************************************************************************
  153. *
  154. * Pool exceptions contains pools you don't want shown in the report, for instance any syslog pools.
  155. * Can be left blank ($Global:poolexceptions = @())
  156. *
  157. * Example:
  158. * <PoolExceptions>
  159. * <PoolException>/Common/mypool</PoolException>
  160. * <PoolException>/Common/invisiblepool</PoolException>
  161. * <PoolException>/Common/syslog_pool</PoolException>
  162. * <PoolException>/MyPartition/anotherpool</PoolException>
  163. * </PoolExceptions>
  164. *
  165. **************************************************************************************************************************************
  166. -->
  167.  
  168. <PoolExceptions>
  169. </PoolExceptions>
  170.  
  171. <!--
  172. **************************************************************************************************************************************
  173. *
  174. * In many cases the load balancer is using internal virtual addresses while letting the firewall do the NAT.
  175. * If you want to add external IP translation you can put them in a file.
  176. *
  177. * The text file should contain rows with the format [public ip]=[private ip]
  178. * 1.1.1.1=10.10.10.1
  179. * 1.1.1.2=10.10.10.2
  180. *
  181. * Examples of enabled nat file:
  182. * <NATFilePath>C:\NATs\natfile.nat</NATFilePath>
  183. * or
  184. * <NATFilePath>\\myserver\share\natfile.txt</NATFilePath>
  185. *
  186. * Example of disabled NAT file
  187. * <NATFilePath></NATFilePath>
  188. *
  189. **************************************************************************************************************************************
  190. -->
  191.  
  192. <NATFilePath></NATFilePath>
  193.  
  194. <!--
  195. **************************************************************************************************************************************
  196. *
  197. * This variable enables or disables the use of TLS1.2. If disabled the script will revert to TLS1.0
  198. *
  199. * To enable, set the variable to true, otherwise false
  200. *
  201. * Example:
  202. * <UseTLS12>true</UseTLS12>
  203. * or
  204. * <UseTLS12>false</UseTLS12>
  205. *
  206. **************************************************************************************************************************************
  207. -->
  208.  
  209. <UseTLS12>true</UseTLS12>
  210.  
  211. <!--
  212. **************************************************************************************************************************************
  213. *
  214. * In this section you can choose to hide partition information to save space in the report.
  215. * To show, set to true. To hide, set to false.
  216. *
  217. * Example:
  218. * <PartitionInformation>
  219. * <ShowPoolPartition>false</ShowPoolPartition>
  220. * <ShowPoolMemberPartition>false</ShowPoolMemberPartition>
  221. * </PartitionInformation>
  222. *
  223. **************************************************************************************************************************************
  224. -->
  225.  
  226. <PartitionInformation>
  227. <ShowPoolPartition>false</ShowPoolPartition>
  228. <ShowPoolMemberPartition>false</ShowPoolMemberPartition>
  229. </PartitionInformation>
  230.  
  231. <!--
  232.  
  233. Here you can configure individual iRule you want to expose to the clients.
  234. These will be available in the iRules section even if iRules are disabled below.
  235.  
  236. Example:
  237. <iRules>
  238. <iRule>
  239. <Loadbalancer>f501.j.local</Loadbalancer>
  240. <iRuleName>/Common/miscvip.j.local-pool_selection</iRuleName>
  241. </iRule>
  242. <iRule>
  243. <Loadbalancer>f502.j.local</Loadbalancer>
  244. <iRuleName>/Common/generate_ga_code</iRuleName>
  245. </iRule>
  246. </iRules>
  247.  
  248. -->
  249.  
  250. <iRules>
  251. </iRules>
  252.  
  253. <!--
  254. **************************************************************************************************************************************
  255. *
  256. * In this section you can choose to hide the load balancer TLD section to save space in the report.
  257. * This means that "loadbalancername.mydomain.local" is shown as "loadbalancername"
  258. *
  259. * Example:
  260. * <HideLoadBalancerFQDN>true</HideLoadBalancerFQDN>
  261. *
  262. **************************************************************************************************************************************
  263. -->
  264.  
  265. <HideLoadBalancerFQDN>true</HideLoadBalancerFQDN>
  266.  
  267. <!--
  268. **************************************************************************************************************************************
  269. *
  270. * Error reporting
  271. * This means that "loadbalancername.mydomain.local" is shown as "loadbalancername"
  272. *
  273. * <Enabled> This variable controls if the reports sends emails or not.
  274. * Note that if you use this one you MUST configure the mailerrorto and mailfrom variables too.
  275. * Set to true to enable. False to disable
  276. *
  277. * <Sender> This is the variable containing the sender mail of the report.
  278. *
  279. * <Recipients> Contains the recipients of the report. Multiple recipients can be configured.
  280. *
  281. * <SMTPServer> Contains the address to the smtp server.
  282. *
  283. * Example of enabled error reporting
  284. * <ErrorReporting>
  285. * <Enabled>true</Enabled>
  286. * <Sender>myscript@mydomain.com</Sender>
  287. * <Recipients>
  288. * <Recipient>opsteam@mydomain.com</Recipient>
  289. * </Recipients>
  290. * <SMTPServer>mysmtpserver.mydomain.com</SMTPServer>
  291. * </ErrorReporting>
  292. *
  293. * Example of disabled error reporting:
  294. * <ErrorReporting>
  295. * <Enabled>false</Enabled>
  296. * </ErrorReporting>
  297. -->
  298.  
  299. <ErrorReporting>
  300. <Enabled>true</Enabled>
  301. <Sender>shanop@zapga.com</Sender>
  302. <Recipients>
  303. <Recipient>phill.shannon@zapa.com</Recipient>
  304. </Recipients>
  305. <SMTPServer>exintxopen.zapa.com</SMTPServer>
  306. </ErrorReporting>
  307.  
  308.  
  309. <!--
  310.  
  311. **************************************************************************************************************************************
  312. *
  313. * Share the report should authenticate
  314. * Used if the report is generated on a separate server
  315. *
  316. * Example of share config:
  317. * <Shares>
  318. * <Share>
  319. * <Path>\\myserver\myshare</Path>
  320. * <Username>shareuser</Username>
  321. * <Password>password</Password>
  322. * </Share>
  323. * </Shares>
  324. *
  325. * Example of no share
  326. * <Shares>
  327. * </Shares>
  328. *
  329. **************************************************************************************************************************************
  330.  
  331. -->
  332.  
  333. <Shares>
  334. </Shares>
  335.  
  336. <!--
  337.  
  338. ***********************************************************************************************************************************************
  339. *
  340. * Global irules configuration
  341. * Here you can configure if virtual server irules and data group lists should be listed and if they should be linked
  342. *
  343. * Note:
  344. * If you set any of these options to from true to false the report will clear any information in the next update from the json files
  345. * in order to make sure that no unwanted data is available to clients
  346. *
  347. * Right now you can't configure data group list links unless irules are enabled.
  348. * Let me know if this is an issue and I'll see if I can fix it in a future version.
  349. *
  350. * Example of when irules are showing in the virtual server details and both irules + data group lists are available for clients to see:
  351. * <iRules>
  352. * <Enabled>true</Enabled>
  353. * <ShowiRuleLinks>true</ShowiRuleLinks>
  354. * <ShowDataGroupListLinks>true</ShowDataGroupListLinks>
  355. * </iRules>
  356. *
  357. * Example of when irules are showing in the virtual server details, irules are available, but not the data group lists:
  358. * <iRules>
  359. * <Enabled>true</Enabled>
  360. * <ShowiRuleLinks>true</ShowiRuleLinks>
  361. * <ShowDataGroupListLinks>false</ShowDataGroupListLinks>
  362. * </iRules>
  363. * Example of when no iRules or data group lists is shown at all in the virtual server details:
  364. * <iRules>
  365. * <Enabled>false</Enabled>
  366. * <ShowiRuleLinks>false</ShowiRuleLinks>
  367. * <ShowDataGroupListLinks>false</ShowDataGroupListLinks>
  368. * </iRules>
  369. *
  370. ************************************************************************************************************************************************
  371.  
  372. -->
  373.  
  374. <iRules>
  375. <Enabled>true</Enabled>
  376. <ShowiRuleLinks>true</ShowiRuleLinks>
  377. <ShowDataGroupListsLinks>true</ShowDataGroupListsLinks>
  378. </iRules>
  379.  
  380. <!--
  381.  
  382. ***********************************************************************************************************************************************
  383. *
  384. * Export link settings
  385. *
  386. * Enabled:
  387. * <ExportLink>
  388. * <Enabled>true</Enabled>
  389. * </ExportLink>
  390. *
  391. * Disabled:
  392. * <ExportLink>
  393. * <Enabled>false</Enabled>
  394. * </ExportLink> *
  395. ************************************************************************************************************************************************
  396.  
  397. -->
  398.  
  399. <ExportLink>
  400. <Enabled>true</Enabled>
  401. </ExportLink>
  402.  
  403. </Settings>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement