example.yaml 878 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. dataProvider:
  2. type: DATABASE
  3. config:
  4. url: "jdbc:postgresql://localhost:5432/senslog"
  5. username: "<username>"
  6. password: "<password>"
  7. connectionPoolSize: 6
  8. groupName: "<group_name>"
  9. messageBroker:
  10. type: EMAIL # EMAIL, CONSOLE (for testing), WHATSAPP (not yet), TELEGRAM (not yet)
  11. vanishPeriod: 3 # number of days when already send report could be sent again
  12. config:
  13. smtpHost: "<smtp_server>"
  14. smtpPort: 465
  15. authUsername: "<username>"
  16. authPassword: "<password>"
  17. senderEmail: "<sender_email>"
  18. recipientEmail: "<recipient_email>"
  19. subject: "<subject>"
  20. monitoredObjects:
  21. unit_id_1:
  22. interval: 1440
  23. unit_id_2:
  24. interval: 1440
  25. sensors: [210000000, 220000000]
  26. unit_id_3:
  27. interval: 1440
  28. sensors:
  29. 310000000:
  30. 320000000: 2880
  31. unit_id_4:
  32. sensors:
  33. 410000000: 2880
  34. 420000000: 1440