Munin::Node::SNMPConfig(3)

NAME
Munin::Node::SNMPConfig - Subroutines providing munin-node-configure's SNMP scanning capabilities.

SYNOPSIS
  my $snmp = Munin::Node::SNMPConfig->new(
        community => 'secret',
        version   => 1,
  );
  $snmp->probe_hosts(\%plugins);

SUBROUTINES

new Constructor.

    Valid arguments are 'community', 'port', 'version' and 'hosts'. All are optional, and default to 'public', 161, '2c' and an empty host-list (though obviously not providing any hosts is somewhat pointless).

    The host list should be in a format understood by Munin::Node::Configure::HostEnumeration

run_probes($plugins)
    Connects to each host in turn, and checks which plugins it supports, based on the OIDs they reported during snmpconf. If all the requirements are fulfilled, it will added to the corresponding plugin's suggestions list.

    $plugins should be a Munin::Node::Configure::PluginList object.