1. C3MC/文档
1.1. c3mc-mon-agent-falconmigrate/bash
编辑
1.2. c3mc-mon-agent-install/bash
编辑
1.3. c3mc-mon-agent-install-allnode/perl
$0
编辑
1.4. c3mc-mon-agent-install-errfalconmigrate/perl
$0
编辑
1.5. c3mc-mon-agent-install-errnode/perl
$0
编辑
1.6. c3mc-mon-agent-install-errver/perl
$0
编辑
1.7. c3mc-mon-agent-install-goodver/perl
$0
编辑
1.8. c3mc-mon-agent-update/bash
编辑
1.9. c3mc-mon-ip2uexip/perl
echo 10.10.10.10| $0
编辑
1.10. c3mc-app-awscli-get/perl
$0 -id ticketid
编辑
$0 id1 id2 .. idn
编辑
1.12. c3mc-app-ipfill/perl
$0 ip1 ip2 ... ipn
编辑
1.13. c3mc-app-ipsearch/perl
$0 ip
编辑
1.14. c3mc-app-merge-report/perl
$0 [--path '/path/foo']
编辑
1.15. c3mc-app-okfill/perl
$0 ip1 ip2 ... ipn
编辑
1.16. c3mc-app-online/perl
$0
$0 [--set online|offline] [--name slave-name-001]
$0 --module [ci|job|jobx|agent|monitor]
$0 --module [ci|job|jobx|agent|monitor] [--set online|offline]
编辑
1.17. c3mc-app-port-checkok/perl
$0
编辑
1.18. c3mc-app-supervisormin/perl
编辑
1.19. c3mc-app-usrext/perl
$0 usr1 usr2 usr3 .. usrn
$0 user # username
$0 @monitorgroup # user from monitor group
$0 %oncallgroup # oncall user level 1
$0 %oncallgroup:1 # oncall user level 1
$0 %oncallgroup:level # oncall user level $level
$0 :departmentname # user from department
编辑
1.20. c3mc-base-adduser/perl
$0 --user foo
$0 --user foo@openc3.com
$0 --user foo --password 123456
编辑
1.21. c3mc-base-approval-create/perl
$0 --submitter user1 --approver user2
编辑
1.22. c3mc-base-approval-query/perl
$0 --uuid uuid
编辑
1.23. c3mc-base-approval-sync/perl
$0 --uuid uuid --status agree,refuse
编辑
1.24. c3mc-base-audit/perl
$0 'user1;title1;content1' 'user2;title2;content2' ... 'usern;titlen;contentn'
编辑
1.25. c3mc-base-configx/perl
$0 datakey
编辑
1.26. c3mc-base-count-limit/perl
$0 id1 id2 ... idn --limit 1
$0 id1;abc id2;foo ... idn;bar --limit number
编辑
1.27. c3mc-base-crypt/perl
$0 mesg --encode || --decode
cat mesg.file| $0 --encode || --decode
# 如果要处理的数据是用分号分隔的多个列,可以通过--col指定要处理的列
# 比如要处理第一和第二列,可以添加参数 --col 1,2
$0 mesg --col 1,2 --encode || --decode
cat mesg.file| $0 --col 1,2 --encode || --decode
编辑
1.28. c3mc-base-db-dump/perl
$0 --table foo
$0 --table foo --output out.sql
编辑
1.29. c3mc-base-db-exe/perl
$0 sql1 sql2 ... sqln --table foo
cat foo.sql | ./$0 --table foo
编辑
1.30. c3mc-base-db-get/perl
$0 col1 col2 ... coln --table foo
$0 col1 col2 ... coln --table foo [--filter status=1]
$0 col1 col2 ... coln --table foo [--yaml]
编辑
1.31. c3mc-base-db-ins/perl
$0 --table foo k1 v1 k2 v2 .. kn vn
编辑
1.32. c3mc-base-db-load/perl
$0 --table foo --file out.sql
编辑
1.33. c3mc-base-db-set/perl
$0 dat1 dat2 ... datn --table foo --set 'foo=123'
$0 dat1 dat2 ... datn --table foo --set 'foo=123' [--col colname]
$0 dat1 dat2 ... datn --table foo --set 'foo=123' [--col colname] [--filter]
编辑
1.34. c3mc-base-dumpfile/perl
$0 --file /path/foo
编辑
1.35. c3mc-base-fullnodeinfo/perl
$0 col1 col2 .. col2 [ --col name,inip [id|name|type|inip|exip|projectid] ]
--force_ingestion_cmdb
--skip_ingestion_api
编辑
1.36. c3mc-base-git/perl
编辑
1.37. c3mc-base-grepv/perl
$0 --col 2 --file /path/name
编辑
1.38. c3mc-base-hostexip/perl
$0
编辑
1.39. c3mc-base-hostname/perl
$0
$0 newhostname
编辑
1.40. c3mc-base-ipfilter/perl
prefix match
$0 ip1 ip2 ... ipn --filter 10.10,12,122,
编辑
1.41. c3mc-base-json2tab/perl
$0 name1 alias1 name2 alias2 .. namen aliasn
编辑
1.42. c3mc-base-log-addtime/perl
编辑
1.43. c3mc-base-log-addtimemin/perl
编辑
编辑
1.45. c3mc-base-monitorsubscribe-load/perl
$0 'treeid;user1@xx.com'
$0 'treeid;user1@xx.com' --user foo@xx.com
echo 'treeid;user1@xx.com' | ./$0 --user foo@xx.com
编辑
1.46. c3mc-base-nodeinfo/perl
$0 col1 col2 .. col2 [ --col name,inip [id|name|type|inip|exip|projectid] ]
编辑
1.47. c3mc-base-role/perl
$0 --module [ci|job|jobx]
编辑
1.48. c3mc-base-savebind/perl
$0 data1 data2 ... datan
编辑
1.49. c3mc-base-savetree/perl
$0 treename1 treename2 ... treenamen
编辑
1.50. c3mc-base-subtreemap/perl
$0 treeid
$0 treeid cache
编辑
1.51. c3mc-base-tab2json/perl
echo table | $0
编辑
1.52. c3mc-base-task-grep/perl
$0 id1 id2 ... idn --module [ci|job|jobx|agent|monitor]
编辑
1.53. c3mc-base-tree-dump/bash
编辑
1.54. c3mc-base-tree-dump-bind/perl
$0
$0 --showtree
$0 --showuuid
$0 --compresstree # 压缩服务树,子树覆盖父树的情况下删除父树
编辑
1.55. c3mc-base-tree-inherit-limit-check/perl
$0 --parent Parent_Node_ID --child Child_Node_ID
编辑
1.56. c3mc-base-tree-load/perl
$0 'id;treename' 'id;foo.bar'
echo 'id;treename' |./$0
编辑
1.57. c3mc-base-treemap/perl
$0
$0 cache
编辑
1.58. c3mc-base-tree-switch/perl
$0 tree.prefix.foo treeid
编辑
1.59. c3mc-base-uexip/perl
$0 ip1 ip2 ... ipn
$0 ip1 ip2 ... ipn --output /path/foo.yaml
编辑
1.60. c3mc-base-useraddr-load/perl
$0 'user;user1@xx.com;137xxx;137xxx'
$0 'user;user1@xx.com;137xxx;137xxx' --user foo@xx.com
echo 'user;user1@xx.com;137xxx;137xxx' | ./$0 --user foo@xx.com
编辑
1.61. c3mc-base-userinfo/perl
$0 --user user1
编辑
1.62. c3mc-base-userleader/perl
$0 --user user1
编辑
1.63. c3mc-base-user-temp-token/perl
$0 --set user001
$0 --set user002/email
$0 --set user003/phone
$0 --get token.uuid
编辑
1.64. c3mc-base-vtreemap/perl
$0
$0 cache
编辑
1.65. c3mc-nginx-reload/perl
$0
$0 --off 8080
$0 --on 8080
$0 --reload
$0 --before
$0 --after
编辑
1.66. c3mc-parse-tsv-tag-file/python3
编辑
1.67. c3mc-base-bastion/python3
编辑
1.68. c3mc-base-bastion-addauth-qizhi/python3
编辑
1.69. c3mc-base-bastion-adduser-qizhi/python3
编辑
1.70. c3mc-base-bastion-getlist-qizhi/python3
编辑
1.71. c3mc-bl-sync/python3
编辑
1.72. c3mc-base-bastion-add-server-auth/python3
编辑
1.73. c3mc-base-bastion-copy-user-auth/python3
编辑
1.74. c3mc-base-bastion-send-new-user-email/python3
编辑
1.75. c3mc-bpm-action-acl-operation-baseinfo/python3
编辑
1.76. c3mc-bpm-action-acl-operation-iteminfo/python3
编辑
1.77. c3mc-bpm-action-aliyun-update-ecs-tag/python3
编辑
1.78. c3mc-bpm-action-approval/perl
编辑
1.79. c3mc-bpm-action-aws-alb-recycle/python3
编辑
1.80. c3mc-bpm-action-aws-ec2/python3
编辑
1.81. c3mc-bpm-action-aws-ec2-modify-instance-type/python3
编辑
1.82. c3mc-ec2modify-describe-ec2-instances/python3
编辑
1.83. c3mc-ec2modify-describe-ec2-instance-types/python3
编辑
1.84. c3mc-bpm-action-aws-ec2-operation/python3
编辑
1.85. c3mc-ec2create-add-role-to-instance-profile/python3
编辑
1.86. c3mc-ec2create-describe-availability-zones/python3
编辑
1.87. c3mc-ec2create-describe-ebs-volume-max-iops/python3
编辑
1.88. c3mc-ec2create-describe-ebs-volume-size-range/python3
编辑
1.89. c3mc-ec2create-describe-image-get/python3
编辑
1.90. c3mc-ec2create-describe-images-all/python3
编辑
1.91. c3mc-ec2create-describe-instance-type-offerings/python3
编辑
1.92. c3mc-ec2create-describe-role-list/python3
编辑
1.93. c3mc-ec2create-describe-security-groups/python3
编辑
1.94. c3mc-ec2create-describe-subnets/python3
编辑
1.95. c3mc-ec2create-describe-vpcs/python3
编辑
1.96. c3mc-ec2create-instance-profile-create/python3
编辑
1.97. c3mc-ec2create-role-create/python3
编辑
1.98. c3mc-bpm-action-aws-ec2-recycle/python3
编辑
1.99. c3mc-bpm-action-aws-elb-recycle/python3
编辑
1.100. c3mc-bpm-action-aws-nlb-recycle/python3
编辑
1.101. c3mc-bpm-action-aws-rds-recycle/python3
编辑
1.102. c3mc-recycleawsrds-describe-rds-clusters/python3
编辑
1.103. c3mc-recycleawsrds-describe-rds-instances/python3
编辑
1.104. c3mc-cloudcertificate-display-apply-type-list/python3
编辑
1.105. c3mc-cloudcertificate-display-certificate-type-list/python3
编辑
1.106. c3mc-cloudcertificate-display-complay-list/python3
编辑
1.107. c3mc-cloudcertificate-display-target-list/python3
编辑
1.108. c3mc-bpm-action-deal/perl
编辑
1.109. c3mc-domain-display-apply-type-list/python3
编辑
1.110. c3mc-domain-display-use-list/python3
编辑
1.111. c3mc-ec2-modify/python3
编辑
1.112. c3mc-ec2modify-display-instance-list/python3
编辑
1.113. c3mc-bpm-action-google-lb-1/python3
编辑
1.114. c3mc-bpm-action-google-lb-2-frontend/python3
编辑
1.115. c3mc-bpm-option-google-list-global-elastic-ips/python3
编辑
1.116. c3mc-bpm-option-google-list-ports/python3
编辑
1.117. c3mc-bpm-option-google-list-ssl-certificate/python3
编辑
1.118. c3mc-bpm-action-google-lb-3-backend/python3
编辑
1.119. c3mc-bpm-option-google-list-healthchecks/python3
编辑
1.120. c3mc-bpm-option-google-list-intance-groups/python3
编辑
1.121. c3mc-bpm-action-google-lb-4-routing-rules/python3
编辑
1.122. c3mc-bpm-action-google-lb-5-routing-rules-default-backend/python3
编辑
1.123. c3mc-bpm-action-google-lb-6-create/python3
编辑
1.124. c3mc-bpm-action-google-lb-recycle/python3
编辑
1.125. c3mc-bpm-action-google-vm/python3
编辑
1.126. c3mc-bpm-action-google-vm-modify-instance-type/python3
编辑
1.127. c3mc-googlemodify-describe-vm-instances/python3
编辑
1.128. c3mc-googlemodify-describe-vm-instance-types/python3
编辑
1.129. c3mc-bpm-option-google-compute-list-custom-images/python3
编辑
1.130. c3mc-bpm-option-google-compute-list-disk-types/python3
编辑
1.131. c3mc-bpm-option-google-compute-list-machine-types/python3
编辑
1.132. c3mc-bpm-option-google-compute-list-networks/python3
编辑
1.133. c3mc-bpm-option-google-compute-list-public-images/python3
编辑
1.134. c3mc-bpm-option-google-compute-list-subnetworks/python3
编辑
1.135. c3mc-bpm-action-google-vm-recycle/python3
编辑
1.136. c3mc-bpm-action-kubernetes-apply/perl
编辑
1.137. c3mc-bpm-kubernetes-apply-cluster/bash
编辑
1.138. c3mc-bpm-kubernetes-apply-namespace/perl
编辑
1.139. c3mc-bpm-kubernetes-apply-template/perl
编辑
1.140. c3mc-bpm-action-manage-ec2-instance-groups-add/python3
编辑
1.141. c3mc-bo-manage-ec2-instance-groups-list-actions/python3
编辑
1.142. c3mc-bo-manage-ec2-instance-groups-list-ec2/python3
编辑
1.143. c3mc-bpm-action-manage-ec2-instance-groups-config-special/python3
编辑
1.144. c3mc-bpm-action-manage-ec2-instance-groups-remove/python3
编辑
1.145. c3mc-bo-manage-ec2-instance-groups-list-current-managed-ec2/python3
编辑
1.146. c3mc-bpm-action-mount-tree/python3
编辑
1.147. c3mc-bpm-action-qcloud-clb/python3
编辑
1.148. c3mc-bpm-action-qcloud-clb-listener/python3
编辑
1.149. c3mc-qcloud-clb-describe-cert-list/python3
编辑
1.150. c3mc-bpm-action-qcloud-clb-recycle/python3
编辑
1.151. c3mc-bpm-action-qcloud-clb-rule/python3
编辑
1.152. c3mc-qcloud-clb-describe-check-type/python3
编辑
1.153. c3mc-qcloud-clb-describe-cvms/python3
编辑
1.154. c3mc-bpm-action-qcloud-cvm/python3
编辑
1.155. c3mc-bpm-action-qcloud-cvm-modify-instance-type/python3
编辑
1.156. c3mc-qcloud-cvm-describe-instance-configs-v2/python3
编辑
1.157. c3mc-qcloud-cvm-describe-instances/python3
编辑
1.158. c3mc-qcloud-cvm-describe-data-disk-type-list/python3
编辑
1.159. c3mc-qcloud-cvm-describe-images/python3
编辑
1.160. c3mc-qcloud-cvm-describe-instance-configs/python3
编辑
1.161. c3mc-qcloud-cvm-describe-network-charge-types/python3
编辑
1.162. c3mc-qcloud-cvm-describe-security-groups/python3
编辑
1.163. c3mc-qcloud-cvm-describe-system-disk-type-list/python3
编辑
1.164. c3mc-qcloud-cvm-list-instances-by-keyword/python3
编辑
1.165. c3mc-bpm-action-qcloud-cvm-recycle/python3
编辑
1.166. c3mc-bpm-action-qcloud-mysql/python3
编辑
1.167. c3mc-bpm-action-qcloud-mysql-operate/python3
编辑
1.168. c3mc-bpm-option-qcloud-mysql-describe-alarm-policies-list/python3
编辑
1.169. c3mc-bpm-option-qcloud-mysql-describe-available-collation/python3
编辑
1.170. c3mc-bpm-option-qcloud-mysql-describe-backup-zones/python3
编辑
1.171. c3mc-bpm-option-qcloud-mysql-describe-cdb-sell-type-list/python3
编辑
1.172. c3mc-bpm-option-qcloud-mysql-describe-describe-default-params/python3
编辑
1.173. c3mc-bpm-option-qcloud-mysql-describe-engine-type-list/python3
编辑
1.174. c3mc-bpm-option-qcloud-mysql-describe-engine-version-list/python3
编辑
1.175. c3mc-bpm-option-qcloud-mysql-describe-instance-config-list/python3
编辑
1.176. c3mc-bpm-option-qcloud-mysql-describe-instance-nodes-set/python3
编辑
1.177. c3mc-bpm-option-qcloud-mysql-describe-param-templates/python3
编辑
1.178. c3mc-bpm-option-qcloud-mysql-describe-protect-mode-list/python3
编辑
1.179. c3mc-bpm-option-qcloud-mysql-describe-regions/python3
编辑
1.180. c3mc-bpm-option-qcloud-mysql-describe-zones/python3
编辑
1.181. c3mc-bpm-action-server-auth-audit/python3
编辑
1.182. c3mc-bpm-action-server-auth/python3
编辑
1.183. c3mc-bpm-action-server-auth-for-prod-without-sudo/python3
编辑
1.184. c3mc-bpm-action-server-auth-for-prod-with-sudo/python3
编辑
1.185. c3mc-bpm-action-server-auth-for-test-ips/python3
编辑
1.186. c3mc-bpm-action-tt/python3
编辑
编辑
1.188. c3mc-bpm-get-var/perl
$0 --bpmuuid xxx
$0 --bpmuuid xxx --json
$0 --bpmuuid xxx stepid1 stepid2 ..
$0 --bpmuuid xxx stepname1 stepname2 ..
编辑
1.189. c3mc-bpm-optchk/perl
cat param.yml| $0
编辑
1.190. c3mc-bpm-optionx/perl
cat param.yml| $0
编辑
1.191. c3mc-bpm-protect/perl
$0 --eventname google-vm-recycle vuuid1 vuuid2 vuuid3 # bpmuuid in ENV{C3BPMUUID}
$0 --eventname google-vm-recycle --bpmuuid xxx vuuid1 vuuid2 vuuid3
编辑
1.192. c3mc-bpm-statistics/perl
$0 --start 2023-07-01 --end 2023-08-01
编辑
1.193. c3mc-bpm-user-record/perl
$0 user1 user2 user3 # bpmuuid in ENV{C3BPMUUID}
$0 --bpmuuid xxx user1 user2 user3
编辑
1.194. c3mc-bpm-display-field-values/python3
编辑
1.195. c3mc-bpm-read-config-file/python3
编辑
1.196. c3mc-get-account-info/python3
编辑
1.197. c3mc-yes-and-no/python3
编辑
1.198. c3mc-aws-list-s3-bucket-names/python3
编辑
1.199. c3mc-bpm-get-aws-name-tag-list/python3
编辑
1.200. c3mc-bpm-get-department-tag-list/python3
编辑
1.201. c3mc-bpm-get-product-tag-list/python3
编辑
1.202. c3mc-bpm-get-project-tag-list/python3
编辑
1.203. c3mc-bpm-get-tree-tag-list/python3
编辑
1.204. c3mc-bpm-option-google-compute-list-regions/python3
编辑
1.205. c3mc-bpm-option-google-compute-list-region-zones/python3
编辑
1.206. c3mc-bpm-option-server-auth-check-audit-ip/python3
编辑
1.207. c3mc-bpm-option-server-auth-check-if-all-test-ips/python3
编辑
1.208. c3mc-bpm-option-server-auth-check-if-no-test-ips/python3
编辑
1.209. c3mc-bpm-option-server-auth-check-if-params-valid/python3
编辑
1.210. c3mc-bpm-optionx-opapprover/bash
编辑
1.211. c3mc-display-business-node-list/python3
编辑
1.212. c3mc-display-cloud-account-list/python3
编辑
1.213. c3mc-ec2-describe-instance-types/python3
编辑
1.214. c3mc-ec2-describe-regions/python3
编辑
1.215. c3mc-qcloud-cvm-describe-projects/python3
编辑
1.216. c3mc-qcloud-cvm-describe-regions/python3
编辑
1.217. c3mc-qcloud-cvm-describe-subnets/python3
编辑
1.218. c3mc-qcloud-cvm-describe-vpcs/python3
编辑
1.219. c3mc-qcloud-cvm-describe-zones/python3
编辑
1.220. c3mc-qcloud-health-check-http-code/python3
编辑
1.221. c3mc-bash-help/bash
bash脚本统一添加帮助
请在您的bash脚本的头部添加类似如下信息
============================================================
###
### 脚本描述
###
### Usage:
###
### $0
###
### Options:
### -h 获取帮助信息
. /usr/bin/c3mc-bash-help || exit 1
============================================================
编辑
1.222. c3mc-install/bash
编辑
1.223. c3mc-job-dump/perl
$0 --treeid id --jobname name
编辑
1.224. c3mc-job-load/perl
$0 --treeid id --jobname name
编辑
1.225. c3mc-sys-backup/bash
编辑
1.226. c3mc-sys-ctl/perl
$0 # dump
$0 datakey
编辑
1.227. c3mc-sys-dup/perl
$0 version #default v2.5.12
编辑
1.228. c3mc-sys-sup/bash
编辑
1.229. c3mc-cloud-aliyun-ecs-by-id/python3
编辑
1.230. c3mc-cloud-aws-ec2-by-id/python3
编辑
1.231. c3mc-cloud-aws-elb-by-name/python3
编辑
1.232. c3mc-cloud-account/perl
$0 --plugin c3mc-cloud-huawei-rds --account huawei
$0 --plugin c3mc-cloud-huawei-rds --account huawei --raw # use account line
$0 --plugin c3mc-cloud-huawei-rds --account huawei --aksk
$0 --plugin c3mc-cloud-huawei-rds --account huawei --cloudaccount huawei-acount-name-001
编辑
1.233. c3mc-cloud-account-list/perl
$0 --type huawei-rds
编辑
1.234. c3mc-cloud-attach-department-info/python3
编辑
1.235. c3mc-cloud-control/perl
$0 --uuid uuid
$0 --uuid uuid --ctrl tag_add
$0 --uuid uuid --ctrl tag_add --file /your/contrl/conf.yml
$0 --uuid uuid --ctrl tag_add argv1 argv2 ... argvn
$0 --type xx --subtype xx --uuid uuid --ctrl tag_add argv1 argv2 ... argvn
编辑
1.236. c3mc-cloud-keep-fields/python3
编辑
1.237. c3mc-cloud-tag-v2/python3
编辑
1.238. c3mc-cloud-control-add/perl
echo data| $0 --file /debug/control/file.yml
编辑
1.239. c3mc-cloud-control-demo/perl
$0
编辑
1.240. c3mc-cloud-control-list-supported-types-for-tagging/python3
编辑
1.241. c3mc-cloud-openstack-host/python3
编辑
1.242. c3mc-cloud-ucloud-disk/python3
编辑
1.243. c3mc-cloud-ucloud-eip/python3
编辑
1.244. c3mc-cloud-ucloud-host/python3
编辑
1.245. c3mc-cloud-ucloud-mysql/python3
编辑
1.246. c3mc-cloud-ucloud-s3/python3
编辑
1.247. c3mc-cloud-ucloud-vpn/python3
编辑
1.248. c3mc-cloud-huawei-elb-by-id/python3
编辑
1.249. c3mc-query-aws-rds-instance-type-info/python3
编辑
1.250. c3mc-price-fetch/python3
编辑
1.251. c3mc-price-load/python3
编辑
1.252. c3mc-query-aws-ebs-price/python3
编辑
1.253. c3mc-query-aws-ec2-price/python3
编辑
1.254. c3mc-query-aws-rds-price/python3
编辑
1.255. c3mc-query-aws-redis-price/python3
编辑
1.256. c3mc-query-huawei-ecs-price/python3
编辑
1.257. c3mc-query-huawei-rds-price/python3
编辑
1.258. c3mc-query-huawei-redis-price/python3
编辑
1.259. c3mc-query-qcloud-cbs-price/python3
编辑
1.260. c3mc-query-qcloud-cdb-price/python3
编辑
1.261. c3mc-query-qcloud-cvm-price/python3
编辑
1.262. c3mc-query-qcloud-mongodb-price/python3
编辑
1.263. c3mc-query-qcloud-redis-price/python3
编辑
1.264. c3mc-cloud-qcloud-clb-by-name/python3
编辑
1.265. c3mc-cloud-qcloud-get-cvm/python3
编辑
1.266. c3mc-cloud-aliyun-ecs/python3
编辑
1.267. c3mc-cloud-aliyun-ecs-volume/python3
编辑
1.268. c3mc-cloud-aliyun-fs/python3
编辑
1.269. c3mc-cloud-aliyun-oss/python3
编辑
1.270. c3mc-cloud-aliyun-rds/python3
编辑
1.271. c3mc-cloud-aliyun-redis/python3
编辑
1.272. c3mc-cloud-aliyun-slb/python3
编辑
1.273. c3mc-cloud-aliyun-vpc/python3
编辑
1.274. c3mc-cloud-aws-alb/python3
编辑
1.275. c3mc-cloud-aws-dynamodb/python3
编辑
1.276. c3mc-cloud-aws-ec2/python3
编辑
1.277. c3mc-cloud-aws-ec2-event/python3
编辑
1.278. c3mc-cloud-aws-ec2-volume/python3
编辑
1.279. c3mc-cloud-aws-eip/python3
编辑
1.280. c3mc-cloud-aws-elb/python3
编辑
1.281. c3mc-cloud-aws-globalaccelerator/python3
编辑
1.282. c3mc-cloud-aws-kafka/python3
编辑
1.283. c3mc-cloud-aws-lightsail-database/python3
编辑
1.284. c3mc-cloud-aws-lightsail-instance/python3
编辑
1.285. c3mc-cloud-aws-lightsail-loadbalancer/python3
编辑
1.286. c3mc-cloud-aws-memcached/python3
编辑
1.287. c3mc-cloud-aws-memorydb/python3
编辑
1.288. c3mc-cloud-aws-memorydb-node/python3
编辑
1.289. c3mc-cloud-aws-nlb/python3
编辑
1.290. c3mc-cloud-aws-rds/python3
编辑
1.291. c3mc-cloud-aws-rds-cluster/python3
编辑
1.292. c3mc-cloud-aws-rds-snapshot/python3
编辑
1.293. c3mc-cloud-aws-redis/python3
编辑
1.294. c3mc-cloud-aws-s3/python3
编辑
1.295. c3mc-cloud-aws-subdomain/python3
编辑
1.296. c3mc-cloud-google-lb/python3
编辑
1.297. c3mc-cloud-google-rds/python3
编辑
1.298. c3mc-cloud-google-redis/python3
编辑
1.299. c3mc-cloud-google-vm/python3
编辑
1.300. c3mc-cloud-google-vm-volume/python3
编辑
1.301. c3mc-cloud-huawei-dds/python3
编辑
1.302. c3mc-cloud-huawei-dns/python3
编辑
1.303. c3mc-cloud-huawei-ecs/python3
编辑
1.304. c3mc-cloud-huawei-ecs-volume/python3
编辑
1.305. c3mc-cloud-huawei-elb/python3
编辑
1.306. c3mc-cloud-huawei-kafka/python3
编辑
1.307. c3mc-cloud-huawei-nosql/python3
编辑
1.308. c3mc-cloud-huawei-obs/python3
编辑
1.309. c3mc-cloud-huawei-rds/python3
编辑
1.310. c3mc-cloud-huawei-redis/python3
编辑
1.311. c3mc-cloud-huawei-sfs-turbo/python3
编辑
编辑
1.313. c3mc-cloud-ibm-virtual-server/python3
编辑
1.314. c3mc-cloud-k8s-pod/perl
$0 id;name id2;name2
编辑
1.315. c3mc-cloud-k8s-service/perl
$0 id;name id2;name2
编辑
1.316. c3mc-cloud-ksyun-epc/python3
编辑
1.317. c3mc-cloud-ksyun-kec/python3
编辑
1.318. c3mc-cloud-ksyun-kec-volume/python3
编辑
1.319. c3mc-cloud-ksyun-krds/python3
编辑
1.320. c3mc-cloud-ksyun-ks3/python3
编辑
1.321. c3mc-cloud-ksyun-redis/python3
编辑
1.322. c3mc-cloud-ksyun-slb/python3
编辑
1.323. c3mc-cloud-qcloud-cdb/python3
编辑
1.324. c3mc-cloud-qcloud-cfs/python3
编辑
1.325. c3mc-cloud-qcloud-ckafka/python3
编辑
1.326. c3mc-cloud-qcloud-clb/python3
编辑
1.327. c3mc-cloud-qcloud-cos/python3
编辑
1.328. c3mc-cloud-qcloud-cvm/python3
编辑
1.329. c3mc-cloud-qcloud-cvm-volume/python3
编辑
1.330. c3mc-cloud-qcloud-es/python3
编辑
1.331. c3mc-cloud-qcloud-mongodb/python3
编辑
1.332. c3mc-cloud-qcloud-postgres/python3
编辑
1.333. c3mc-cloud-qcloud-redis/python3
编辑
1.334. c3mc-cloud-qcloud-sqlserver/python3
编辑
1.335. c3mc-cloud-qcloud-subdomain/python3
编辑
1.336. c3mc-cloud-qcloud-subnet/python3
编辑
1.337. c3mc-cloud-qcloud-tdsql-c-mysql/python3
编辑
1.338. c3mc-cloud-qcloud-vpc/python3
编辑
1.339. c3mc-cloud-aliyun-region-list/python3
编辑
1.340. c3mc-cloud-aws-region-list/python3
编辑
1.341. c3mc-cloud-gen-md5-for-account/python3
编辑
1.342. c3mc-cloud-get-account-by-md5/python3
编辑
1.343. c3mc-cloud-get-resource-type-list/python3
编辑
1.344. c3mc-cloud-google-region-list/python3
编辑
1.345. c3mc-cloud-huawei-region-list/python3
编辑
1.346. c3mc-cloud-ksyun-region-list/python3
编辑
1.347. c3mc-cloud-qcloud-region-list/python3
编辑
1.348. c3mc-cloud-update-cloud-account/python3
编辑
1.349. c3mc-cloud-convert-array-to-obj/python3
编辑
1.350. c3mc-cloud-convert-obj-to-array/python3
编辑
1.351. c3mc-cloud-get-real-field/python3
编辑
1.352. c3mc-device-accountdb-dump/bash
编辑
1.353. c3mc-device-accountdb-dump-google/perl
$0
编辑
1.354. c3mc-device-account-ext/python3
编辑
1.355. c3mc-device-account-proxy/perl
$0
编辑
1.356. c3mc-device-account-proxyd/bash
编辑
1.357. c3mc-device-account-uuid/python3
编辑
1.358. c3mc-device-api-jumpserver/perl
$0 --uuid x --uuids x --ip x --ips x
$0 --cache
$0 --json
编辑
1.359. c3mc-device-base-info/perl
$0
编辑
1.360. c3mc-device-base-info-cache/perl
$0 ctrl timemachine
编辑
1.361. c3mc-device-bind-info/perl
$0 timemachine
编辑
1.362. c3mc-device-bind-info-cache/perl
$0 ctrl timemachine
编辑
1.363. c3mc-device-cat/perl
$0 time|curr type subtype
$0 time|curr type subtype grepuuid
编辑
1.364. c3mc-device-cat-all/perl
$0
$0 grepuuid
$0 --col uuid,treename
$0 --timemachine time
编辑
1.365. c3mc-device-cat-all-cache/perl
$0 ctrl
$0 ctrl --timemachine curr
编辑
$0 ctrl
$0 ctrl --timemachine curr
编辑
1.367. c3mc-device-data-get/perl
$0
$0 time|curr type subtype col1 ... coln
编辑
1.368. c3mc-device-data-get-csv/perl
$0
$0 time|curr type subtype col1 ... coln
编辑
1.369. c3mc-device-dump-bind/perl
$0
编辑
1.370. c3mc-device-dump-tree/perl
$0
编辑
1.371. c3mc-device-dump-treeinfo/perl
$0
编辑
1.372. c3mc-device-find-hostname/perl
编辑
1.373. c3mc-device-find-instancetype/perl
编辑
1.374. c3mc-device-find-name/perl
编辑
1.375. c3mc-device-find-opsowner/perl
编辑
1.376. c3mc-device-find-owner/perl
编辑
1.377. c3mc-device-find-tree/perl
编辑
1.378. c3mc-device-find-uuid/perl
$0
$0 grepuuid
$0 --timemachine time
编辑
1.379. c3mc-device-find-v2-alias/perl
编辑
1.380. c3mc-device-find-v2-opsowner/perl
编辑
1.381. c3mc-device-find-v2-owner/perl
编辑
1.382. c3mc-device-find-v2-status/perl
编辑
1.383. c3mc-device-find-v2-systeminfo/perl
编辑
1.384. c3mc-device-find-v2-tree/perl
编辑
1.385. c3mc-device-find-v3-alias/perl
编辑
1.386. c3mc-device-find-v3-os/perl
编辑
1.387. c3mc-device-ingestion-jumpserver/perl
$0
编辑
1.388. c3mc-device-ingestion-mongodb/perl
$0 treeid1 treeid2 .. treeidn [ --col addr,auth [id|addr|auth|type|projectid] ]
编辑
1.389. c3mc-device-ingestion-mongodb-search/perl
$0 [ --col uuid,type,addr,auth [uuid|type|addr|auth] ]
$0 --uuid uuid
$0 --addr addr
编辑
1.390. c3mc-device-ingestion-mysql/perl
$0 treeid1 treeid2 .. treeidn [ --col addr,auth [id|addr|auth|type|projectid] ]
编辑
1.391. c3mc-device-ingestion-mysql-search/perl
$0 [ --col uuid,type,addr,auth [uuid|type|addr|auth] ]
$0 --uuid uuid
$0 --addr addr
编辑
1.392. c3mc-device-ingestion-redis/perl
$0 treeid1 treeid2 .. treeidn [ --col addr,auth [id|addr|auth|type|projectid] ]
编辑
1.393. c3mc-device-ingestion-redis-search/perl
$0 [ --col uuid,type,addr,auth [uuid|type|addr|auth] ]
$0 --uuid uuid
$0 --addr addr
编辑
1.394. c3mc-device-ingestion-safetytesting/perl
$0
编辑
1.395. c3mc-device-load/bash
编辑
1.396. c3mc-device-load-extcol/perl
把数据导入到CMDB的扩展字段中。
有如下两种方式:
1.包含详细资源类型
$0 echo 'database;qcloud-cdb;cdb-flib88fj;remarks;sms' | ./$0
2.没有具体类型,只有uuid,脚本会在CMDB中查询资源的类型,补充成第一种情况后导入。
$0 echo 'cdb-flib88fj;remarks;sms' | ./$0
编辑
1.397. c3mc-device-loadpasswd-auth/perl
$0 echo 'f28cfb10-93e8-4d1d-919c-cb8012ac;root/123456' | ./$0
编辑
1.398. c3mc-device-loadpasswd-auth-v2/python3
编辑
1.399. c3mc-device-loadpasswd-mongodb/perl
$0 echo '10.10.10.10:27017;root;123456' | ./$0
编辑
1.400. c3mc-device-loadpasswd-mongodb-v2/perl
$0 echo '10.10.10.10:27017;root;123456' | ./$0
编辑
1.401. c3mc-device-loadpasswd-mysql/perl
$0 echo '10.10.10.10:3306;root;123456' | ./$0
编辑
1.402. c3mc-device-loadpasswd-mysql-v2/perl
$0 echo '10.10.10.10:3306;root;123456' | ./$0
编辑
1.403. c3mc-device-loadpasswd-redis/perl
$0 echo '10.10.10.10:6379;123456' | ./$0
编辑
1.404. c3mc-device-loadpasswd-redis-v2/perl
$0 echo '10.10.10.10:6379;123456' | ./$0
编辑
$0 treeid timemachine
编辑
$0 treeid timemachine colid colval
编辑
1.407. c3mc-device-metrics/perl
$0
编辑
1.408. c3mc-device-monitorbyexip/perl
$0
$0 exipdump
编辑
1.409. c3mc-device-nodeinfo/perl
$0 col1 col2 .. col2 [ --col name,inip [id|name|type|inip|exip|projectid] ]
编辑
1.410. c3mc-device-nodeinfo-allnode/perl
$0 col1 col2 .. col2 [ --col name,inip [name|type|inip|exip] ]
编辑
1.411. c3mc-device-nodeinfo-allnode-cache/perl
$0 ctrl timemachine
编辑
1.412. c3mc-device-nodeuuid/perl
$0
编辑
1.413. c3mc-device-save-tree/bash
编辑
1.414. c3mc-device-timemachine/perl
$0
编辑
1.415. c3mc-device-treeinfo/perl
$0 type subtype
编辑
1.416. c3mc-device-unused-tree/perl
$0
编辑
1.417. c3mc-device-fee/perl
$0 --tree open-c3.ops --date 2024-05
$0 --uuid 1eb3bbdf-a5f6-42ce-bdde-9e9afbe1d311 --date 2024-05
$0 --tree open-c3.ops --date 2024-05 --exclude
编辑
1.418. c3mc-code-tree/perl
$0
编辑
$0 grep
编辑
$0 /api/file.pm
编辑
编辑
编辑
$0 /api/file.pm
编辑
生成c3mc所有工具的帮助文档
Usage:
$0
Options:
-h 获取帮助信息
编辑
生成c3mc工具的帮助文档,处理单个文件
$0 /dir/c3mc-xxx
编辑
生成c3 todo文档
Usage:
$0
Options:
-h 获取帮助信息
编辑
生成C3 TODO的帮助文档,处理单个文件
$0 /dir/c3mc-xxx
编辑
1.428. c3mc-base-exctl-copy-image/perl
$0 --id imageid
编辑
1.429. c3mc-base-exctl-copy-ticket/perl
$0 --id ticketid
编辑
1.430. c3mc-base-exctl-dump-image/perl
$0 --id ticketid
编辑
1.431. c3mc-base-exctl-dump-ticket/perl
$0 --id ticketid
编辑
1.432. c3mc-base-exctl-load-image/perl
$0 --treeid id --flowid id
编辑
1.433. c3mc-base-exctl-load-ticket/perl
$0 --treeid id --flowid id
编辑
1.434. c3mc-flow-exctl-copy/perl
$0 --streeid id --sflowid id --dtreeid id
编辑
1.435. c3mc-flow-exctl-dump/perl
$0 --treeid id --flowid id
编辑
1.436. c3mc-flow-exctl-dump-ci/perl
$0 --treeid id --flowid id
编辑
1.437. c3mc-flow-exctl-dump-job/perl
$0 --treeid id --flowid id
编辑
1.438. c3mc-flow-exctl-dump-jobv/perl
$0 --treeid id --jobuuid uuid
编辑
1.439. c3mc-flow-exctl-dump-jobx/perl
$0 --treeid id --flowid id
编辑
1.440. c3mc-flow-exctl-dump-jobx-grp/perl
$0 --treeid id --groupid id
编辑
1.441. c3mc-flow-exctl-load/perl
$0 --treeid id
$0 --treeid id --flowid id # It can be used when CI already exists and CD does not exist
编辑
1.442. c3mc-flow-exctl-load-ci/perl
$0 --treeid id --flowid id
编辑
1.443. c3mc-flow-exctl-load-ci-new/perl
$0 --treeid id
编辑
1.444. c3mc-flow-exctl-load-job/perl
$0 --treeid id --flowid id
编辑
1.445. c3mc-flow-exctl-load-jobv/perl
$0 --treeid id --flowid id
编辑
1.446. c3mc-flow-exctl-load-jobx/perl
$0 --treeid id
编辑
1.447. c3mc-googleplay-review-reply/perl
cat param.yml| $0
编辑
1.448. c3mc-k8s-backup/bash
编辑
1.449. c3mc-k8s-backup-cron/bash
编辑
1.450. c3mc-k8s-backup-once/bash
编辑
1.451. c3mc-k8s-kubectl-get/perl
$0 -id ticketid
编辑
1.452. c3mc-k8s-kubectl-getallresource/bash
编辑
1.453. c3mc-k8s-node-taint/perl
$0 -id ticketid --node nodename
编辑
1.454. c3mc-k8s-nsctl-copy/bash
编辑
1.455. c3mc-k8s-nsctl-dump/bash
编辑
1.456. c3mc-login/perl
$0
$0 --user user1 --pass password.base64
编辑
1.457. c3mc-login-ldap/perl
$0 --user user1 --pass password.base64
编辑
1.458. c3mc-login-mysql/perl
$0 --user user1 --pass password.base64
编辑
1.459. c3mc-mfa/perl
$0
$0 --user user1 --code 123456
编辑
1.460. c3mc-mfa-google/perl
$0 --user user1 --code 123456
编辑
1.461. c3mc-mfa-google-code/perl
$0 --secret xt37ss4kjo3z4ipv
编辑
1.462. c3mc-mfa-google-make/perl
$0 --user user1
$0 --user user1 --domain www.xx.com
编辑
1.463. c3mc-agent-authrotate-add/perl
$0
编辑
1.464. c3mc-agent-authrotate-clear/perl
$0
编辑
1.465. c3mc-agent-authrotate-data/perl
$0
编辑
1.466. c3mc-agent-authrotate-del/perl
$0
编辑
1.467. c3mc-agent-authrotate-make-key/perl
$0
编辑
1.468. c3mc-agent-inherit/perl
编辑
1.469. c3mc-agent-network-check/perl
$0
编辑
1.470. c3mc-agent-network-check-flow/perl
编辑
1.471. c3mc-agent-network-check-once/perl
编辑
1.472. c3mc-server-agent/perl
$0 servername
编辑
1.473. c3mc-mai-bedrock/python3
编辑
1.474. c3mc-branch-list/perl
$id
编辑
$id $branch
编辑
1.476. c3mc-branch-uuid/perl
$id $branch
编辑
1.477. c3mc-ci-branch-ls/perl
echo 'project yaml' | $0
编辑
1.478. c3mc-ci-branch-ls-git/perl
echo 'project yaml' | $0
编辑
1.479. c3mc-ci-bury/perl
$0
编辑
1.480. c3mc-ci-cislave-task-grep/perl
$0 id1 id2 ... idn
编辑
1.481. c3mc-ci-flowreport/perl
$0
$0 number # n day ago
编辑
1.482. c3mc-ci-flowreport-cireport/perl
$0 [--since '2022-03-24 00:00:00'] [--until '2022-03-24 23:59:59' ]
编辑
1.483. c3mc-ci-flowreport-jobxreport/perl
$0 [--since '2022-03-24 00:00:00'] [--until '2022-03-24 23:59:59' ]
编辑
1.484. c3mc-ci-gitreport/perl
编辑
1.485. c3mc-ci-gitreport-cron/bash
编辑
1.486. c3mc-ci-gitreport-once/perl
编辑
1.487. c3mc-ci-gitreport-statistics/perl
$0 [--path /path/foo ]
$0 [--date 2022-03-24] [--path /path/foo ]
编辑
1.488. c3mc-ci-gitreport-sync/perl
$0 flowid flowid2 .. flowidn
$0 flowid .. [--path /path/foo ]
编辑
1.489. c3mc-ci-project-show/perl
$0 id1 id2 ... idn
编辑
1.490. c3mc-ci-show-target/perl
$flowid
编辑
1.491. c3mc-ci-status-up/perl
$0 projectid version
编辑
1.492. c3mc-ci-tag-grep/perl
$0 id;tagname id2;tagname2 .. idn;tagnamen
编辑
1.493. c3mc-ci-tag-ls/perl
echo 'project yaml' | $0
编辑
1.494. c3mc-ci-tag-ls-git/perl
echo 'project yaml' | $0
编辑
1.495. c3mc-ci-tag-ls-harbor/perl
echo 'project yaml' | $0
编辑
1.496. c3mc-ci-tag-ls-svn/perl
echo 'project yaml' | $0
编辑
1.497. c3mc-ci-tag-save/perl
$0 projectid version
编辑
1.498. c3mc-docker-buildandsave/perl
$0 dockerfile imageid
编辑
1.499. c3mc-docker-save/perl
$0 image imageid
编辑
1.500. c3mc-jobx-task-run-to-master/perl
$0 projectid name group --user user --variablekv 'foo=123,bar=567'
编辑
1.501. c3mc-jobx-task-stat-to-master/perl
$0 uuid
编辑
1.502. c3mc-server-ci/perl
$0 servername
编辑
$id
编辑
$id $branch
编辑
1.505. c3mc-ci-code-merge/perl
$flowid srcbranch dstbranch
编辑
1.506. c3mc-aws-ecs-describe/perl
$0 -id ticketid --region xxx --cluster xxx --services xxx
编辑
1.507. c3mc-flow-feedback/perl
$0 --uuid id
编辑
1.508. c3mc-flow-nsctl-copy/perl
$0 --treeid id --srcns srcNamespace --dstns dstNamespace
$0 --treeid id --srcns srcNamespace --dstns dstNamespace --dsttreeid treeid
编辑
1.509. c3mc-flow-nsctl-copy-job/perl
$0 --treeid id --srcid id --dstid id
$0 --treeid id --srcid id --dstid id --dsttreeid treeid
编辑
1.510. c3mc-flow-nsctl-copy-jobx/perl
$0 --treeid id --srcid id --dstid id --env [online | test]
$0 --treeid id --srcid id --dstid id --env [online | test] --dsttreeid treeid
编辑
1.511. c3mc-flow-nsctl-delete/perl
$0 --treeid id --dstns dstNamespace
编辑
1.512. c3mc-flow-taskinfo/perl
$0 --uuid taskuuid
编辑
1.513. c3mc-job-approval-create/perl
$0 --id id
编辑
1.514. c3mc-job-approval-query/perl
$0 --id id
编辑
1.515. c3mc-job-approval-sync/perl
$0 --id id
编辑
1.516. c3mc-job-environment/perl
$0
编辑
1.517. c3mc-job-slave-random/perl
$0
编辑
1.518. c3mc-job-task-run/perl
$0 projectid name
$0 projectid name --uuid
$0 projectid name --user user --slave slave1 --calltype calltype --variable variablebase64
$0 projectid name --user user --slave slave1 --calltype calltype --variablekv 'foo=123,bar=567'
编辑
1.519. c3mc-job-task-stat/perl
$0 uuid1 uuid2 ... uuidn
编辑
1.520. c3mc-server-job/perl
$0 servername
编辑
1.521. c3mc-jobx-slave-random/perl
$0
编辑
1.522. c3mc-jobx-task-info-bysubuuid/perl
$0 uuid
编辑
1.523. c3mc-jobx-task-run/perl
$0 projectid name group
$0 projectid name group --user user --slave slave1 --calltype calltype --variable variablebase64
$0 projectid name group --user user --slave slave1 --calltype calltype --variablekv 'foo=123,bar=567'
编辑
1.524. c3mc-jobx-task-stat/perl
$0 uuid1 uuid2 ... uuidn
编辑
1.525. c3mc-server-jobx/perl
$0 servername
编辑
1.526. c3mc-app-mon-proxy-show/perl
$0
编辑
1.527. c3mc-cloudmon-make-promesd/perl
$0
编辑
1.528. c3mc-cloudmon-make-task/perl
$0
编辑
1.529. c3mc-mon-alarm-group-load/perl
$0 'groupname;user1,user2..usern;remark'
$0 'groupname;user1,user2..usern;remark' --user foo@xx.com
echo 'groupname;user1,user2..usern;remark' | ./$0 --user foo@xx.com
编辑
1.530. c3mc-mon-alertmanager-silence/perl
$0 --user open-c3/email labels1=123 label2=foo labels3=bar
$0 --user open-c3/email --comment byc3labels1=123 label2=foo labels3=bar
编辑
1.531. c3mc-mon-avg-cpu/perl
$0 --node 10.10.10.1 --date 2022-07-06
编辑
1.532. c3mc-mon-avg-mem/perl
$0 --node 10.10.10.1 --date 2022-07-06
编辑
1.533. c3mc-mon-carry/perl
$0
$0 --output /path/foo,yaml
编辑
1.534. c3mc-mon-carry-mongodb/perl
$0
$0 --output /path/foo,yaml
编辑
1.535. c3mc-mon-carry-mysql/perl
$0
$0 --output /path/foo,yaml
编辑
1.536. c3mc-mon-carry-redis/perl
$0
$0 --output /path/foo,yaml
编辑
1.537. c3mc-mon-collector-dump/perl
$0 --treeid id
编辑
1.538. c3mc-mon-collector-load/perl
$0 --treeid id
$0 --treeid id --user foo@xx.com
编辑
1.539. c3mc-mon-instancealias/perl
$0 ip
编辑
1.540. c3mc-mon-mailmon-addcont/perl
$0
编辑
1.541. c3mc-mon-mailmon-adduser/perl
$0
编辑
$0
编辑
1.543. c3mc-mon-mailmon-record/perl
$0
编辑
1.544. c3mc-mon-mailmon-sender/bash
编辑
1.545. c3mc-mon-mailmon-syncer/perl
$0 name
编辑
1.546. c3mc-mon-make-uexip/perl
$0
编辑
1.547. c3mc-mon-max-net-in/perl
$0 --node 10.10.10.1 --date 2022-07-06
编辑
1.548. c3mc-mon-max-net-out/perl
$0 --node 10.10.10.1 --date 2022-07-06
编辑
1.549. c3mc-mon-mesg-addcont/perl
$0
编辑
1.550. c3mc-mon-mesg-adduser/perl
$0
编辑
1.551. c3mc-mon-mesg-caseinfo-record/perl
$0
编辑
$0
编辑
1.553. c3mc-mon-mesg-grepvack/perl
$0
编辑
1.554. c3mc-mon-mesg-merge/perl
$0
编辑
$0
$0 --output /path/foo.yaml
编辑
1.556. c3mc-mon-mongodb-v3-exportercheck/perl
$0
编辑
1.557. c3mc-mon-mongodb-v3-exporterclean/perl
$0
编辑
1.558. c3mc-mon-mongodb-v3-exportermaker/perl
$0
编辑
1.559. c3mc-mon-monreport/perl
编辑
1.560. c3mc-mon-monreport-cron/bash
编辑
1.561. c3mc-mon-monreport-make/perl
编辑
1.562. c3mc-mon-mysql-exporterclean/perl
$0
编辑
1.563. c3mc-mon-mysql-exportermaker/perl
$0
编辑
$0
$0 --output /path/foo.yaml
编辑
$0
$0 --output /path/foo.yaml
编辑
1.566. c3mc-mon-mysql-v3-exportercheck/perl
$0
编辑
1.567. c3mc-mon-mysql-v3-exporterclean/perl
$0
编辑
1.568. c3mc-mon-mysql-v3-exportermaker/perl
$0
编辑
1.569. c3mc-mon-nlow-cron/bash
编辑
1.570. c3mc-mon-nlow-data/perl
$0 --node 10.10.10.1 --date 2022-07-06
编辑
1.571. c3mc-mon-nlow-fill/perl
$0 --node 10.10.10.1
编辑
1.572. c3mc-mon-nlow-redo/perl
$0
编辑
$0
$0 --output /path/foo.yaml
编辑
1.574. c3mc-mon-nodename-get/perl
$0 ip
编辑
$0
$0 --output /path/foo.yaml
编辑
1.576. c3mc-mon-nodetree-get/perl
$0 ip
编辑
1.577. c3mc-mon-prometheus-alerts-check/perl
$0
编辑
1.578. c3mc-mon-proxy/perl
$0 ip1 ip2 ... ipn
$0 ip1 ip2 ... ipn --output /path/foo.yaml
编辑
1.579. c3mc-mon-proxy-metrics/perl
$0
编辑
1.580. c3mc-mon-proxy-metricsd/perl
编辑
1.581. c3mc-mon-proxy-port/perl
$0 ip1:port ip2:port ... ipn:port
$0 ip1:port ip2:port ... ipn:port --output /path/foo.yaml
编辑
1.582. c3mc-mon-redis-exporterclean/perl
$0
编辑
1.583. c3mc-mon-redis-exportermaker/perl
$0
编辑
$0
$0 --output /path/foo.yaml
编辑
$0
$0 --output /path/foo.yaml
编辑
1.586. c3mc-mon-redis-v3-exportercheck/perl
$0
编辑
1.587. c3mc-mon-redis-v3-exporterclean/perl
$0
编辑
1.588. c3mc-mon-redis-v3-exportermaker/perl
$0
编辑
1.589. c3mc-mon-rule/perl
$0
$0 --output /path/foo,yaml
编辑
1.590. c3mc-mon-rule-dump/perl
$0 --treeid id
编辑
1.591. c3mc-mon-rule-load/perl
$0 --treeid id
$0 --treeid id --user foo@xx.com
编辑
1.592. c3mc-mon-selfhealing-curralter/perl
$0
$0 _ #ALL
$0 altername1 altername2 .. alternamen
$0 'altername1;foo1' 'altername2;foo2' .. alternamen
编辑
1.593. c3mc-mon-selfhealing-grepeips/perl
$0
编辑
1.594. c3mc-mon-selfhealing-maketask/perl
$0
echo 10.100.1.1;c125e5438273d8b0;2022-02-20T15:27:12.589Z;根盘/使用百分比大于85%;清理跟路径 |./$0
编辑
1.595. c3mc-mon-selfhealing-runtask/perl
$0
$0 1;10.60.77.73;清理tmp日志
编辑
1.596. c3mc-mon-selfhealing-update/perl
$0
$0 --close
$0 id;taskuuid
id instance fingerprint startsAt alertname
编辑
1.597. c3mc-mon-selfhealing-updatetask/perl
$0
$0 id;taskuuid
编辑
1.598. c3mc-mon-sender/bash
编辑
1.599. c3mc-mon-sender-ctrl/perl
监控系统/告警消息操作/临时数据放回管道
从altermanager发送出来的告警信息,通过api接口转换后,
会先存储到目录/data/open-c3-data/monitor-sender 中。
在某些情况下,需要人为介入进行消息管理。
./$0 --open # 打开临时通道
./$0 --close # 关闭临时通道
./$0 --stat # 查看状态
./$0 --load # 把线上通道的数据加载到临时通道。待发送的消息太多情况下使用
./$0 --list grep1 grep2 ... # 列出临时通道的消息
./$0 --recover grep1 grep2 ... # 恢复消息需要携带过滤条件
./$0 --delete grep1 grep2 ... # 删除消息需要携带过滤条件
注: grep1 grep2 ... 为“与”的关系,都满足才算匹配
编辑
1.600. c3mc-mon-treeinfo/perl
$0
编辑
1.601. c3mc-prometheus-check-expr/perl
$0
编辑
1.602. c3mc-mon-exalarm/perl
$0
编辑
1.603. c3mc-mon-exalarm-cron/bash
编辑
1.604. c3mc-mon-exmesg-cron/perl
$0
编辑
1.605. c3mc-mon-exmesg-maker/perl
$0
编辑
1.606. c3mc-mon-exmesg-maker-cron/bash
编辑
1.607. c3mc-mon-exmesg-save/perl
$0
编辑
1.608. c3mc-mon-aws-alb-avg-active-dump/perl
$0
编辑
1.609. c3mc-mon-aws-alb-dump/perl
$0
编辑
1.610. c3mc-mon-aws-alb-last-hostcount-dump/perl
$0
编辑
1.611. c3mc-mon-aws-ec2-avg-cpu-dump/perl
$0
编辑
1.612. c3mc-mon-aws-ec2-avg-mem-dump/perl
$0
编辑
1.613. c3mc-mon-aws-ec2-dump/perl
$0
编辑
1.614. c3mc-mon-aws-ec2-volume-dev-max-dump/perl
$0
编辑
1.615. c3mc-mon-aws-ec2-volume-dump/perl
$0
编辑
1.616. c3mc-mon-aws-elb-avg-active-dump/perl
$0
编辑
1.617. c3mc-mon-aws-elb-dump/perl
$0
编辑
1.618. c3mc-mon-aws-elb-last-hostcount-dump/perl
$0
编辑
1.619. c3mc-mon-aws-nlb-avg-active-dump/perl
$0
编辑
1.620. c3mc-mon-aws-nlb-dump/perl
$0
编辑
1.621. c3mc-mon-aws-nlb-last-hostcount-dump/perl
$0
编辑
1.622. c3mc-mon-aws-rds-avg-cpu-dump/perl
$0
编辑
1.623. c3mc-mon-aws-rds-avg-disk-dump/perl
$0
编辑
1.624. c3mc-mon-aws-rds-dump/perl
$0
编辑
1.625. c3mc-mon-aws-rds-max-cpu-dump/perl
$0
编辑
1.626. c3mc-mon-aws-rds-max-disk-dump/perl
$0
编辑
1.627. c3mc-mon-aws-redis-avg-cpu-dump/perl
$0
编辑
1.628. c3mc-mon-aws-redis-avg-mem-dump/perl
$0
编辑
1.629. c3mc-mon-aws-redis-dump/perl
$0
编辑
1.630. c3mc-mon-aws-redis-max-cpu-dump/perl
$0
编辑
1.631. c3mc-mon-aws-redis-max-mem-dump/perl
$0
编辑
1.632. c3mc-mon-host-disk-dump/perl
$0
编辑
1.633. c3mc-mon-host-disk-size-dump/perl
$0
编辑
1.634. c3mc-mon-host-disk-used-dump/perl
$0
编辑
1.635. c3mc-mon-huawei-rds-avg-cpu-dump/perl
$0
编辑
1.636. c3mc-mon-huawei-rds-avg-disk-dump/perl
$0
编辑
1.637. c3mc-mon-huawei-rds-dump/perl
$0
编辑
1.638. c3mc-mon-huawei-rds-max-cpu-dump/perl
$0
编辑
1.639. c3mc-mon-huawei-rds-max-disk-dump/perl
$0
编辑
1.640. c3mc-mon-huawei-redis-avg-cpu-dump/perl
$0
编辑
1.641. c3mc-mon-huawei-redis-avg-mem-dump/perl
$0
编辑
1.642. c3mc-mon-huawei-redis-dump/perl
$0
编辑
1.643. c3mc-mon-huawei-redis-max-cpu-dump/perl
$0
编辑
1.644. c3mc-mon-huawei-redis-max-mem-dump/perl
$0
编辑
1.645. c3mc-mon-qcloud-cdb-avg-cpu-dump/perl
$0
编辑
1.646. c3mc-mon-qcloud-cdb-avg-disk-dump/perl
$0
编辑
1.647. c3mc-mon-qcloud-cdb-dump/perl
$0
编辑
1.648. c3mc-mon-qcloud-cdb-max-cpu-dump/perl
$0
编辑
1.649. c3mc-mon-qcloud-cdb-max-disk-dump/perl
$0
编辑
1.650. c3mc-mon-qcloud-redis-avg-cpu-dump/perl
$0
编辑
1.651. c3mc-mon-qcloud-redis-avg-mem-dump/perl
$0
编辑
1.652. c3mc-mon-qcloud-redis-dump/perl
$0
编辑
1.653. c3mc-mon-qcloud-redis-max-cpu-dump/perl
$0
编辑
1.654. c3mc-mon-qcloud-redis-max-mem-dump/perl
$0
编辑
1.655. c3mc-mon-serialcall-ctrl/perl
$0 --write user1 user2 .. usern
$0 --write user1 user2 .. usern --caseuuid xxx.xxx.xxx
$0 --clean user1 user2 .. usern
$0 --cleancase xxx.xxx.xxx1 xxx.xxx.xxx2 .. xxx.xxx.xxxn
编辑
1.656. c3mc-nett-agent/bash
编辑
1.657. c3mc-nett-git/perl
$0
编辑
1.658. c3mc-nett-k8s/perl
$0
编辑
1.659. c3mc-oncall-cal/perl
$0 name [--zone timezone] [--level number] \
[--year year] [--month month] [--grep regex] [--user name]
编辑
1.660. c3mc-oncall-list/perl
$0 name [--begin date] [--days number] [--zone timezone] [--level number]
编辑
1.661. c3mc-oncall-make/perl
$0 [ name ]
编辑
1.662. c3mc-oncall-now/perl
$0 name --level number
编辑
1.663. c3mc-oncall-zone/perl
$0 [--time] [--link] [date time zone]
编辑
1.664. c3mc-base-send/perl
$0
编辑
1.665. c3mc-base-sendcall/perl
$0 user1 user2 ... user3
编辑
1.666. c3mc-base-sendmail/perl
$0 user1 user2 ... user3 --subject test
编辑
1.667. c3mc-base-sendmail-smtp/perl
$0 user1 user2 user3 --subject test
编辑
1.668. c3mc-base-sendmesg/perl
$0 user1 user2 ... user3
编辑
1.669. c3mc-base-sendmesg-dingding/perl
$0 user1 user2 ... user3
编辑
1.670. c3mc-base-sendmesg-dingding-bot/perl
$0 user1 user2 ... user3
编辑
1.671. c3mc-base-sendmesg-feishu/python3
编辑
1.672. c3mc-base-sendmesg-feishu-bot/perl
$0 user1 user2 ... user3
编辑
1.673. c3mc-base-sendmesg-lark/python3
编辑
1.674. c3mc-base-map2tree/perl
echo treemap | $0
编辑
1.675. c3mc-spotx-addlabel/perl
编辑
1.676. c3mc-spotx-affinity-add/perl
编辑
1.677. c3mc-spotx-affinity-check/perl
编辑
1.678. c3mc-spotx-affinity-del/perl
编辑
1.679. c3mc-spotx-affinity-newconf-json/perl
编辑
1.680. c3mc-spotx-affinity-newconf-yaml/bash
编辑
1.681. c3mc-spotx-affinity-oldconf-yaml/perl
编辑
1.682. c3mc-spotx-affinity-recconf-json/perl
编辑
1.683. c3mc-spotx-affinity-recconf-yaml/bash
编辑
1.684. c3mc-spotx-affinity-show/perl
编辑
1.685. c3mc-spotx-affinity-todo/bash
编辑
1.686. c3mc-spotx-clearlabel/perl
编辑
1.687. c3mc-spotx-dellabel-large/perl
编辑
1.688. c3mc-spotx-dellabel-small/perl
编辑
1.689. c3mc-spotx-run/perl
编辑
1.690. c3mc-spotx-show/perl
编辑
1.691. c3mc-spotx-util-deployment/perl
编辑
1.692. c3mc-spotx-util-node-clear/perl
编辑
1.693. c3mc-spotx-util-node-free/perl
编辑
1.694. c3mc-spotx-util-node-res/perl
编辑
1.695. c3mc-spotx-util-node-role/perl
编辑
1.696. c3mc-spotx-util-pods/perl
编辑
1.697. c3mc-statistics-tree-resource/python3
编辑
1.698. c3mc-create-ticket/python3
编辑
1.699. c3mc-upload-attach-for-ticket/python3
编辑
1.700. c3mc-wait-ticket-status-change/python3
编辑