From: Maxim Mamontov Date: Fri, 10 Jun 2011 08:02:46 +0000 (+0300) Subject: Fill STG-MIB with real tree branches X-Git-Tag: 2.408-alpha~102 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/37aa90705f55733e02c364b697f422d6ead0ce8d?ds=inline;hp=--cc Fill STG-MIB with real tree branches --- 37aa90705f55733e02c364b697f422d6ead0ce8d diff --git a/projects/stargazer/plugins/other/snmp/asn1/STG-MIB.mib b/projects/stargazer/plugins/other/snmp/asn1/STG-MIB.mib index d61771eb..189c6341 100644 --- a/projects/stargazer/plugins/other/snmp/asn1/STG-MIB.mib +++ b/projects/stargazer/plugins/other/snmp/asn1/STG-MIB.mib @@ -20,19 +20,129 @@ stgMIB MODULE-IDENTITY "Derived from LM_SENSORS." ::= { enterprises 9363 } -someValue OBJECT-TYPE +stgMIB ::= OBJECT IDENTIFIER { enterprises 9363 } + +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-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 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 read-only + STATUS current + DESCRIPTION + "The number of users with negative cash" + DEFVAL { 0 } + ::= { users 6 } + +UsersByTariff ::= SEQUENCE + { + tariffId Integer32, + tariffName DisplayString, + userCount Integer32 + } - This example object is implemented in the - agent/mibgroup/examples/scalar_int.c file." +disabledDetailStatsUsers OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "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 } + +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 } + +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