Rechercher une page de manuel
Munin::Node::SNMPConfig.3pm
Langue: en
Version: 2010-08-13 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre