AlexandreAguirre

midclt

Oct 10th, 2024
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.28 KB | None | 0 0
  1. admin@nas[~]$ midclt call core.get_jobs | jq
  2. [
  3. {
  4. "id": 11,
  5. "method": "disk.sync_all",
  6. "arguments": [],
  7. "transient": false,
  8. "description": null,
  9. "abortable": false,
  10. "logs_path": null,
  11. "logs_excerpt": null,
  12. "progress": {
  13. "percent": 100,
  14. "description": "Syncing all disks complete",
  15. "extra": null
  16. },
  17. "result": "OK",
  18. "error": null,
  19. "exception": null,
  20. "exc_info": null,
  21. "state": "SUCCESS",
  22. "time_started": {
  23. "$date": 1728502477000
  24. },
  25. "time_finished": {
  26. "$date": 1728502477000
  27. },
  28. "credentials": {
  29. "type": "UNIX_SOCKET",
  30. "data": {
  31. "username": "root"
  32. }
  33. }
  34. },
  35. {
  36. "id": 13,
  37. "method": "pool.import_on_boot",
  38. "arguments": [],
  39. "transient": false,
  40. "description": null,
  41. "abortable": false,
  42. "logs_path": null,
  43. "logs_excerpt": null,
  44. "progress": {
  45. "percent": 100,
  46. "description": "",
  47. "extra": null
  48. },
  49. "result": null,
  50. "error": null,
  51. "exception": null,
  52. "exc_info": null,
  53. "state": "SUCCESS",
  54. "time_started": {
  55. "$date": 1728502477000
  56. },
  57. "time_finished": {
  58. "$date": 1728502485000
  59. },
  60. "credentials": {
  61. "type": "UNIX_SOCKET",
  62. "data": {
  63. "username": "root"
  64. }
  65. }
  66. },
  67. {
  68. "id": 14,
  69. "method": "certificate.dhparam_setup",
  70. "arguments": [],
  71. "transient": false,
  72. "description": null,
  73. "abortable": false,
  74. "logs_path": null,
  75. "logs_excerpt": null,
  76. "progress": {
  77. "percent": 100,
  78. "description": "",
  79. "extra": null
  80. },
  81. "result": null,
  82. "error": null,
  83. "exception": null,
  84. "exc_info": null,
  85. "state": "SUCCESS",
  86. "time_started": {
  87. "$date": 1728502477000
  88. },
  89. "time_finished": {
  90. "$date": 1728502477000
  91. },
  92. "credentials": {
  93. "type": "UNIX_SOCKET",
  94. "data": {
  95. "username": "root"
  96. }
  97. }
  98. },
  99. {
  100. "id": 28,
  101. "method": "pool.dataset.unlock",
  102. "arguments": [
  103. "DADOS",
  104. {
  105. "recursive": true,
  106. "toggle_attachments": false
  107. }
  108. ],
  109. "transient": false,
  110. "description": null,
  111. "abortable": false,
  112. "logs_path": null,
  113. "logs_excerpt": null,
  114. "progress": {
  115. "percent": 100,
  116. "description": "",
  117. "extra": null
  118. },
  119. "result": {
  120. "unlocked": [],
  121. "failed": {}
  122. },
  123. "error": null,
  124. "exception": null,
  125. "exc_info": null,
  126. "state": "SUCCESS",
  127. "time_started": {
  128. "$date": 1728502479000
  129. },
  130. "time_finished": {
  131. "$date": 1728502483000
  132. },
  133. "credentials": null
  134. },
  135. {
  136. "id": 29,
  137. "method": "smb.configure",
  138. "arguments": [
  139. false
  140. ],
  141. "transient": false,
  142. "description": null,
  143. "abortable": false,
  144. "logs_path": null,
  145. "logs_excerpt": null,
  146. "progress": {
  147. "percent": 100,
  148. "description": "Finished configuring SMB.",
  149. "extra": null
  150. },
  151. "result": null,
  152. "error": null,
  153. "exception": null,
  154. "exc_info": null,
  155. "state": "SUCCESS",
  156. "time_started": {
  157. "$date": 1728502483000
  158. },
  159. "time_finished": {
  160. "$date": 1728502494000
  161. },
  162. "credentials": null
  163. },
  164. {
  165. "id": 35,
  166. "method": "sharing.smb.sync_registry",
  167. "arguments": [],
  168. "transient": false,
  169. "description": null,
  170. "abortable": false,
  171. "logs_path": null,
  172. "logs_excerpt": null,
  173. "progress": {
  174. "percent": 100,
  175. "description": "",
  176. "extra": null
  177. },
  178. "result": null,
  179. "error": null,
  180. "exception": null,
  181. "exc_info": null,
  182. "state": "SUCCESS",
  183. "time_started": {
  184. "$date": 1728502484000
  185. },
  186. "time_finished": {
  187. "$date": 1728502486000
  188. },
  189. "credentials": null
  190. },
  191. {
  192. "id": 38,
  193. "method": "initshutdownscript.execute_init_tasks",
  194. "arguments": [
  195. "PREINIT"
  196. ],
  197. "transient": false,
  198. "description": null,
  199. "abortable": false,
  200. "logs_path": null,
  201. "logs_excerpt": null,
  202. "progress": {
  203. "percent": 100,
  204. "description": "Completed tasks for PREINIT",
  205. "extra": null
  206. },
  207. "result": null,
  208. "error": null,
  209. "exception": null,
  210. "exc_info": null,
  211. "state": "SUCCESS",
  212. "time_started": {
  213. "$date": 1728502485000
  214. },
  215. "time_finished": {
  216. "$date": 1728502485000
  217. },
  218. "credentials": {
  219. "type": "UNIX_SOCKET",
  220. "data": {
  221. "username": "root"
  222. }
  223. }
  224. },
  225. {
  226. "id": 39,
  227. "method": "directoryservices.setup",
  228. "arguments": [],
  229. "transient": false,
  230. "description": null,
  231. "abortable": false,
  232. "logs_path": null,
  233. "logs_excerpt": null,
  234. "progress": {
  235. "percent": 100,
  236. "description": "No directory services enabled.",
  237. "extra": null
  238. },
  239. "result": null,
  240. "error": null,
  241. "exception": null,
  242. "exc_info": null,
  243. "state": "SUCCESS",
  244. "time_started": {
  245. "$date": 1728502486000
  246. },
  247. "time_finished": {
  248. "$date": 1728502495000
  249. },
  250. "credentials": null
  251. },
  252. {
  253. "id": 41,
  254. "method": "certificate.renew_certs",
  255. "arguments": [],
  256. "transient": false,
  257. "description": null,
  258. "abortable": false,
  259. "logs_path": null,
  260. "logs_excerpt": null,
  261. "progress": {
  262. "percent": 100,
  263. "description": "",
  264. "extra": null
  265. },
  266. "result": null,
  267. "error": null,
  268. "exception": null,
  269. "exc_info": null,
  270. "state": "SUCCESS",
  271. "time_started": {
  272. "$date": 1728502486000
  273. },
  274. "time_finished": {
  275. "$date": 1728502493000
  276. },
  277. "credentials": null
  278. },
  279. {
  280. "id": 42,
  281. "method": "pool.dataset.sync_db_keys",
  282. "arguments": [],
  283. "transient": false,
  284. "description": null,
  285. "abortable": false,
  286. "logs_path": null,
  287. "logs_excerpt": null,
  288. "progress": {
  289. "percent": 100,
  290. "description": "",
  291. "extra": null
  292. },
  293. "result": null,
  294. "error": null,
  295. "exception": null,
  296. "exc_info": null,
  297. "state": "SUCCESS",
  298. "time_started": {
  299. "$date": 1728502486000
  300. },
  301. "time_finished": {
  302. "$date": 1728502490000
  303. },
  304. "credentials": null
  305. },
  306. {
  307. "id": 44,
  308. "method": "core.job_wait",
  309. "arguments": [
  310. 29
  311. ],
  312. "transient": false,
  313. "description": null,
  314. "abortable": false,
  315. "logs_path": null,
  316. "logs_excerpt": null,
  317. "progress": {
  318. "percent": 100,
  319. "description": "Finished configuring SMB.",
  320. "extra": null
  321. },
  322. "result": null,
  323. "error": null,
  324. "exception": null,
  325. "exc_info": null,
  326. "state": "SUCCESS",
  327. "time_started": {
  328. "$date": 1728502486000
  329. },
  330. "time_finished": {
  331. "$date": 1728502494000
  332. },
  333. "credentials": null
  334. },
  335. {
  336. "id": 45,
  337. "method": "catalog.sync_all",
  338. "arguments": [],
  339. "transient": false,
  340. "description": null,
  341. "abortable": false,
  342. "logs_path": null,
  343. "logs_excerpt": null,
  344. "progress": {
  345. "percent": 100,
  346. "description": "Syncing TRUENAS catalog",
  347. "extra": null
  348. },
  349. "result": null,
  350. "error": null,
  351. "exception": null,
  352. "exc_info": null,
  353. "state": "SUCCESS",
  354. "time_started": {
  355. "$date": 1728502486000
  356. },
  357. "time_finished": {
  358. "$date": 1728502490000
  359. },
  360. "credentials": null
  361. },
  362. {
  363. "id": 46,
  364. "method": "initshutdownscript.execute_init_tasks",
  365. "arguments": [
  366. "POSTINIT"
  367. ],
  368. "transient": false,
  369. "description": null,
  370. "abortable": false,
  371. "logs_path": null,
  372. "logs_excerpt": null,
  373. "progress": {
  374. "percent": 100,
  375. "description": "Completed tasks for POSTINIT",
  376. "extra": null
  377. },
  378. "result": null,
  379. "error": null,
  380. "exception": null,
  381. "exc_info": null,
  382. "state": "SUCCESS",
  383. "time_started": {
  384. "$date": 1728502486000
  385. },
  386. "time_finished": {
  387. "$date": 1728502486000
  388. },
  389. "credentials": {
  390. "type": "UNIX_SOCKET",
  391. "data": {
  392. "username": "root"
  393. }
  394. }
  395. },
  396. {
  397. "id": 48,
  398. "method": "catalog.sync",
  399. "arguments": [
  400. "TRUENAS"
  401. ],
  402. "transient": false,
  403. "description": null,
  404. "abortable": false,
  405. "logs_path": null,
  406. "logs_excerpt": null,
  407. "progress": {
  408. "percent": 100,
  409. "description": "Synced 'TRUENAS' catalog",
  410. "extra": null
  411. },
  412. "result": null,
  413. "error": null,
  414. "exception": null,
  415. "exc_info": null,
  416. "state": "SUCCESS",
  417. "time_started": {
  418. "$date": 1728502486000
  419. },
  420. "time_finished": {
  421. "$date": 1728502489000
  422. },
  423. "credentials": null
  424. },
  425. {
  426. "id": 50,
  427. "method": "smb.synchronize_passdb",
  428. "arguments": [
  429. true
  430. ],
  431. "transient": false,
  432. "description": null,
  433. "abortable": false,
  434. "logs_path": null,
  435. "logs_excerpt": null,
  436. "progress": {
  437. "percent": 100,
  438. "description": "",
  439. "extra": null
  440. },
  441. "result": null,
  442. "error": null,
  443. "exception": null,
  444. "exc_info": null,
  445. "state": "SUCCESS",
  446. "time_started": {
  447. "$date": 1728502488000
  448. },
  449. "time_finished": {
  450. "$date": 1728502490000
  451. },
  452. "credentials": null
  453. },
  454. {
  455. "id": 51,
  456. "method": "smb.synchronize_group_mappings",
  457. "arguments": [
  458. true
  459. ],
  460. "transient": false,
  461. "description": null,
  462. "abortable": false,
  463. "logs_path": null,
  464. "logs_excerpt": null,
  465. "progress": {
  466. "percent": 100,
  467. "description": "",
  468. "extra": null
  469. },
  470. "result": null,
  471. "error": null,
  472. "exception": null,
  473. "exc_info": null,
  474. "state": "SUCCESS",
  475. "time_started": {
  476. "$date": 1728502488000
  477. },
  478. "time_finished": {
  479. "$date": 1728502491000
  480. },
  481. "credentials": null
  482. },
  483. {
  484. "id": 52,
  485. "method": "zfs.dataset.bulk_process",
  486. "arguments": [
  487. "check_key",
  488. "********"
  489. ],
  490. "transient": false,
  491. "description": null,
  492. "abortable": false,
  493. "logs_path": null,
  494. "logs_excerpt": null,
  495. "progress": {
  496. "percent": 100,
  497. "description": "",
  498. "extra": null
  499. },
  500. "result": [],
  501. "error": null,
  502. "exception": null,
  503. "exc_info": null,
  504. "state": "SUCCESS",
  505. "time_started": {
  506. "$date": 1728502488000
  507. },
  508. "time_finished": {
  509. "$date": 1728502490000
  510. },
  511. "credentials": null
  512. },
  513. {
  514. "id": 56,
  515. "method": "sharing.smb.sync_registry",
  516. "arguments": [],
  517. "transient": false,
  518. "description": null,
  519. "abortable": false,
  520. "logs_path": null,
  521. "logs_excerpt": null,
  522. "progress": {
  523. "percent": 100,
  524. "description": "",
  525. "extra": null
  526. },
  527. "result": null,
  528. "error": null,
  529. "exception": null,
  530. "exc_info": null,
  531. "state": "SUCCESS",
  532. "time_started": {
  533. "$date": 1728502491000
  534. },
  535. "time_finished": {
  536. "$date": 1728502493000
  537. },
  538. "credentials": null
  539. },
  540. {
  541. "id": 57,
  542. "method": "directoryservices.initialize",
  543. "arguments": [
  544. {
  545. "activedirectory": false,
  546. "ldap": false
  547. }
  548. ],
  549. "transient": false,
  550. "description": null,
  551. "abortable": false,
  552. "logs_path": null,
  553. "logs_excerpt": null,
  554. "progress": {
  555. "percent": 100,
  556. "description": "",
  557. "extra": null
  558. },
  559. "result": null,
  560. "error": null,
  561. "exception": null,
  562. "exc_info": null,
  563. "state": "SUCCESS",
  564. "time_started": {
  565. "$date": 1728502491000
  566. },
  567. "time_finished": {
  568. "$date": 1728502491000
  569. },
  570. "credentials": null
  571. },
  572. {
  573. "id": 61,
  574. "method": "core.bulk",
  575. "arguments": [
  576. "chart.release.update",
  577. []
  578. ],
  579. "transient": false,
  580. "description": null,
  581. "abortable": false,
  582. "logs_path": null,
  583. "logs_excerpt": null,
  584. "progress": {
  585. "percent": 100,
  586. "description": "",
  587. "extra": null
  588. },
  589. "result": [],
  590. "error": null,
  591. "exception": null,
  592. "exc_info": null,
  593. "state": "SUCCESS",
  594. "time_started": {
  595. "$date": 1728502522000
  596. },
  597. "time_finished": {
  598. "$date": 1728502522000
  599. },
  600. "credentials": null
  601. },
  602. {
  603. "id": 1356,
  604. "method": "update.download",
  605. "arguments": [],
  606. "transient": false,
  607. "description": null,
  608. "abortable": false,
  609. "logs_path": null,
  610. "logs_excerpt": null,
  611. "progress": {
  612. "percent": 100,
  613. "description": "Retrieving update manifest",
  614. "extra": null
  615. },
  616. "result": false,
  617. "error": null,
  618. "exception": null,
  619. "exc_info": null,
  620. "state": "SUCCESS",
  621. "time_started": {
  622. "$date": 1728538981000
  623. },
  624. "time_finished": {
  625. "$date": 1728538982000
  626. },
  627. "credentials": {
  628. "type": "UNIX_SOCKET",
  629. "data": {
  630. "username": "root"
  631. }
  632. }
  633. },
  634. {
  635. "id": 1457,
  636. "method": "dscache.refresh",
  637. "arguments": [],
  638. "transient": false,
  639. "description": null,
  640. "abortable": false,
  641. "logs_path": null,
  642. "logs_excerpt": null,
  643. "progress": {
  644. "percent": 100,
  645. "description": "",
  646. "extra": null
  647. },
  648. "result": null,
  649. "error": null,
  650. "exception": null,
  651. "exc_info": null,
  652. "state": "SUCCESS",
  653. "time_started": {
  654. "$date": 1728541801000
  655. },
  656. "time_finished": {
  657. "$date": 1728541801000
  658. },
  659. "credentials": {
  660. "type": "UNIX_SOCKET",
  661. "data": {
  662. "username": "root"
  663. }
  664. }
  665. },
  666. {
  667. "id": 1493,
  668. "method": "pool.scrub.scrub",
  669. "arguments": [
  670. "boot-pool"
  671. ],
  672. "transient": false,
  673. "description": "Scrub of pool 'boot-pool'",
  674. "abortable": false,
  675. "logs_path": null,
  676. "logs_excerpt": null,
  677. "progress": {
  678. "percent": 100,
  679. "description": "Scrub finished",
  680. "extra": null
  681. },
  682. "result": null,
  683. "error": null,
  684. "exception": null,
  685. "exc_info": null,
  686. "state": "SUCCESS",
  687. "time_started": {
  688. "$date": 1728542701000
  689. },
  690. "time_finished": {
  691. "$date": 1728542711000
  692. },
  693. "credentials": null
  694. }
  695. ]
  696. admin@nas[~]$
Advertisement
Add Comment
Please, Sign In to add comment