Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.03 KB | None | 0 0
  1. ######### MASTER NODE
  2. /etc/munin/munin.conf
  3.  
  4. # Example configuration file for Munin, generated by 'make build'
  5.  
  6. # The next three variables specifies where the location of the RRD
  7. # databases, the HTML output, and the logs, severally. They all
  8. # must be writable by the user running munin-cron.
  9. dbdir /var/lib/munin
  10. htmldir /var/www/munin
  11. logdir /var/log/munin
  12. rundir /var/run/munin
  13.  
  14. # Where to look for the HTML templates
  15. tmpldir /etc/munin/templates
  16.  
  17. # Make graphs show values per minute instead of per second
  18. #graph_period minute
  19.  
  20. # Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime
  21. # something changes (OK -> WARNING, CRITICAL -> OK, etc)
  22. #contact.someuser.command mail -s "Munin notification" somejuser@fnord.comm
  23. #contact.anotheruser.command mail -s "Munin notification" anotheruser@blibb.comm
  24. #
  25. # For those with Nagios, the following might come in handy. In addition,
  26. # the services must be defined in the Nagios server as well.
  27. #contact.nagios.command /usr/sbin/send_nsca -H nagios.host.com -c /etc/send_nsca.cfg
  28.  
  29. # a simple host tree
  30. [prunk.si;olm]
  31. address 127.0.0.1
  32. use_node_name yes
  33.  
  34. #
  35. # A more complex example of a host tree
  36. #
  37. ## First our "normal" host.
  38. # [fii.foo.com]
  39. # address foo
  40. #
  41. ## Then our other host...
  42. # [fay.foo.com]
  43. # address fay
  44. #
  45. ## Then we want totals...
  46. # [foo.com;Totals] #Force it into the "foo.com"-domain...
  47. # update no # Turn off data-fetching for this "host".
  48. #
  49. # # The graph "load1". We want to see the loads of both machines...
  50. # # "fii=fii.foo.com:load.load" means "label=machine:graph.field"
  51. # load1.graph_title Loads side by side
  52. # load1.graph_order fii=fii.foo.com:load.load fay=fay.foo.com:load.lo
  53.  
  54. #
  55. # # The graph "load2". Now we want them stacked on top of each other.
  56. # load2.graph_title Loads on top of each other
  57. # load2.dummy_field.stack fii=fii.foo.com:load.load fay=fay.foo.com:load.load
  58. # load2.dummy_field.draw AREA # We want area instead the default LINE2.
  59. # load2.dummy_field.label dummy # This is needed. Silly, really.
  60. #
  61. # # The graph "load3". Now we want them summarised into one field
  62. # load3.graph_title Loads summarised
  63. # load3.combined_loads.sum fii.foo.com:load.load fay.foo.com:load.load
  64. # load3.combined_loads.label Combined loads # Must be set, as this is
  65. # # not a dummy field!
  66. #
  67. ## ...and on a side note, I want them listen in another order (default is
  68. ## alphabetically)
  69. #
  70. # # Since [foo.com] would be interpreted as a host in the domain "com", we
  71. # # specify that this is a domain by adding a semicolon.
  72. # [foo.com;]
  73. # node_order Totals fii.foo.com fay.foo.com
  74. #
  75.  
  76. [freenode.net;bartol]
  77. address 193.107.206.21
  78. use_node_name yes
  79.  
  80. #[mtveurope.org;florenz]
  81. #address 217.172.183.84
  82. #use_node_name yes
  83. #port 4995
  84.  
  85. [mtveurope.org;uranus]
  86. address 193.107.206.24
  87. use_node_name yes
  88.  
  89. #[mtveurope.org;ottawan]
  90. #address 90.157.144.20
  91. #port 4970
  92. #use_node_name yes
  93.  
  94. [mtveurope.org;direkt]
  95. address 77.37.15.117
  96. use_node_name yes
  97.  
  98. [mtveurope.org;gnewsense]
  99. address 212.18.48.41
  100. use_node_name yes
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109. ###### SLAVE NODE
  110. /etc/munin/munin-node.conf
  111. #
  112. # Example config-file for munin-node
  113. #
  114.  
  115. log_level 4
  116. log_file /var/log/munin/munin-node.log
  117. port 4949
  118. pid_file /var/run/munin/munin-node.pid
  119. background 1
  120. setseid 1
  121.  
  122. # Which port to bind to;
  123. host *
  124. user root
  125. group root
  126. setsid yes
  127.  
  128. # Regexps for files to ignore
  129.  
  130. ignore_file ~$
  131. ignore_file \.bak$
  132. ignore_file %$
  133. ignore_file \.dpkg-(tmp|new|old|dist)$
  134. ignore_file \.rpm(save|new)$
  135.  
  136. # Set this if the client doesn't report the correct hostname when
  137. # telnetting to localhost, port 4949
  138. #
  139. #host_name localhost.localdomain
  140.  
  141. # A list of addresses that are allowed to connect. This must be a
  142. # regular expression, due to brain damage in Net::Server, which
  143. # doesn't understand CIDR-style network notation. You may repeat
  144. # the allow line as many times as you'd like
  145.  
  146. allow ^127\.0\.0\.1$
  147. allow ^69\.94\.121\.125$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement