.\" Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "MUNIN-NODE.CONF 5" .TH MUNIN-NODE.CONF 5 "2018-05-30" "2.0.37-2" "Munin Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" munin\-node.conf \- Munin\-node configuration file .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fImunin\-node.conf\fR is the configuration file for \f(CW\*(C`munin\-node\*(C'\fR, the agent that Munin fetches data from. .PP The format is dictated by the use of \f(CW\*(C`Net::Server\*(C'\fR. A look at \f(CW\*(C`perldoc Net::Server\*(C'\fR will give a list of options that the file supports by using the module. This page mainly covers the Munin-specific extensions. .PP The following options are of special interest: .IP "\fBallow \s-1RE\s0\fR" 5 .IX Item "allow RE" \&\s-1IP\s0 based access list is implemented through this. The statement may be repeated many times. It's important to note that it's actually a regular expression after the keyword so to allow localhost it must be written like this: .Sp .Vb 1 \& allow ^127\e.0\e.0\e.1$ .Ve .IP "\fBcidr_allow \s-1NETWORK/MASK\s0\fR" 5 .IX Item "cidr_allow NETWORK/MASK" An alternative to \f(CW\*(C`allow RE\*(C'\fR. This allows the access list to be specified in \&\s-1CIDR\s0 format. For instance, \f(CW\*(C`cidr_allow 192.0.2.0/24\*(C'\fR would allow connections from any \s-1IP\s0 from 192.0.2.1 to 192.0.2.254. .Sp And \f(CW\*(C`cidr_allow 127.0.0.1/32\*(C'\fR is the equivalent to the example above. Note that the netmask \fBmust\fR be provided, even though it's just \f(CW\*(C`/32\*(C'\fR. .Sp This option requires that the \f(CW\*(C`Net::CIDR\*(C'\fR Perl module be installed. .IP "\fBhost \s-1IP\s0\fR" 5 .IX Item "host IP" The \s-1IP\s0 number of the interface munin-node should listen on. By default munin-node listens to all interfaces. To make munin-node listen only on the localhost interface \- making it unavailable from the network do this: .Sp .Vb 1 \& host 127.0.0.1 .Ve .SS "Additional options:" .IX Subsection "Additional options:" .IP "\fBhost_name \fR" 5 .IX Item "host_name " If set, overrides the hostname munin-node uses in its \&'hello'\-negotiation with munin. A \*(L"telnet localhost 4949\*(R" will show the hostname munin-node is currently using. If munin-node and the main munin installation do not agree on the hostname, munin will skip all the plugins of the machine in question. .IP "\fBparanoia \fR" 5 .IX Item "paranoia " If set, checks permissions of plugin files, and only tries to run files owned by root. Default on. .IP "\fBignore_file \fR" 5 .IX Item "ignore_file " Files matching in the node.d/ and node\-conf.d/ directories will be overlooked. .IP "\fBtls\fR " 5 .IX Item "tls " Can have four values. \f(CW\*(C`paranoid\*(C'\fR, \f(CW\*(C`enabled\*(C'\fR, \f(CW\*(C`auto\*(C'\fR, and \&\f(CW\*(C`disabled\*(C'\fR. \f(CW\*(C`Paranoid\*(C'\fR and \f(CW\*(C`enabled\*(C'\fR require a \s-1TLS\s0 connection, while \f(CW\*(C`disabled\*(C'\fR will not attempt one at all. .Sp The current default is \f(CW\*(C`disabled\*(C'\fR because \f(CW\*(C`auto\*(C'\fR is broken. \f(CW\*(C`Auto\*(C'\fR causes bad interaction between munin-update and munin-node if the node is unprepared to go to \s-1TLS.\s0 .Sp If you see data dropouts (gaps in graphs) please try to disable \s-1TLS.\s0 .IP "\fBtls_verify_certificate\fR " 5 .IX Item "tls_verify_certificate " This directive can be \f(CW\*(C`yes\*(C'\fR or \f(CW\*(C`no\*(C'\fR. It determines if the remote certificate needs to be signed by a \s-1CA\s0 that is known locally. Default is \f(CW\*(C`no\*(C'\fR. .IP "\fBtls_private_key\fR " 5 .IX Item "tls_private_key " This directive sets the location of the private key to be used for \&\s-1TLS.\s0 Default is /etc/munin/munin\-node.pem. The private key and certificate can be stored in the same file. .IP "\fBtls_certificate\fR " 5 .IX Item "tls_certificate " This directive sets the location of the \s-1TLS\s0 certificate to be used for \&\s-1TLS.\s0 Default is /etc/munin/munin\-node.pem. The private key and certificate can be stored in the same file. .IP "\fBtls_ca_certificate\fR " 5 .IX Item "tls_ca_certificate " This directive sets the \s-1CA\s0 certificate to be used to verify the node's certificate, if tls_verify_certificate is set to \f(CW\*(C`yes\*(C'\fR. Default is /etc/munin/cacert.pem. .IP "\fBtls_verify_depth\fR " 5 .IX Item "tls_verify_depth " This directive sets how many signings up a chain of signatures \s-1TLS\s0 is willing to go to reach a known, trusted \s-1CA\s0 when verifying a certificate. Default is \f(CW5\fR. .IP "\fBtls_match\fR " 5 .IX Item "tls_match " This directive, if defined, searches a dump of the certificate provided by the remote host for the given regex. The dump of the certificate is two lines of the form: .Sp .Vb 2 \& Subject Name: /C=c/ST=st/L=l/O=o/OU=ou/CN=cn/emailAddress=email \& Issuer Name: /C=c/ST=st/O=o/OU=ou/CN=cn/emailAddress=email .Ve .Sp So, for example, one could match the subject distinguished name by the directive: .Sp .Vb 1 \& tls_match Subject Name: /C=c/ST=st/L=l/O=o/OU=ou/CN=cn/emailAddress=email .Ve .Sp Note that the fields are dumped in the order they appear in the certificate. It's best to view the dump of the certificate by running munin-update in debug mode and reviewing the logs. .Sp Unfortunately, due to the limited functionality of the \s-1SSL\s0 module in use, it is not possible to provide finer-grained filtering. By default this value is not defined. .SH "EXAMPLE" .IX Header "EXAMPLE" A pretty normal configuration file: .PP .Vb 6 \& log_level 4 \& log_file /var/log/munin/munin\-node.log \& port 4949 \& pid_file /var/run/munin\-node.pid \& background 1 \& setsid 1 \& \& host * \& user root \& group root \& setsid yes \& \& ignore_file \e.bak$ \& ignore_file \e.rpm(save|new)$ \& ignore_file ^README$ \& \& allow ^127\e.0\e.0\e.1$ \& \& ignore_file \e.dpkg\-(old|new)$ \& ignore_file \e.rpm(save|new)$ .Ve .PP See the documentation or Munin homepage for more info. .SH "AUTHORS" .IX Header "AUTHORS" Jimmy Olsen. .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2002\-2006 Audun Ytterdal, Jimmy Olsen, Dagfin Ilmari MansXker, Nicolai Langfeldt .PP This is free software; see the source for copying conditions. There is \s-1NO\s0 warranty; not even for \s-1MERCHANTABILITY\s0 or \s-1FITNESS FOR A PARTICULAR PURPOSE.\s0 .PP This program is released under the \s-1GNU\s0 General Public License