修改监控配置 示例 示例1 修改服务器hblock1的Pushgateway监控配置。 plaintext [root@hblockserver CTYUNHBlockPlus4.1.0x64] ./stor config set i monitor pushgateway 192.168.0.1:9091 pushgatewaylabels agent:agentname all n hblock1 Set all pushgateway labels {agentagentname} of pushgateway 192.168.0.1:9091 on server hblock1 successfully. 示例2 修改服务器hblock1、hblock2的采集的监控指标。 plaintext [root@hblockserver CTYUNHBlockPlus4.1.0x64] ./stor config set i monitor all collectmetric server collectmetricitems disk n hblock1,hblock2 Set all collect metric items [disk] in collect metric server on server hblock1,hblock2 successfully. 示例3 修改服务器hblock1、hblock2向Pushgateway发送数据的超时时间 plaintext [root@hblockserver CTYUNHBlockPlus4.1.0x64] ./stor config set i monitor pushgatewaytimeout 20s n hblock1,hblock2 Set pushgateway timeout of server hblock1,hblock2 successfully.