Blame view

trunk/conf/http.heartbeat.conf 688 字节
1 2 3
# the config for srs http heartbeat, report its info to api-server
# @see full.conf for detail config.
4 5
listen              1935
max_connections     1000;
6 7 8
heartbeat {
    enabled         on;
    interval        9.3;
9
    # for python api-server
10 11
    url             http://127.0.0.1:8085/api/v1/servers;
    device_id       "my-srs-device";
12 13 14 15
    # for ossrs.net monitor, device_id is the key genereated by bsm.
    #url             http://www.ossrs.net:1977/api/v1/robots/servers;
    #device_id       "35c9b402c12a7246868752e2878f7e0e";
    # with detail summaries
16 17 18
    summaries       on;
}
stats {
winlin authored
19 20
    network         0;
    disk            sda sdb xvda xvdb;
21 22 23
}
vhost __defaultVhost__ {
}