.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" 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 .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . 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 .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Munin::Master::Host 3pm" .TH Munin::Master::Host 3pm 2023-11-05 "perl v5.38.0" "User Contributed Perl 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::Master::Host \- Holds information on hosts we are interested in collecting data from. .SH DESCRIPTION .IX Header "DESCRIPTION" NOTE that a host and a node are not the same thing \-\- some hosts may report services for several nodes, for example if they have SNMP plugins installed. .SH METHODS .IX Header "METHODS" .IP \fBnew\fR 4 .IX Item "new" .Vb 1 \& my $host = Munin::Master::Host\->new($hostname, $group, \e%attrs); .Ve .Sp Constructor. \f(CW$group\fR is the \f(CW\*(C`Munin::Master::Group\*(C'\fR object this host belongs to. Valid attributes include \f(CW\*(C`port\*(C'\fR, \f(CW\*(C`update\*(C'\fR, and c. .IP \fBget_full_path\fR 4 .IX Item "get_full_path" Returns the full nested named path of the host object (eg. "group1;group2;hostname"). .IP \fBadd_attributes_if_not_exists\fR 4 .IX Item "add_attributes_if_not_exists" .Vb 1 \& $host\->add_attributes_if_not_exists(\e%attrs); .Ve .Sp Merges the new attributes from \f(CW%attrs\fR into the host object, without overwriting any existing .IP \fBget_canned_ds_config\fR 4 .IX Item "get_canned_ds_config" FIX