Alien-SNMP
view release on metacpan or search on metacpan
NAME
Alien::SNMP - Alien package for the Net-SNMP library
SYNOPSIS
use Alien::SNMP;
# then it's just like SNMP.pm
say Alien::SNMP->bin_dir;
# where the net-snmp apps (snmptranslate, etc) live
DESCRIPTION
Alien::SNMP downloads and installs the Net-SNMP library and associated
perl modules.
The library is built with the following options:
"--disable-agent"
"--disable-manuals"
"--disable-scripts"
"--disable-mibs"
"--enable-ipv6"
"--with-mibs="""
"--with-perl-modules"
"--disable-embedded-perl"
"--enable-blumenthal-aes"
"--with-defaults"
METHODS
bin_dir
my $bin_dir = Alien::SNMP->bin_dir;
Returns the location of the net-snmp apps (snmptranslate, etc).
cflags
my $cflags = Alien::SNMP->cflags;
Returns the C compiler flags.
libs
my $libs = Alien::SNMP->libs;
Returns the linker flags.
SEE ALSO
Alien
Alien::Base
SNMP
The Perl5 'SNMP' Extension Module for the Net-SNMP SNMP package.
Depends on libnetsnmp and the corresponding version is installed
along with the C library.
AUTHOR
Eric A. Miller, "<emiller at cpan.org>"
LICENSE AND COPYRIGHT
Copyright 2026 Eric A. Miller.
This program is distributed under the (Revised) BSD License:
<http://www.opensource.org/licenses/BSD-3-Clause>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
( run in 0.461 second using v1.01-cache-2.11-cpan-9169edd2b0e )