]> git.stg.codes - stg.git/blob - projects/stargazer/plugins/other/snmp/asn1/STG-MIB.mib
215a0f39a9f460c093059389c1a489d512340591
[stg.git] / projects / stargazer / plugins / other / snmp / asn1 / STG-MIB.mib
1 STG-MIB DEFINITIONS ::= BEGIN
2
3 IMPORTS
4     enterprises,
5     MODULE-IDENTITY, OBJECT-TYPE,
6     Integer32,
7     NOTIFICATION-TYPE               FROM SNMPv2-SMI
8     DisplayString                   FROM RFC1213-MIB;
9
10 stgMIB MODULE-IDENTITY
11     LAST-UPDATED "201101060000Z"
12     ORGANIZATION "STG"
13     CONTACT-INFO    
14         "Primary Contact: Maxim Mamontov
15          email:     faust@stg.dp.ua"
16     DESCRIPTION
17         "This MIB module defines objects for Stargazer data."
18     REVISION     "201101060000Z"
19     DESCRIPTION "Initial revision"
20     ::= { enterprises 38313 }
21
22 stg-24 OBJECT IDENTIFIER ::= { stgMIB 1 }
23
24 users OBJECT IDENTIFIER ::= { stg-24 1 }
25 tariffs OBJECT IDENTIFIER ::= { stg-24 2 }
26 admins OBJECT IDENTIFIER ::= { stg-24 3 }
27 services OBJECT IDENTIFIER ::= { stg-24 4 }
28 corporations OBJECT IDENTIFIER ::= { stg-24 5 }
29
30 totalUsers OBJECT-TYPE
31     SYNTAX      Integer32
32     MAX-ACCESS  read-only
33     STATUS      current
34     DESCRIPTION
35         "Total users registered in the billing"
36     DEFVAL { 0 }
37     ::= { users 1 }
38
39 onlineUsers OBJECT-TYPE
40     SYNTAX      Integer32
41     MAX-ACCESS  read-only
42     STATUS      current
43     DESCRIPTION
44         "The number of currently online users"
45     DEFVAL { 0 }
46     ::= { users 2 }
47
48 authorizedUsers OBJECT-TYPE
49     SYNTAX      Integer32
50     MAX-ACCESS  read-only
51     STATUS      current
52     DESCRIPTION
53         "The number of currently authorized users"
54     DEFVAL { 0 }
55     ::= { users 3 }
56
57 alwaysOnlineUsers OBJECT-TYPE
58     SYNTAX      Integer32
59     MAX-ACCESS  read-only
60     STATUS      current
61     DESCRIPTION
62         "The number of users with 'always online' option"
63     DEFVAL { 0 }
64     ::= { users 4 }
65
66 noCashUsers OBJECT-TYPE
67     SYNTAX      Integer32
68     MAX-ACCESS  read-only
69     STATUS      current
70     DESCRIPTION
71         "The number of users with negative cash"
72     DEFVAL { 0 }
73     ::= { users 5 }
74
75 tariffUsers OBJECT-TYPE
76     SYNTAX      SEQUENCE OF UsersByTariff
77     MAX-ACCESS  not-accessible
78     STATUS      current
79     DESCRIPTION
80         "The number of users by each tariff"
81     DEFVAL { 0 }
82     ::= { users 6 }
83
84 usersByTariff OBJECT-TYPE
85     SYNTAX      UsersByTariff
86     MAX-ACCESS  not-accessible
87     STATUS      current
88     DESCRIPTION
89         "A row describing a given tariff"
90     INDEX   { tariffId }
91     ::= {tariffUsers 1 }
92
93 UsersByTariff ::= SEQUENCE {
94     tariffId Integer32,
95     tariffName DisplayString,
96     userCount Integer32
97 }
98
99 tariffId OBJECT-TYPE
100     SYNTAX      Integer32 (0..255)
101     MAX-ACCESS  read-only
102     STATUS      current
103     DESCRIPTION
104         "The id of the tariff this table describes."
105     ::= { usersByTariff 1 }
106
107 tariffName OBJECT-TYPE
108     SYNTAX      DisplayString
109     MAX-ACCESS  read-only
110     STATUS      current
111     DESCRIPTION
112         "The name of the tariff this table describes."
113     ::= { usersByTariff 2 }
114
115 userCount OBJECT-TYPE
116     SYNTAX      Integer32
117     MAX-ACCESS  read-only
118     STATUS      current
119     DESCRIPTION
120         "The count fo users of the tariff this table describes."
121     ::= { usersByTariff 3 }
122
123 disabledDetailStatsUsers OBJECT-TYPE
124     SYNTAX      Integer32
125     MAX-ACCESS  read-only
126     STATUS      current
127     DESCRIPTION
128         "The number of users with disabled detail stats"
129     DEFVAL { 0 }
130     ::= { users 7 }
131
132 disabledUsers OBJECT-TYPE
133     SYNTAX      Integer32
134     MAX-ACCESS  read-only
135     STATUS      current
136     DESCRIPTION
137         "The number of disabled users"
138     DEFVAL { 0 }
139     ::= { users 8 }
140
141 passiveUsers OBJECT-TYPE
142     SYNTAX      Integer32
143     MAX-ACCESS  read-only
144     STATUS      current
145     DESCRIPTION
146         "The number of passive users"
147     DEFVAL { 0 }
148     ::= { users 9 }
149
150 creditUsers OBJECT-TYPE
151     SYNTAX      Integer32
152     MAX-ACCESS  read-only
153     STATUS      current
154     DESCRIPTION
155         "The number of users with positive credit"
156     DEFVAL { 0 }
157     ::= { users 10 }
158
159 freeMbUsers OBJECT-TYPE
160     SYNTAX      Integer32
161     MAX-ACCESS  read-only
162     STATUS      current
163     DESCRIPTION
164         "The number of users with positive freeMb"
165     DEFVAL { 0 }
166     ::= { users 11 }
167
168 totalTariffs OBJECT-TYPE
169     SYNTAX      Integer32
170     MAX-ACCESS  read-only
171     STATUS      current
172     DESCRIPTION
173         "Total tariffs registered in the billing"
174     DEFVAL { 0 }
175     ::= { tariffs 1 }
176
177 END