Jan Henning Thorsen > SNMP-Effective > SNMP::Effective::Host

Download:
SNMP-Effective-1.06_002.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View Bugs
Report a bug
Module Version: 1.05   Source  

NAME ^

SNMP::Effective::Host - Helper module for SNMP::Effective

VERSION ^

This document refers to version 1.05 of SNMP::Effective::Host.

DESCRIPTION ^

This is a helper module for SNMP::Effective

METHODS ^

new

Constructor

arg

Get SNMP::Session args

data

Get the retrieved data

clear_data

Remove data from the host cache

address

Get host address, also overloaded by "$self"

sesssion

Get SNMP::Session, also overloaded by $$self

varlist

The remaining OIDs to get/set, also overloaded by @$self

callback

Get a ref to the callback method

heap

Get / set any data you like. By default, it returns a hash-ref, so you can do:

 $host->heap->{'mykey'} = "remember this";

log

Get the same logger as SNMP::Effective use. Ment to be used, if you want to log through the same interface as SNMP::Effective.

DEBUGGING ^

Debugging is enabled through Log::Log4perl. If nothing else is spesified, it will default to "error" level, and print to STDERR. The component-name you want to change is "SNMP::Effective", inless this module ins inherited.

NOTES ^

TODO ^

AUTHOR ^

Jan Henning Thorsen, <pm at flodhest.net>

ACKNOWLEDGEMENTS ^

Various contributions by Oliver Gorwits.

COPYRIGHT & LICENSE ^

Copyright 2007 Jan Henning Thorsen, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.