smokeping.conf 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. ##
  2. ## @l_prefix@/etc/smokeping/smokeping.conf -- SmokePing configuration
  3. ##
  4. *** General ***
  5. owner = John Doe
  6. contact = john.doe@example.com
  7. mailhost = smtp.example.com
  8. sendmail = @l_prefix@/sbin/sendmail
  9. smokemail = @l_prefix@/etc/smokeping/smokemail
  10. cgiurl = http://www.example.com/smokeping/smokeping.cgi
  11. imgurl = http://www.example.com/smokeping/img
  12. imgcache = @l_prefix@/var/smokeping/img
  13. datadir = @l_prefix@/var/smokeping/dat
  14. piddir = @l_prefix@/var/smokeping/
  15. *** Alerts ***
  16. to = admin@example.com
  17. from = smokeping@example.com
  18. +bigloss
  19. type = loss
  20. # in percent
  21. pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0%
  22. comment = suddenly there is packet loss
  23. +someloss
  24. type = loss
  25. # in percent
  26. pattern = >0%,*12*,>0%,*12*,>0%
  27. comment = loss 3 times in a row
  28. +startloss
  29. type = loss
  30. # in percent
  31. pattern = ==S,>0%,>0%,>0%
  32. comment = loss at startup
  33. +rttdetect
  34. type = rtt
  35. # in milli seconds
  36. pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100
  37. comment = routing mesed up again ?
  38. *** Database ***
  39. step = 300
  40. pings = 20
  41. # consfn mrhb steps total
  42. # ------ ---- ----- -----
  43. AVERAGE 0.5 1 1008
  44. AVERAGE 0.5 12 4320
  45. MIN 0.5 12 4320
  46. MAX 0.5 12 4320
  47. AVERAGE 0.5 144 720
  48. MAX 0.5 144 720
  49. MIN 0.5 144 720
  50. *** Presentation ***
  51. template = @l_prefix@/etc/smokeping/smokeping.html
  52. + overview
  53. width = 600
  54. height = 50
  55. range = 10h
  56. + detail
  57. width = 600
  58. height = 200
  59. unison_tolerance = 2
  60. "Last 3 Hours" 3h
  61. "Last 30 Hours" 30h
  62. "Last 10 Days" 10d
  63. "Last 400 Days" 400d
  64. *** Probes ***
  65. + FPing
  66. binary = @l_prefix@/sbin/fping
  67. *** Targets ***
  68. probe = FPing
  69. menu = Top
  70. title = Network Latency Grapher
  71. remark = SmokePing
  72. + World
  73. menu = World
  74. title = Worldwide connectivity
  75. alerts = bigloss,someloss,startloss
  76. ++ example-com
  77. menu = example.com
  78. title = example.com web server
  79. host = www.example.com
  80. ++ example-net
  81. menu = example.net
  82. title = example.net web server
  83. host = www.example.net
  84. ++ example-org
  85. menu = example.org
  86. title = example.org web server
  87. host = www.example.org