Appendix A: Graph¶
All MRTG statistics are shown as PNG-format graphs. The call format is the resource and then the unit.
# 5 types of CPU graphs (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
All graphs are provided in 5 different types.
Type | Size | Time unit | Period |
---|---|---|---|
dash | 205 X 175 | 5 min | 12 hours |
day | 580 X 203 | 5 min | 2 days (48 hours) |
week | 580 X 203 | 30 min | 2 weeks (14 days) |
month | 580 X 203 | 2 hours | 7 weeks |
year | 580 X 203 | 1 day | 18 months |
A graph can have from one to three lines. The Main line is drawn in green, while the Sub line is drawn in blue. In graphs for “Week” and above, a Peak line is also displayed. The Peak line draws the highest value from smaller units in pink.
Note
If too many graphs are made at once, CPU usage will increase sharply and affect the service quality. To prevent this, please make sure to only draw one graph at a time.
Global Resource¶
The global resource graph shows the system status or resources related to STON. Below, the asterisk can be replaced with one of five types: dash, day, week, month, or year.
Server Socket Usage (Client -> STON)¶
/graph/ssockusage_*.png
Main
Total server socketsSub
Established server sockets
Client Socket Event (STON -> Origin Server)¶
/graph/csockevent_*.png
Main
Connected client socketsSub
Closed client sockets
Client Socket Usage (STON -> Origin Server)¶
/graph/csockusage_*.png
Main
Total client socketsSub
Established client sockets
Virtual Host¶
The virtual host graph shows the status of all hosts or individual hosts. The vhost parameter can be used to choose a specific virtual host, but if it is omitted then it will provide the statistics of all virtual hosts.
http://127.0.0.1:10040/graph/vhost/mem_day.png?vhost=example.com
Below, the asterisk can be replaced with one of five types: dash, day, week, month, or year.
Client Sessions¶
/graph/vhost/client_http_session_*.png
Main
Total client sessionsSub
Client sessions in the middle of transfer
Client Responses¶
/graph/vhost/client_http_res_*.png
Main
Number of client HTTP responsesSub
Number of client HTTP requests
Client Transaction Completions¶
/graph/vhost/client_http_res_complete_*.png
Main
Number of completed client HTTP responsesSub
Number of client HTTP requests
Client Response Time¶
/graph/vhost/client_http_res_time1_*.png
Main
HTTP response time for a client request
Client Completion Time¶
/graph/vhost/client_http_res_time2_*.png
Main
HTTP transaction completion time for a client request
Origin Server Sessions¶
/graph/vhost/origin_http_session_*.png
Main
Total origin sessionsSub
Origin sessions in the middle of transfer
Origin Server Responses¶
/graph/vhost/origin_http_res_*.png
Main
Number of origin HTTP responsesSub
Number of origin HTTP requests
Origin Server Transaction Completions¶
/graph/vhost/origin_http_res_complete_*.png
Main
Number of completed origin HTTP responsesSub
Number of origin HTTP requests
Origin Server Response Time¶
/graph/vhost/origin_http_res_time1_*.png
Main
HTTP response time for requests sent to the origin server
Origin Server Completion Time¶
/graph/vhost/origin_http_res_time2_*.png
Main
HTTP transaction completion time for requests sent to the origin server