questions.yaml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546
  1. groups:
  2. - name: Monitee-agent Configuration
  3. description: Configure Monitee-agent
  4. - name: Network Configuration
  5. description: Configure Network for Monitee-agent
  6. - name: Storage Configuration
  7. description: Configure Storage for Monitee-agent
  8. - name: Labels Configuration
  9. description: Configure Labels for Monitee-agent
  10. - name: Resources Configuration
  11. description: Configure Resources for Monitee-agent
  12. questions:
  13. - variable: TZ
  14. group: Monitee-agent Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: monitee_agent
  23. label: ""
  24. group: Monitee-agent Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: docker_enable
  29. label: Enable Docker Monitoring Mode
  30. description: Enable to allow monitee-agent to manage Docker Containers on your system.
  31. schema:
  32. type: boolean
  33. default: false
  34. - variable: storage_monitoring_enable
  35. label: Enable disks monitoring
  36. description: Enable to allow monitee-agent to see storage devices on your system.
  37. schema:
  38. type: boolean
  39. default: false
  40. - variable: devices
  41. label: Devices for temperature monitoring
  42. description: |
  43. Devices to monitor SMART temperature attributes for </br>
  44. Example: </br>
  45. Host Device: /dev/sda </br>
  46. Container Device: /dev/sda
  47. schema:
  48. type: list
  49. default: []
  50. items:
  51. - variable: device
  52. label: Device
  53. schema:
  54. type: dict
  55. attrs:
  56. - variable: host_device
  57. label: Host Device
  58. schema:
  59. type: string
  60. required: true
  61. - variable: container_device
  62. label: Container Device
  63. schema:
  64. type: string
  65. required: true
  66. - variable: additional_envs
  67. label: Additional Environment Variables
  68. schema:
  69. type: list
  70. default: []
  71. items:
  72. - variable: env
  73. label: Environment Variable
  74. schema:
  75. type: dict
  76. attrs:
  77. - variable: name
  78. label: Name
  79. schema:
  80. type: string
  81. required: true
  82. - variable: value
  83. label: Value
  84. schema:
  85. type: string
  86. - variable: network
  87. label: ""
  88. group: Network Configuration
  89. schema:
  90. type: dict
  91. attrs:
  92. - variable: host_network
  93. label: Host Network
  94. description: |
  95. Bind to the host network. Without it, monitee-agent won't be able to monitor network interfaces.
  96. schema:
  97. type: boolean
  98. default: true
  99. - variable: https_port
  100. label: HTTPS Port
  101. schema:
  102. type: dict
  103. attrs:
  104. - variable: bind_mode
  105. label: Port Bind Mode
  106. description: |
  107. The port bind mode.</br>
  108. - Publish: The port will be published on the host for external access.</br>
  109. - Expose: The port will be exposed for inter-container communication.</br>
  110. - None: The port will not be exposed or published.</br>
  111. Note: If the Dockerfile defines an EXPOSE directive,
  112. the port will still be exposed for inter-container communication regardless of this setting.
  113. schema:
  114. type: string
  115. default: "published"
  116. enum:
  117. - value: "published"
  118. description: Publish port on the host for external access
  119. - value: "exposed"
  120. description: Expose port for inter-container communication
  121. - value: ""
  122. description: None
  123. - variable: port_number
  124. label: Port Number
  125. schema:
  126. type: int
  127. default: 30135
  128. min: 1
  129. max: 65535
  130. required: true
  131. - variable: host_ips
  132. label: Host IPs
  133. description: IPs on the host to bind this port
  134. schema:
  135. type: list
  136. show_if: [["bind_mode", "=", "published"]]
  137. default: []
  138. items:
  139. - variable: host_ip
  140. label: Host IP
  141. schema:
  142. type: string
  143. required: true
  144. $ref:
  145. - definitions/node_bind_ip
  146. - variable: http_port
  147. label: HTTP Port
  148. schema:
  149. type: dict
  150. attrs:
  151. - variable: bind_mode
  152. label: Port Bind Mode
  153. description: |
  154. The port bind mode.</br>
  155. - Publish: The port will be published on the host for external access.</br>
  156. - Expose: The port will be exposed for inter-container communication.</br>
  157. - None: The port will not be exposed or published.</br>
  158. Note: If the Dockerfile defines an EXPOSE directive,
  159. the port will still be exposed for inter-container communication regardless of this setting.
  160. schema:
  161. type: string
  162. default: "published"
  163. enum:
  164. - value: "published"
  165. description: Publish port on the host for external access
  166. - value: "exposed"
  167. description: Expose port for inter-container communication
  168. - value: ""
  169. description: None
  170. - variable: port_number
  171. label: Port Number
  172. schema:
  173. type: int
  174. default: 30136
  175. min: 1
  176. max: 65535
  177. required: true
  178. - variable: host_ips
  179. label: Host IPs
  180. description: IPs on the host to bind this port
  181. schema:
  182. type: list
  183. show_if: [["bind_mode", "=", "published"]]
  184. default: []
  185. items:
  186. - variable: host_ip
  187. label: Host IP
  188. schema:
  189. type: string
  190. required: true
  191. $ref:
  192. - definitions/node_bind_ip
  193. - variable: storage
  194. label: ""
  195. group: Storage Configuration
  196. schema:
  197. type: dict
  198. attrs:
  199. - variable: config
  200. label: Monitee-agent Config Storage
  201. description: The path to store monitee-agent configuration files
  202. schema:
  203. type: dict
  204. attrs:
  205. - variable: type
  206. label: Type
  207. description: |
  208. ixVolume: Is dataset created automatically by the system.</br>
  209. Host Path: Is a path that already exists on the system.
  210. schema:
  211. type: string
  212. required: true
  213. default: "ix_volume"
  214. enum:
  215. - value: "host_path"
  216. description: Host Path (Path that already exists on the system)
  217. - value: "ix_volume"
  218. description: ixVolume (Dataset created automatically by the system)
  219. - variable: ix_volume_config
  220. label: ixVolume Configuration
  221. description: The configuration for the ixVolume dataset.
  222. schema:
  223. type: dict
  224. show_if: [["type", "=", "ix_volume"]]
  225. $ref:
  226. - "normalize/ix_volume"
  227. attrs:
  228. - variable: acl_enable
  229. label: Enable ACL
  230. description: Enable ACL for the storage.
  231. schema:
  232. type: boolean
  233. default: false
  234. - variable: dataset_name
  235. label: Dataset Name
  236. description: The name of the dataset to use for storage.
  237. schema:
  238. type: string
  239. required: true
  240. hidden: true
  241. default: "config"
  242. - variable: acl_entries
  243. label: ACL Configuration
  244. schema:
  245. type: dict
  246. show_if: [["acl_enable", "=", true]]
  247. attrs: []
  248. - variable: host_path_config
  249. label: Host Path Configuration
  250. schema:
  251. type: dict
  252. show_if: [["type", "=", "host_path"]]
  253. attrs:
  254. - variable: acl_enable
  255. label: Enable ACL
  256. description: Enable ACL for the storage.
  257. schema:
  258. type: boolean
  259. default: false
  260. - variable: acl
  261. label: ACL Configuration
  262. schema:
  263. type: dict
  264. show_if: [["acl_enable", "=", true]]
  265. attrs: []
  266. $ref:
  267. - "normalize/acl"
  268. - variable: path
  269. label: Host Path
  270. description: The host path to use for storage.
  271. schema:
  272. type: hostpath
  273. show_if: [["acl_enable", "=", false]]
  274. required: true
  275. - variable: data
  276. label: Monitee-agent data Storage
  277. description: The path to store data files.
  278. schema:
  279. type: dict
  280. attrs:
  281. - variable: type
  282. label: Type
  283. description: |
  284. ixVolume: Is dataset created automatically by the system.</br>
  285. Host Path: Is a path that already exists on the system.
  286. schema:
  287. type: string
  288. required: true
  289. default: "ix_volume"
  290. enum:
  291. - value: "host_path"
  292. description: Host Path (Path that already exists on the system)
  293. - value: "ix_volume"
  294. description: ixVolume (Dataset created automatically by the system)
  295. - variable: ix_volume_config
  296. label: ixVolume Configuration
  297. description: The configuration for the ixVolume dataset.
  298. schema:
  299. type: dict
  300. show_if: [["type", "=", "ix_volume"]]
  301. $ref:
  302. - "normalize/ix_volume"
  303. attrs:
  304. - variable: acl_enable
  305. label: Enable ACL
  306. description: Enable ACL for the storage.
  307. schema:
  308. type: boolean
  309. default: false
  310. - variable: dataset_name
  311. label: Dataset Name
  312. description: The name of the dataset to use for storage.
  313. schema:
  314. type: string
  315. required: true
  316. hidden: true
  317. default: "data"
  318. - variable: acl_entries
  319. label: ACL Configuration
  320. schema:
  321. type: dict
  322. show_if: [["acl_enable", "=", true]]
  323. attrs: []
  324. - variable: host_path_config
  325. label: Host Path Configuration
  326. schema:
  327. type: dict
  328. show_if: [["type", "=", "host_path"]]
  329. attrs:
  330. - variable: acl_enable
  331. label: Enable ACL
  332. description: Enable ACL for the storage.
  333. schema:
  334. type: boolean
  335. default: false
  336. - variable: acl
  337. label: ACL Configuration
  338. schema:
  339. type: dict
  340. show_if: [["acl_enable", "=", true]]
  341. attrs: []
  342. $ref:
  343. - "normalize/acl"
  344. - variable: path
  345. label: Host Path
  346. description: The host path to use for storage.
  347. schema:
  348. type: hostpath
  349. show_if: [["acl_enable", "=", false]]
  350. required: true
  351. - variable: additional_storage
  352. label: Additional Storage
  353. schema:
  354. type: list
  355. default: []
  356. items:
  357. - variable: storageEntry
  358. label: Storage Entry
  359. schema:
  360. type: dict
  361. attrs:
  362. - variable: type
  363. label: Type
  364. description: |
  365. ixVolume: Is dataset created automatically by the system.</br>
  366. Host Path: Is a path that already exists on the system.</br>
  367. SMB Share: Is a SMB share that is mounted to as a volume.
  368. schema:
  369. type: string
  370. required: true
  371. default: "ix_volume"
  372. enum:
  373. - value: "host_path"
  374. description: Host Path (Path that already exists on the system)
  375. - value: "ix_volume"
  376. description: ixVolume (Dataset created automatically by the system)
  377. - value: "cifs"
  378. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  379. - variable: read_only
  380. label: Read Only
  381. description: Mount the volume as read only.
  382. schema:
  383. type: boolean
  384. default: false
  385. - variable: mount_path
  386. label: Mount Path
  387. description: The path inside the container to mount the storage.
  388. schema:
  389. type: path
  390. required: true
  391. - variable: host_path_config
  392. label: Host Path Configuration
  393. schema:
  394. type: dict
  395. show_if: [["type", "=", "host_path"]]
  396. attrs:
  397. - variable: acl_enable
  398. label: Enable ACL
  399. description: Enable ACL for the storage.
  400. schema:
  401. type: boolean
  402. default: false
  403. - variable: acl
  404. label: ACL Configuration
  405. schema:
  406. type: dict
  407. show_if: [["acl_enable", "=", true]]
  408. attrs: []
  409. $ref:
  410. - "normalize/acl"
  411. - variable: path
  412. label: Host Path
  413. description: The host path to use for storage.
  414. schema:
  415. type: hostpath
  416. show_if: [["acl_enable", "=", false]]
  417. required: true
  418. - variable: ix_volume_config
  419. label: ixVolume Configuration
  420. description: The configuration for the ixVolume dataset.
  421. schema:
  422. type: dict
  423. show_if: [["type", "=", "ix_volume"]]
  424. $ref:
  425. - "normalize/ix_volume"
  426. attrs:
  427. - variable: acl_enable
  428. label: Enable ACL
  429. description: Enable ACL for the storage.
  430. schema:
  431. type: boolean
  432. default: false
  433. - variable: dataset_name
  434. label: Dataset Name
  435. description: The name of the dataset to use for storage.
  436. schema:
  437. type: string
  438. required: true
  439. default: "storage_entry"
  440. - variable: acl_entries
  441. label: ACL Configuration
  442. schema:
  443. type: dict
  444. show_if: [["acl_enable", "=", true]]
  445. attrs: []
  446. - variable: cifs_config
  447. label: SMB Configuration
  448. description: The configuration for the SMB dataset.
  449. schema:
  450. type: dict
  451. show_if: [["type", "=", "cifs"]]
  452. attrs:
  453. - variable: server
  454. label: Server
  455. description: The server to mount the SMB share.
  456. schema:
  457. type: string
  458. required: true
  459. - variable: path
  460. label: Path
  461. description: The path to mount the SMB share.
  462. schema:
  463. type: string
  464. required: true
  465. - variable: username
  466. label: Username
  467. description: The username to use for the SMB share.
  468. schema:
  469. type: string
  470. required: true
  471. - variable: password
  472. label: Password
  473. description: The password to use for the SMB share.
  474. schema:
  475. type: string
  476. required: true
  477. private: true
  478. - variable: domain
  479. label: Domain
  480. description: The domain to use for the SMB share.
  481. schema:
  482. type: string
  483. - variable: labels
  484. label: ""
  485. group: Labels Configuration
  486. schema:
  487. type: list
  488. default: []
  489. items:
  490. - variable: label
  491. label: Label
  492. schema:
  493. type: dict
  494. attrs:
  495. - variable: key
  496. label: Key
  497. schema:
  498. type: string
  499. required: true
  500. - variable: value
  501. label: Value
  502. schema:
  503. type: string
  504. required: true
  505. - variable: containers
  506. label: Containers
  507. description: Containers where the label should be applied
  508. schema:
  509. type: list
  510. items:
  511. - variable: container
  512. label: Container
  513. schema:
  514. type: string
  515. required: true
  516. enum:
  517. - value: monitee-agent
  518. description: monitee-agent
  519. - variable: resources
  520. label: ""
  521. group: Resources Configuration
  522. schema:
  523. type: dict
  524. attrs:
  525. - variable: limits
  526. label: Limits
  527. schema:
  528. type: dict
  529. attrs:
  530. - variable: cpus
  531. label: CPUs
  532. description: CPUs limit for Monitee-agent.
  533. schema:
  534. type: int
  535. default: 2
  536. required: true
  537. - variable: memory
  538. label: Memory (in MB)
  539. description: Memory limit for Monitee-agent.
  540. schema:
  541. type: int
  542. default: 4096
  543. required: true