1Munin::Node::Configure:U:sHeorstCEonnutmreirbauMttuienodinn(P:3e:prNmlo)dDeo:c:uCmoennftiagtuiroen::HostEnumeration(3pm)
2
3
4

NAME

6       Munin::Node::Configure::HostEnumeration - Takes a list of hosts, and
7       returns the corresponding IPs in dotted-quad form.
8

SYNOPSIS

10         @hosts = ('switch1', 'host1/24', '10.0.0.60/30');
11         foreach my $host (expand_hosts(@hosts)) {
12             # ...
13         }
14

SUBROUTINES

16       expand_hosts
17             @expanded = expand_hosts(@list);
18
19           Takes a list of hosts, and returns the corresponding IPs in dotted-
20           quad form.
21
22           Items can be specified as a hostname or dotted-quad IP, either with
23           or without a netmask.
24
25           Currently only IPv4 addresses are supported.
26
27
28
29perl v5.38.0                      2M0u2n3i-n1:1:-N0o6de::Configure::HostEnumeration(3pm)
Impressum