-STG-MIB DEFINITIONS ::=
-
-BEGIN
+STG-MIB DEFINITIONS ::= BEGIN
IMPORTS
- enterprises, OBJECT-TYPE FROM RFC1155-SMI
- MODULE-IDENTITY, OBJECT-TYPE, Integer32,
- NOTIFICATION-TYPE FROM SNMPv2-SMI
+ enterprises,
+ MODULE-IDENTITY, OBJECT-TYPE,
+ Integer32,
+ NOTIFICATION-TYPE FROM SNMPv2-SMI
+ DisplayString FROM RFC1213-MIB;
stgMIB MODULE-IDENTITY
LAST-UPDATED "201101060000Z"
"Primary Contact: Maxim Mamontov
email: faust@stg.dp.ua"
DESCRIPTION
- "This MIB module defines objects for Stargazer derived data."
+ "This MIB module defines objects for Stargazer data."
REVISION "201101060000Z"
+ DESCRIPTION "Initial revision"
+ ::= { enterprises 38313 }
+
+stg-24 OBJECT IDENTIFIER ::= { stgMIB 1 }
+
+users OBJECT IDENTIFIER ::= { stg-24 1 }
+tariffs OBJECT IDENTIFIER ::= { stg-24 2 }
+admins OBJECT IDENTIFIER ::= { stg-24 3 }
+services OBJECT IDENTIFIER ::= { stg-24 4 }
+corporations OBJECT IDENTIFIER ::= { stg-24 5 }
+
+totalUsers OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Total users registered in the billing"
+ DEFVAL { 0 }
+ ::= { users 1 }
+
+onlineUsers OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The number of currently online users"
+ DEFVAL { 0 }
+ ::= { users 2 }
+
+authorizedUsers OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The number of currently authorized users"
+ DEFVAL { 0 }
+ ::= { users 3 }
+
+alwaysOnlineUsers OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The number of users with 'always online' option"
+ DEFVAL { 0 }
+ ::= { users 4 }
+
+noCashUsers OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The number of users with negative cash"
+ DEFVAL { 0 }
+ ::= { users 5 }
+
+tariffUsers OBJECT-TYPE
+ SYNTAX SEQUENCE OF UsersByTariff
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "The number of users by each tariff"
+ DEFVAL { 0 }
+ ::= { users 6 }
+
+usersByTariff OBJECT-TYPE
+ SYNTAX UsersByTariff
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "A row describing a given tariff"
+ INDEX { tariffId }
+ ::= {tariffUsers 1 }
+
+UsersByTariff ::= SEQUENCE {
+ tariffId Integer32,
+ tariffName DisplayString,
+ userCount Integer32
+}
+
+tariffId OBJECT-TYPE
+ SYNTAX Integer32 (0..255)
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The id of the tariff this table describes."
+ ::= { usersByTariff 1 }
+
+tariffName OBJECT-TYPE
+ SYNTAX DisplayString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The name of the tariff this table describes."
+ ::= { usersByTariff 2 }
+
+userCount OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
DESCRIPTION
- "Derived from LM_SENSORS."
- ::= { enterprises 9363 }
+ "The count fo users of the tariff this table describes."
+ ::= { usersByTariff 3 }
-someValue OBJECT-TYPE
+disabledDetailStatsUsers OBJECT-TYPE
SYNTAX Integer32
- MAX-ACCESS read-write
+ MAX-ACCESS read-only
STATUS current
DESCRIPTION
- "This is a simple object which merely houses a writable
- integer. It's only purposes is to hold the value of a single
- integer. Writing to it will simply change the value for
- subsequent GET/GETNEXT/GETBULK retrievals.
+ "The number of users with disabled detail stats"
+ DEFVAL { 0 }
+ ::= { users 7 }
+
+disabledUsers OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The number of disabled users"
+ DEFVAL { 0 }
+ ::= { users 8 }
+
+passiveUsers OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The number of passive users"
+ DEFVAL { 0 }
+ ::= { users 9 }
- This example object is implemented in the
- agent/mibgroup/examples/scalar_int.c file."
+creditUsers OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The number of users with positive credit"
+ DEFVAL { 0 }
+ ::= { users 10 }
+
+freeMbUsers OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The number of users with positive freeMb"
+ DEFVAL { 0 }
+ ::= { users 11 }
+
+tariffChangeUsers OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The number of users changing tariff next month"
+ DEFVAL { 0 }
+ ::= { users 12 }
+
+totalTariffs OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Total tariffs registered in the billing"
DEFVAL { 0 }
- ::= { stg 1 }
+ ::= { tariffs 1 }
END