Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Munin::...meration(3)  User Contributed Perl Documentation Munin::...meration(3)

NAME
     Munin::Node::Configure::HostEnumeration - Takes a list of hosts, and re-
     turns the corresponding IPs in dotted-quad form.

SYNOPSIS
       @hosts = ('switch1', 'host1/24', '10.0.0.60/30');
       foreach my $host (expand_hosts(@hosts)) {
	   # ...
       }

SUBROUTINES
     expand_hosts
	   @expanded = expand_hosts(@list);

	 Takes a list of hosts, and returns the corresponding IPs in dotted-quad
	 form.

	 Items can be specified as a hostname or dotted-quad IP, either with or
	 without a netmask.

	 Currently only IPv4 addresses are supported.

perl v5.42.3			   2026-08-04		   Munin::...meration(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=Munin::Node::Configure::HostEnumeration&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help