tcp_resets.conf 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # you can disable an alarm notification by setting the 'to' line to: silent
  2. # -----------------------------------------------------------------------------
  3. # tcp resets this host sends
  4. alarm: 1m_ip_tcp_resets_sent
  5. on: ip.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_ip_tcp_resets_sent
  16. on: ip.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_ip_tcp_resets_sent < 5)?(5):($1m_ip_tcp_resets_sent)) * (($status >= $WARNING) ? (1) : (10)))
  26. delay: up 20s down 60m multiplier 1.2 max 2h
  27. options: no-clear-notification
  28. summary: System TCP outbound resets
  29. info: Average number of sent TCP RESETS over the last 10 seconds. \
  30. This can indicate a port scan, \
  31. or that a service running on this host has crashed. \
  32. Netdata will not send a clear notification for this alarm.
  33. to: silent
  34. # -----------------------------------------------------------------------------
  35. # tcp resets this host receives
  36. alarm: 1m_ip_tcp_resets_received
  37. on: ip.tcphandshake
  38. class: Errors
  39. type: System
  40. component: Network
  41. os: linux freebsd
  42. hosts: *
  43. lookup: average -1m at -10s unaligned absolute of AttemptFails
  44. units: tcp resets/s
  45. every: 10s
  46. info: average number of received TCP RESETS over the last minute
  47. alarm: 10s_ip_tcp_resets_received
  48. on: ip.tcphandshake
  49. class: Errors
  50. type: System
  51. component: Network
  52. os: linux freebsd
  53. hosts: *
  54. lookup: average -10s unaligned absolute of AttemptFails
  55. units: tcp resets/s
  56. every: 10s
  57. warn: $netdata.uptime.uptime > (1 * 60) AND $this > ((($1m_ip_tcp_resets_received < 5)?(5):($1m_ip_tcp_resets_received)) * (($status >= $WARNING) ? (1) : (10)))
  58. delay: up 20s down 60m multiplier 1.2 max 2h
  59. options: no-clear-notification
  60. summary: System TCP inbound resets
  61. info: average number of received TCP RESETS over the last 10 seconds. \
  62. This can be an indication that a service this host needs has crashed. \
  63. Netdata will not send a clear notification for this alarm.
  64. to: silent