Insight/MIB/SNMPv2.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Insight/MIB/IFMIB.pm ↑ Summary Insight/MIB/UCD.pm »
1 package SNMP::Insight::MIB::SNMPv2;
2  
3 #ABSTRACT: Support for data in SNMPv2 MIB
4  
5 4 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 4 our $VERSION = '0.002'; #TRIAL VERSION:
8  
9 4 ▶use SNMP::Insight::Moose::MIB;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 4 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 4 with 'SNMP::Insight::MIB';
13  
14 4 mib_oid "1.3.6.1.2.1.1";
15 4 mib_name "SNMPv2-MIB";
16  
17 4 has_scalar "sysDescr" => ( oid => "1" );
18 4 has_scalar "sysObjectID" => ( oid => "2" );
19 4 has_scalar "sysUpTime" => ( oid => "3" );
20 4 has_scalar "sysContact" => ( oid => "4" );
21 4 has_scalar "sysName" => ( oid => "5" );
22 4 has_scalar "sysLocation" => ( oid => "6" );
23 4 has_scalar "sysServices" => ( oid => "7" );
24  
25 4 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__
« Insight/MIB/IFMIB.pm ↑ Summary Insight/MIB/UCD.pm »