summaryrefslogtreecommitdiff
path: root/MIBS/firebrick/FIREBRICK-CPU-MIB
blob: 86c763e17852abeabac149eba4c33e124c7714ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
-- *------------------------------------------------
-- * Firebrick CPU MIB
-- *
-- * June 2020, Cliff Hones
-- *
-- * Copyright (c) 2020 by Andrews & Arnold
-- * 
-- * See the Firebrick Manuals for more information
-- *------------------------------------------------

FIREBRICK-CPU-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY,
    OBJECT-TYPE,
    Integer32,
    enterprises
        FROM SNMPv2-SMI
    DisplayString
        FROM SNMPv2-TC
    InetAddressType,
    InetAddress
        FROM INET-ADDRESS-MIB
    OBJECT-GROUP
        FROM SNMPv2-CONF
    firebrickNewStyle
	FROM FIREBRICK-MIB
        ;

fbCpuMib MODULE-IDENTITY
    LAST-UPDATED "202006170000Z"
    ORGANIZATION "Andrews & Arnold Limited"
    CONTACT-INFO
        "Andrews & Arnold
        Unit 1&2, Enterprise Court
        Bracknell, Berkshire, RG12 1QS
        United Kingdom

        Tel: +44 3333 400 999
        Email: support@aa.net.uk"
    DESCRIPTION
        "This is a MIB Module for monitoring Firebrick CPU usage."
    REVISION "202006170000Z"
    DESCRIPTION "Initial version of this MIB module"
    ::= { firebrickNewStyle 2 }

fbCpuUsageTable OBJECT-TYPE
    SYNTAX SEQUENCE OF FbCpuUsageEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "The table of CPU usage for this Firebrick"
    ::= { fbCpuMib 1 }

fbCpuUsageEntry OBJECT-TYPE
    SYNTAX FbCpuUsageEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "An entry in the CPU usage table"
    INDEX { fbCpuPeriod, fbCpuCore }
    ::= { fbCpuUsageTable 1 }

FbCpuUsageEntry ::= SEQUENCE {
    fbCpuIRQ      Gauge32,
    fbCpuAll      Gauge32,
    fbCpuIRQPeak  Gauge32,
    fbCpuAllPeak  Gauge32,
    fbCpuPeriod   Integer32,
    fbCpuCore     Integer32
}

fbCpuPeriod OBJECT-TYPE
    SYNTAX Integer32
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "The period in minutes covered by this table entry.
         Zero indicates that an instantaneous value is required."
    ::= { fbCpuUsageEntry 5 }

fbCpuCore OBJECT-TYPE
    SYNTAX Integer32
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "The CPU core number covered by this table entry.
	 The numbering starts at 1, so CPU0 (CORE) is 1 and CPU1 (NET) is 2."
    ::= { fbCpuUsageEntry 6 }

fbCpuIRQ OBJECT-TYPE
    SYNTAX Gauge32
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "The percentage of CPU time spent in interrupt processing for this period.
	 If period is 0 the instantaneous usage in the last second is used.
	 Units are 100ths of a percent, so 10000 indicates 100%."
    ::= { fbCpuUsageEntry 1 }

fbCpuAll OBJECT-TYPE
    SYNTAX Gauge32
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "The total percentage of CPU time spent non-idle for this period.
	 If period is 0 the instantaneous usage in the last second is used.
	 Units are 100ths of a percent, so 10000 indicates 100%."
    ::= { fbCpuUsageEntry 2 }

fbCpuIRQPeak OBJECT-TYPE
    SYNTAX Gauge32
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "The peak percentage of CPU time in interrupt processing during this period.
	 If period is 0 the peak usage in the current minute is used.
	 Units are 100ths of a percent, so 10000 indicates 100%."
    ::= { fbCpuUsageEntry 3 }

fbCpuAllPeak OBJECT-TYPE
    SYNTAX Gauge32
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "The peak percentage of CPU time non-idle during this period.
	 If period is 0 the peak usage in the current minute is used.
	 Units are 100ths of a percent, so 10000 indicates 100%."
    ::= { fbCpuUsageEntry 4 }
END