The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

FusionInventory::Agent::SNMP::Live - Live SNMP client

DESCRIPTION

This is the object used by the agent to perform SNMP queries on live host.

METHODS

new(%params)

The constructor. The following parameters are allowed, as keys of the %params hash:

version (mandatory)

Can be one of:

'1'
'2c'
'3'
hostname (mandatory)
community
username
authpassword
authprotocol
privpassword
privprotocol

switch_community(suffix)

Initiate a new SNMP connection, using a community derived from original one, with a suffix appended.