Man Page: munin::node::configure::hostenumeration
Operating Environment: debian
Section: 3pm
Munin::Node::Configure::HostEnumeration(3pm) User Contributed Perl Documentation Munin::Node::Configure::HostEnumeration(3pm)NAMEMunin::Node::Configure::HostEnumeration - Takes a list of hosts, and returns the corresponding IPs in dotted-quad form.SYNOPSIS@hosts = ('switch1', 'host1/24', '10.0.0.60/30'); foreach my $host (expand_hosts(@hosts)) { # ... }SUBROUTINESexpand_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.14.2 2013-11-12 Munin::Node::Configure::HostEnumeration(3pm)
| Related Man Pages |
|---|
| munin-html(8) - debian |
| munin-update(8) - debian |
| extutils::xspp::node::class(3pm) - debian |
| munin::node::snmpconfig(3pm) - debian |
| xml::xpath::node(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| awk or sed - Convert 2 lines to 1 line |
| Introduction |
| Detecting unused variables... |
| Weird 'find' results |
| My first PERL incarnation... Audio Oscillograph |