顯示具有 Monitoring 標籤的文章。 顯示所有文章
顯示具有 Monitoring 標籤的文章。 顯示所有文章

2013年6月18日 星期二

Xenserver RRDs


Xenserver所使用的RRD Consolidation Function(CF)共有:
1. Average
2. Min
3. Max

There exist RRDs for individual VMs (including dom0) and the host. The VM RRDs are stored on the host on which they run, or the pool master when they are not running. This means that the location of VM must be known in order to retrieve the associated performance data.

DS Field Definitions:

DSDefines a Data Source Field.
DS-NameThe name of this Data Source.
DSTDefines the Data Source Type. Can be GAUGE, COUNTER, DERIVE or ABSOLUTE.
HeartBeatDefines the minimum heartbeat, the maximum number of seconds that can go by before a DS value is considered unknown.
MinThe minimum acceptable value. Values less than this number are considered unknown. This is optional.
MaxThe maximum acceptable value. Values exceeding this number are considered unknown. This is optional.

DS欄位格式為"三文字,三數字"

ex:
DS:telnet:COUNTER:600:0:100000000
      (DS-Name) (DST) (HeartBeat)  (Min) (Max)

RRA

RRA means round robin archive. Defining an RRA is the tricky part!

This parameter describes how long you want to hold your data, and in what resolution. There can be more than on archive. If the time span of an archive is full, the data will be consolidated and saved into the next archive.

The format is
RRA:CF:xff:steps:rows



http://community.citrix.com/display/xs/Graphing+RRD+with+GNUPlot
http://community.citrix.com/display/xs/Getting+the+Last+RRD+Datapoints
http://community.citrix.com/display/xs/Using+XenServer+RRDs

2013年6月13日 星期四

ceilometer監控的資料類型



TypeDefinition
CumulativeIncreasing over time (instance hours)
GaugeDiscrete items (floating IPs, image uploads) and fluctuating values (disk I/O)
DeltaChanging over time (bandwidth)

Linux系統附載均值

load average: 0.09, 0.05, 0.01
             (1min)(5min) (15min)



Reference

http://www.gracecode.com/posts/2973.html

2013年6月9日 星期日

RRDTools

RRDTools = Round-Robin Database Tools的縮寫

handle time-series data like network bandwidth,temperatures, CPU load, etc. The data are stored in a round-robin database (circular buffer), thus the system storage footprint remains constant over time.



Reference:

1. RRDtools tutorial, http://oss.oetiker.ch/rrdtool/tut/

2013年4月29日 星期一

ceilometer 安裝筆記


安裝步驟

1. Installing Central Collector

2. Installing Compute Agent

每個compute node都必須安裝ceilometer然後進行配置。

3. Installing Central Agent

4. Installing API Server

The API server needs to be able to talk to keystone and ceilometer’s database




[Note] /etc/ceilometer/ceilometer.conf

meter_sceret必須修改且每一個裝設ceilometer套件的conf中的sceret值必須相同


各功能元件的所在

/usr/local/bin/ceilometer-agent-central
/usr/local/bin/ceilometer-agent-compute
/usr/local/bin/ceilometer-api
/usr/local/bin/ceilometer-collector
/usr/local/bin/ceilometer-dbsync