1Munin::Node::SNMPConfigU(s3e)r Contributed Perl DocumentaMtuinoinn::Node::SNMPConfig(3)
2
3
4

NAME

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

SYNOPSIS

10         my $snmp = Munin::Node::SNMPConfig->new(
11               community => 'secret',
12               version   => 1,
13         );
14         $snmp->probe_hosts(\%plugins);
15

SUBROUTINES

17       new Constructor.
18
19           Valid arguments are 'community', 'port', 'version' and 'hosts'.
20           All are optional, and default to 'public', 161, '2c' and an empty
21           host-list (though obviously not providing any hosts is somewhat
22           pointless).
23
24           The host list should be in a format understood by
25           Munin::Node::Configure::HostEnumeration
26
27       run_probes($plugins)
28           Connects to each host in turn, and checks which plugins it
29           supports, based on the OIDs they reported during snmpconf.  If all
30           the requirements are fulfilled, it will added to the corresponding
31           plugin's suggestions list.
32
33           $plugins should be a Munin::Node::Configure::PluginList object.
34
35
36
37perl v5.12.2                      2010-12-05        Munin::Node::SNMPConfig(3)
Impressum