tcp_resets.conf 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # you can disable an alarm notification by setting the 'to' line to: silent
  2. # -----------------------------------------------------------------------------
  3. # tcp resets this host sends
  4. alarm: 1m_ipv4_tcp_resets_sent
  5. on: ipv4.tcphandshake
  6. class: Errors
  7. type: System
  8. component: Network
  9. os: linux
  10. hosts: *
  11. lookup: average -1m at -10s unaligned absolute of OutRsts
  12. units: tcp resets/s
  13. every: 10s
  14. info: average number of sent TCP RESETS over the last minute
  15. alarm: 10s_ipv4_tcp_resets_sent
  16. on: ipv4.tcphandshake
  17. class: Errors
  18. type: System
  19. component: Network
  20. os: linux
  21. hosts: *
  22. lookup: average -10s unaligned absolute of OutRsts
  23. units: tcp resets/s
  24. every: 10s
  25. warn: $netdata.uptime.uptime > (1 * 60) AND $this > ((($1m_ipv4_tcp_resets_sent < 5)?(5):($1m_ipv4_tcp_resets_sent)) * (($status >= $WARNING) ? (1) : (10)))
  26. delay: up 20s down 60m multiplier 1.2 max 2h
  27. options: no-clear-notification
  28. info: average number of sent TCP RESETS over the last 10 seconds. \
  29. This can indicate a port scan, \
  30. or that a service running on this host has crashed. \
  31. Netdata will not send a clear notification for this alarm.
  32. to: sysadmin
  33. # -----------------------------------------------------------------------------
  34. # tcp resets this host receives
  35. alarm: 1m_ipv4_tcp_resets_received
  36. on: ipv4.tcphandshake
  37. class: Errors
  38. type: System
  39. component: Network
  40. os: linux freebsd
  41. hosts: *
  42. lookup: average -1m at -10s unaligned absolute of AttemptFails
  43. units: tcp resets/s
  44. every: 10s
  45. info: average number of received TCP RESETS over the last minute
  46. alarm: 10s_ipv4_tcp_resets_received
  47. on: ipv4.tcphandshake
  48. class: Errors
  49. type: System
  50. component: Network
  51. os: linux freebsd
  52. hosts: *
  53. lookup: average -10s unaligned absolute of AttemptFails
  54. units: tcp resets/s
  55. every: 10s
  56. warn: $netdata.uptime.uptime > (1 * 60) AND $this > ((($1m_ipv4_tcp_resets_received < 5)?(5):($1m_ipv4_tcp_resets_received)) * (($status >= $WARNING) ? (1) : (10)))
  57. delay: up 20s down 60m multiplier 1.2 max 2h
  58. options: no-clear-notification
  59. info: average number of received TCP RESETS over the last 10 seconds. \
  60. This can be an indication that a service this host needs has crashed. \
  61. Netdata will not send a clear notification for this alarm.
  62. to: sysadmin