1Munin::Node::Configure:U:sHeorstCEonnutmreirbauttieModunn(Pi3en)r:l:NDoodceu:m:eCnotnaftiigounre::HostEnumeration(3)
2
3
4
6 Munin::Node::Configure::HostEnumeration - Takes a list of hosts, and
7 returns the corresponding IPs in dotted-quad form.
8
10 @hosts = ('switch1', 'host1/24', '10.0.0.60/30');
11 foreach my $host (expand_hosts(@hosts)) {
12 # ...
13 }
14
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.30.1 202M0u-n0i1n-:2:9Node::Configure::HostEnumeration(3)