Appendix A: Graph
すべてのMRTG統計はPNG形式のグラフで提供される。 呼び出し規約は、リソースの後に単位が付く形式である。
# 5つの CPU Graph (dash, day, week, month, year)
http://127.0.0.1:10040/graph/cpu_dash.png
http://127.0.0.1:10040/graph/cpu_day.png
http://127.0.0.1:10040/graph/cpu_week.png
http://127.0.0.1:10040/graph/cpu_month.png
http://127.0.0.1:10040/graph/cpu_year.png
すべてのグラフは、5つのタイプに提供される。
タイプ |
サイズ |
時間単位 |
期間 |
dash |
205 X 175 |
5分 |
12時間 |
day |
580 X 203 |
5分 |
2日 (48時間) |
week |
580 X 203 |
30分 |
2週間 (14日) |
month |
580 X 203 |
2時間 |
7週 |
year |
580 X 203 |
1日 |
18ヶ月 |
グラフには、少なくとも1つから最大3つの線が描かれる。 Mainラインは緑、Sub行は青で描かれる。 また、"Week"のグラフ以上からPeakラインが提供される。 Peakラインは、以前の単位での最大の数値をピンクに描く。
注釈
あまりにも多くのグラフを同時に描画する場合、CPU使用率が過度に高くなり、サービス品質の低下が発生することができる。 これを防止するために、常に、一度に一つのグラフのみ描くように管理する。
グローバル・リソース
グローバル・リソースグラフは、システムの状態やSTONに関するリソースについてサービスする。 以下の表で *はタイプ(dash、day、week、month、year)のいずれかを意味する。
CPU
Main
Kernel + User
Sub
Kernel
STONメディアサーバーCPU
/graph/ston_media_server_cpu_*.png
Main
Kernel + User
Sub
Kernel
メモリ
Main
全体の使用量
Sub
STONメディアサーバーの使用率
サーバソケットイベント(クライアント -> STON)
サーバソケットの使用量(クライアント -> STON)
クライアントソケットイベント(STON - >ソースサーバー)
Main
Connected
Sub
Closed
クライアントソケットの使用量(STON - >ソースサーバー)
仮想ホスト
仮想ホストのグラフは、全体または個々の仮想ホストの状態についてサービスする。 vhostパラメータを利用して、特定の仮想ホストを指定することができ、省略された場合、全体の仮想ホストの合計を提供する。
http://127.0.0.1:10040/graph/vhost/mem_day.png?vhost=example.com
以下の表で *はタイプ(dash、day、week、month、year)のいずれかを意味する。
ヒット率
/graph/vhost/hitratio_*.png
Main
Request Hit Ratio
Sub
Byte Hit Ratio
コンテンツ数
/graph/vhost/filecount_*.png
クライアントバイパス
/graph/vhost/client_httpreq_bypass_*.png
Main
バイパスされたクライアントのHTTPリクエスト
クライアントの要求をブロック
/graph/vhost/client_httpreq_denied_*.png
クライアントセッション
/graph/vhost/client_http_session_*.png
Main
全体クライアントセッション
Sub
伝送進行中のクライアントセッション
クライアントのトラフィック
/graph/vhost/client_traffic_*.png
Main
Inbound
Sub
Outbound
クライアントの応答
/graph/vhost/client_http_res_*.png
Main
クライアントHTTP応答の数
Sub
クライアントのHTTP要求の数
クライアントの詳細応答
/graph/vhost/client_http_res_detail_*.png
クライアントトランザクションの完了
/graph/vhost/client_http_res_complete_*.png
Main
完了クライアントHTTP応答の数
Sub
クライアントのHTTP要求の数
クライアントの応答時間
/graph/vhost/client_http_res_time1_*.png
クライアント完了時間
/graph/vhost/client_http_res_time2_*.png
Main
クライアント要求のHTTPトランザクションの完了時間
クライアントキャッシュ応答
/graph/vhost/client_http_res_hit_*.png
クライアントSSLトラフィック
/graph/vhost/client_traffic_ssl_*.png
Main
Inbound
Sub
Outbound
ソースサーバーセッション
/graph/vhost/origin_http_session_*.png
Main
フルオリジナルセッション
Sub
伝送進行中のソースセッション
ソースサーバーのトラフィック
/graph/vhost/origin_traffic_*.png
Main
Inbound
Sub
Outbound
ソースサーバーの応答
/graph/vhost/origin_http_res_*.png
Main
元HTTP応答の数
Sub
元のHTTPリクエストの数
ソースサーバーの詳細応答
/graph/vhost/origin_http_res_detail_*.png
ソースサーバートランザクションの完了
/graph/vhost/origin_http_res_complete_*.png
Main
完了ソースサーバーHTTP応答の数
Sub
元サーバーのHTTPリクエストの数
元のサーバーの応答時間
/graph/vhost/origin_http_res_time1_*.png
Main
元サーバーに送信される要求のHTTP応答時間
ソースサーバー完了時間
/graph/vhost/origin_http_res_time2_*.png
Main
元サーバーに送信される要求のHTTPトランザクションの完了時間