| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package SNMP::Insight::MIB::SNMPv2; |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
#ABSTRACT: Support for data in SNMPv2 MIB |
|
4
|
|
|
|
|
|
|
|
|
5
|
4
|
|
|
4
|
|
2656
|
use Moose::Role; |
|
|
4
|
|
|
|
|
6
|
|
|
|
4
|
|
|
|
|
29
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.002'; #TRIAL VERSION: |
|
8
|
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
17525
|
use SNMP::Insight::Moose::MIB; |
|
|
4
|
|
|
|
|
10
|
|
|
|
4
|
|
|
|
|
25
|
|
|
10
|
|
|
|
|
|
|
|
|
11
|
4
|
|
|
4
|
|
13062
|
use namespace::autoclean; |
|
|
4
|
|
|
|
|
9
|
|
|
|
4
|
|
|
|
|
29
|
|
|
12
|
|
|
|
|
|
|
with 'SNMP::Insight::MIB'; |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
mib_oid "1.3.6.1.2.1.1"; |
|
15
|
|
|
|
|
|
|
mib_name "SNMPv2-MIB"; |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
has_scalar "sysDescr" => ( oid => "1" ); |
|
18
|
|
|
|
|
|
|
has_scalar "sysObjectID" => ( oid => "2" ); |
|
19
|
|
|
|
|
|
|
has_scalar "sysUpTime" => ( oid => "3" ); |
|
20
|
|
|
|
|
|
|
has_scalar "sysContact" => ( oid => "4" ); |
|
21
|
|
|
|
|
|
|
has_scalar "sysName" => ( oid => "5" ); |
|
22
|
|
|
|
|
|
|
has_scalar "sysLocation" => ( oid => "6" ); |
|
23
|
|
|
|
|
|
|
has_scalar "sysServices" => ( oid => "7" ); |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
# Local Variables: |
|
28
|
|
|
|
|
|
|
# mode: cperl |
|
29
|
|
|
|
|
|
|
# indent-tabs-mode: nil |
|
30
|
|
|
|
|
|
|
# cperl-indent-level: 4 |
|
31
|
|
|
|
|
|
|
# cperl-indent-parens-as-block: t |
|
32
|
|
|
|
|
|
|
# End: |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=pod |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 NAME |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
SNMP::Insight::MIB::SNMPv2 - Support for data in SNMPv2 MIB |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 VERSION |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
version 0.002 |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 AUTHOR |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Gabriele Mambrini <g.mambrini@gmail.com> |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Gabriele Mambrini. |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
|
55
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=cut |