In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to modify the time period of data collection by ceilometer under OpenStack. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
After rebuilding the OpenStack, we restored our existing system and found that the data was occasional. Later, the brother said that the default collection time period of OpenStack's ceilometer was 10 minutes, which was too long for our system, so the default collection time period was modified.
# Control node root@controller:/etc/ceilometer# cd / etc/ceilometer/root@controller:/etc/ceilometer# vim pipeline.yaml-- sources:-name: meter_source interval: 10 # modify the default 600th (10 minutes) here to 10 seconds meters: "*" sinks:-meter_sink-name: cpu_source interval: 10 # change the default 600th here (10 minutes) change to 10 seconds meters:-"cpu" sinks:-cpu_sink-cpu_delta_sink-name: disk_source interval: 10 # change the default 600th (10 minutes) here to 10 seconds meters:-"disk.read.bytes"-"disk.read.requests" -"disk.write.bytes"-"disk.write.requests"-"disk.device.read.bytes"-"disk.device.read.requests"-"disk.device.write.bytes"-"disk.device.write.requests" sinks:-disk_sink-name: network_source interval: 10 # default here Change it to 10 seconds meters:-"network.incoming.bytes"-"network.incoming.packets"-"network.outgoing.bytes"-"network.outgoing.packets" sinks:-network_sink and restart the ceilometer service cd / etc/init.d/ after editing For i in $(ls ceilometer-*); do sudo service $I restart Done# modifies the default 600th (10 minutes) here to 10 seconds meters: "*" sinks:-meter_sink-name: cpu_source interval: 10 meters on other computing nodes root@compute02:/etc/ceilometer# pwd/etc/ceilometerroot@compute02:/etc/ceilometer# vim pipeline.yaml-- sources:-name: meter_source interval: 10 # -"cpu" sinks:-cpu_sink-cpu_delta_sink-name: disk_source interval: 10 meters:-"disk.read.bytes"-"disk.read.requests"-"disk.write.bytes"-"disk.write.requests"-"disk.device.read. Bytes "-" disk.device.read.requests "-" disk.device.write.bytes "-" disk.device.write.requests "sinks:-disk_sink-name: network_source interval: 10 meters: -" network.incoming.bytes "-" network.incoming.packets "-" network.outgoing " Bytes "-" network.outgoing.packets "sinks:-network_sink# restart service root@compute02:/etc/ceilometer# / etc/init.d/ceilometer-agent-compute restart Thank you for reading! This is the end of this article on "how to modify the time period of ceilometer data collection under OpenStack". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.