softnet.conf 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # you can disable an alarm notification by setting the 'to' line to: silent
  2. # check for common /proc/net/softnet_stat errors
  3. alarm: 1min_netdev_backlog_exceeded
  4. on: system.softnet_stat
  5. class: Errors
  6. type: System
  7. component: Network
  8. os: linux
  9. hosts: *
  10. lookup: average -1m unaligned absolute of dropped
  11. units: packets
  12. every: 10s
  13. warn: $this > (($status >= $WARNING) ? (0) : (10))
  14. delay: down 1h multiplier 1.5 max 2h
  15. info: average number of dropped packets in the last minute \
  16. due to exceeded net.core.netdev_max_backlog
  17. to: sysadmin
  18. alarm: 1min_netdev_budget_ran_outs
  19. on: system.softnet_stat
  20. class: Errors
  21. type: System
  22. component: Network
  23. os: linux
  24. hosts: *
  25. lookup: average -1m unaligned absolute of squeezed
  26. units: events
  27. every: 10s
  28. warn: $this > (($status >= $WARNING) ? (0) : (10))
  29. delay: down 1h multiplier 1.5 max 2h
  30. info: average number of times ksoftirq ran out of sysctl net.core.netdev_budget or \
  31. net.core.netdev_budget_usecs with work remaining over the last minute \
  32. (this can be a cause for dropped packets)
  33. to: silent
  34. alarm: 10min_netisr_backlog_exceeded
  35. on: system.softnet_stat
  36. class: Errors
  37. type: System
  38. component: Network
  39. os: freebsd
  40. hosts: *
  41. lookup: average -1m unaligned absolute of qdrops
  42. units: packets
  43. every: 10s
  44. warn: $this > (($status >= $WARNING) ? (0) : (10))
  45. delay: down 1h multiplier 1.5 max 2h
  46. info: average number of drops in the last minute \
  47. due to exceeded sysctl net.route.netisr_maxqlen \
  48. (this can be a cause for dropped packets)
  49. to: sysadmin