boinc.conf 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # Alarms for various BOINC issues.
  2. # Warn on any compute errors encountered.
  3. template: boinc_compute_errors
  4. on: boinc.states
  5. class: Errors
  6. type: Computing
  7. component: BOINC
  8. os: *
  9. hosts: *
  10. lookup: average -10m unaligned of comperror
  11. units: tasks
  12. every: 1m
  13. warn: $this > 0
  14. delay: up 1m down 5m multiplier 1.5 max 1h
  15. info: average number of compute errors over the last 10 minutes
  16. to: sysadmin
  17. # Warn on lots of upload errors
  18. template: boinc_upload_errors
  19. on: boinc.states
  20. class: Errors
  21. type: Computing
  22. component: BOINC
  23. os: *
  24. hosts: *
  25. lookup: average -10m unaligned of upload_failed
  26. units: tasks
  27. every: 1m
  28. warn: $this > 0
  29. delay: up 1m down 5m multiplier 1.5 max 1h
  30. info: average number of failed uploads over the last 10 minutes
  31. to: sysadmin
  32. # Warn on the task queue being empty
  33. template: boinc_total_tasks
  34. on: boinc.tasks
  35. class: Utilization
  36. type: Computing
  37. component: BOINC
  38. os: *
  39. hosts: *
  40. lookup: average -10m unaligned of total
  41. units: tasks
  42. every: 1m
  43. warn: $this < 1
  44. delay: up 5m down 10m multiplier 1.5 max 1h
  45. info: average number of total tasks over the last 10 minutes
  46. to: sysadmin
  47. # Warn on no active tasks with a non-empty queue
  48. template: boinc_active_tasks
  49. on: boinc.tasks
  50. class: Utilization
  51. type: Computing
  52. component: BOINC
  53. os: *
  54. hosts: *
  55. lookup: average -10m unaligned of active
  56. calc: ($boinc_total_tasks >= 1) ? ($this) : (inf)
  57. units: tasks
  58. every: 1m
  59. warn: $this < 1
  60. delay: up 5m down 10m multiplier 1.5 max 1h
  61. info: average number of active tasks over the last 10 minutes
  62. to: sysadmin