munin-node.conf.plugins.j2 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. {% if ansible_prolog -%}
  2. {% from 'templates/ansible/prolog.j2' import prolog with context %}
  3. {{ prolog() }}
  4. {% endif -%}
  5. # This file is used to configure how the plugins are invoked.
  6. # Place in /etc/munin/plugin-conf.d/ or corresponding directory.
  7. #
  8. # PLEASE NOTE: Changes in the plugin-conf.d directory are only
  9. # read at munin-node startup, so restart at any changes.
  10. #
  11. # user <user> # Set the user to run the plugin as.
  12. # group <group> # Set the group to run the plugin as.
  13. # command <command> # Run <command> instead of the plugin. %c expands to
  14. # what would normally be run.
  15. # env.<variable> <value> # Sets <variable> in the plugin's environment, see the
  16. # individual plugins to find out which variables they
  17. # care about.
  18. [amavis]
  19. group adm
  20. env.MUNIN_MKTEMP /bin/mktemp -p /tmp/ $1
  21. env.amavislog /var/log/mail.info
  22. [apt]
  23. user root
  24. [courier_mta_mailqueue]
  25. group daemon
  26. [courier_mta_mailstats]
  27. group adm
  28. [courier_mta_mailvolume]
  29. group adm
  30. [cps*]
  31. user root
  32. [df*]
  33. env.exclude none unknown iso9660 squashfs udf romfs ramfs debugfs
  34. env.warning 92
  35. env.critical 98
  36. [exim_mailqueue]
  37. group adm, (Debian-exim)
  38. [exim_mailstats]
  39. group adm, (Debian-exim)
  40. env.logdir /var/log/exim4/
  41. env.logname mainlog
  42. [fw_conntrack]
  43. user root
  44. [fw_forwarded_local]
  45. user root
  46. [hddtemp_smartctl]
  47. user root
  48. [hddtemp2]
  49. user root
  50. [if_*]
  51. user root
  52. [if_err_*]
  53. user nobody
  54. [ip_*]
  55. user root
  56. [ipmi_*]
  57. user root
  58. [mysql*]
  59. user root
  60. env.mysqlopts --defaults-file=/etc/mysql/debian.cnf
  61. env.mysqluser debian-sys-maint
  62. env.mysqlconnection DBI:mysql:mysql;mysql_read_default_file=/etc/mysql/debian.cnf
  63. [mysql_innodb]
  64. env.warning 0
  65. env.critical 0
  66. [postfix_mailqueue]
  67. user postfix
  68. [postfix_mailstats]
  69. group adm
  70. [postfix_mailvolume]
  71. group adm
  72. env.logfile mail.log
  73. [smart_*]
  74. user root
  75. [vlan*]
  76. user root
  77. [ejabberd*]
  78. user ejabberd
  79. env.statuses available away chat xa
  80. env.days 1 7 30
  81. [dhcpd3]
  82. user root
  83. env.leasefile /var/lib/dhcp3/dhcpd.leases
  84. env.configfile /etc/dhcp3/dhcpd.conf
  85. [jmx_*]
  86. env.ip 127.0.0.1
  87. env.port 5400
  88. [samba]
  89. user root
  90. [munin_stats]
  91. user munin
  92. group munin
  93. [postgres_*]
  94. user postgres
  95. env.PGUSER postgres
  96. env.PGPORT 5432
  97. [fail2ban]
  98. user root