boinc.conf 1.8 KB

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