NAME
App::Manoc::Manifold::SNMP::Simple - A simple client based on Net::SNMP
VERSION
version 2.99.2
DESCRIPTION
A simple SNMP client Manifold, entirely based on Net::SNMP avoiding the need of any MIB file.
CONSUMED ROLES
App::Manoc::ManifoldRole::Base
App::Manoc::ManifoldRole::Host
App::Manoc::ManifoldRole::Hypervisor
App::Manoc::Logger::Role
ATTRIBUTES
community
SNMP community string
version
SNMP version: 1, 2c or 3.
snmp_session
The Net::SNMP session used by the manifold.
METHODS
connect
Connect the manifold using Net::SNMP and set snmp_session.
has_snmp_scalar($name, %attrs)
Creates a snmp_<$name> attribute with _build_$name builder. The %attrs arra must define the "oid" paramater and can set a "munger" subroutine.
has_snmp_table( $name, %options )
Creates a snmp_<columnname> accessor for each defined column.
SNMP ATTRIBUTES
SNMPV2 MIB
- sysDescr
- sysObjectID
- sysName
- sysLocation
- sysServices
HOST RESOURCES MIB
- hrSWInstalledTable with columns
-
- hrSWInstalledIndex
- hrSWInstalledName
- hrSWInstalledID
- hrSWInstalledTypem
- hrSWInstalledDate
- hrDeviceTable
- hrProcessorTable
-
- hrDeviceIndex
- hrProcessorLoad
UCD SNMP MIB
- memTotalReal
VMWare MIBs
- vmwProdName
- vmwProdVersion
- vmwVmTable
-
- vmwVmIdx
- vmwVmDisplayName
- vmwVmGuestOS
- vmwVmMemSize
- vmwVmState
- vmwVmCpus
- vmwVmUUID
AUTHORS
Gabriele Mambrini <gmambro@cpan.org>
Enrico Liguori
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Gabriele Mambrini.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.