Device::ZyXEL::IES - A module for getting and setting values on a ZyXEL IES5xxx device using SNMP.
Version 0.11
Quick summary of what the module does.
use Device::ZyXEL::IES; my $device = Device::ZyXEL::IES->new( { hostname => 'some_ies.example.com', get_community => 'public', set_community => 'something', }); # retrieve slot inventory (slot number and firmwares) # for an ies my $result = $device->slotInventory; # Data for the slots are now in the slots attribute # returning a list of Device::ZyXEL::IES::Slot objects my $slotlist = $device->slots;
Uses Net::SNMP::Util to read the value of an oid
The oid passed here is a real one, not a name.
Does a snmpwalk of the given oid, and returns the result. scalar containing "ERROR: <something>" is returned upon error.
Uses Net::SNMP::Util to read the value of a set of oids
The oids passed here is a real ones, not a name.
Checks whether or not a specific slot id is present in the slot list.
Reads the system uptime from the IES.
Reads the system description from the IES.
Sweeps slots on the IES, creating all the required Device::ZyXEL::IES::Slot objects along the way.
It only performs one walk for the firmware version to get the Slot objects started. Further Slot info will require interaction with the Slot objects themselves.
Uses Net::SNMP::Util to fetch enough items from the ies to fill in the attributes of the object.
Fetches uptime, sysdescr, ...
Jesper Dalberg, <jdalberg at gmail.com>
<jdalberg at gmail.com>
Please report any bugs or feature requests to bug-device-zyxel-ies at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Device-ZyXEL-IES. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-device-zyxel-ies at rt.cpan.org
:w
You can find documentation for this module with the perldoc command.
perldoc Device::ZyXEL::IES
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Device-ZyXEL-IES
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Device-ZyXEL-IES
CPAN Ratings
http://cpanratings.perl.org/d/Device-ZyXEL-IES
Search CPAN
http://search.cpan.org/dist/Device-ZyXEL-IES/
Fullrate (http://www.fullrate.dk) Thanks for allowing me to be introduced to the "wonderful" device ;) And thanks for donating some of my work time to create this module and sharing it with the world.
Copyright 2012 Jesper Dalberg, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Device::ZyXEL::IES, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::ZyXEL::IES
CPAN shell
perl -MCPAN -e shell install Device::ZyXEL::IES
For more information on module installation, please visit the detailed CPAN module installation guide.