X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/691067e681cb883bccb7f4acdd2e4b4946776042..426ffd5a37073aa0b52640ba9ff9284b2a56bfd9:/projects/stargazer/plugins/other/snmp/asn1/STG-MIB.mib?ds=sidebyside diff --git a/projects/stargazer/plugins/other/snmp/asn1/STG-MIB.mib b/projects/stargazer/plugins/other/snmp/asn1/STG-MIB.mib index d61771eb..215a0f39 100644 --- a/projects/stargazer/plugins/other/snmp/asn1/STG-MIB.mib +++ b/projects/stargazer/plugins/other/snmp/asn1/STG-MIB.mib @@ -1,11 +1,11 @@ -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" @@ -14,25 +14,164 @@ stgMIB MODULE-IDENTITY "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 - "Derived from LM_SENSORS." - ::= { enterprises 9363 } + "The number of currently online users" + DEFVAL { 0 } + ::= { users 2 } -someValue OBJECT-TYPE +authorizedUsers 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 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 } - This example object is implemented in the - agent/mibgroup/examples/scalar_int.c file." +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 + "The count fo users of the tariff this table describes." + ::= { usersByTariff 3 } + +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