2
0

http.heartbeat.conf 742 B

12345678910111213141516171819202122232425
  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. daemon off;
  6. srs_log_tank console;
  7. heartbeat {
  8. enabled on;
  9. interval 9.3;
  10. # for python api-server
  11. url http://127.0.0.1:8085/api/v1/servers;
  12. device_id "my-srs-device";
  13. # for ossrs.net monitor, device_id is the key genereated by bsm.
  14. #url http://www.ossrs.net:1977/api/v1/robots/servers;
  15. #device_id "35c9b402c12a7246868752e2878f7e0e";
  16. # with detail summaries
  17. summaries on;
  18. }
  19. stats {
  20. network 0;
  21. disk sda sdb xvda xvdb;
  22. }
  23. vhost __defaultVhost__ {
  24. }