2
0

http.heartbeat.conf 688 B

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