Munin::Node::Configure::HostEnumeration(3pm)

Munin::Node::Configure::HostEnumeration3pm

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

Usage

  @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.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 8 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13
  9. Arch

From munin-node 2.0.76-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.