App-Netsync

 view release on metacpan or  search on metacpan

etc/netsync.ini  view on Meta::CPAN

# Context specifies the SNMPv3 context.
# default: <none>
Context = 

## Advanced Settings

# RemotePort specifies which port to contact nodes on using SNMP.
# default: 161
RemotePort = 161

# Timeout specifies how many microseconds to wait before retrying an unresponsive node.
# default: 1000000
Timeout = 1000000

# Retries specifies how many times a timeout may occur before considering a node inactive.
# default: 5
Retries = 5

lib/App/Netsync/SNMP.pm  view on Meta::CPAN

    $config{'ContextEngineId'} = undef;
    $config{'DestHost'}        = undef;
    $config{'PrivPass'}        = undef;
    $config{'PrivProto'}       = 'DES';
    $config{'RemotePort'}      = 161;
    $config{'Retries'}         = 5;
    $config{'RetryNoSuch'}     = 0;
    $config{'SecEngineId'}     = undef;
    $config{'SecLevel'}        = 'noAuthNoPriv';
    $config{'SecName'}         = 'initial';
    $config{'Timeout'}         = 1000000;
    $config{'Version'}         = 3;

    $config{'MIBdir'}          = '/usr/share/'.$SCRIPT.'/mib';
    SNMP::addMibDirs($config{'MIBdir'});
}


=head1 METHODS

=head2 configure

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.782 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )