From: Maxim Mamontov Date: Wed, 31 Aug 2011 10:03:22 +0000 (+0300) Subject: Add rules count in STG-MIB X-Git-Tag: 2.408-alpha~15 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/fd350a649f3454ebef042b0e6b727f3c5d18400b Add rules count in STG-MIB --- diff --git a/projects/stargazer/plugins/other/smux/STG-MIB.mib b/projects/stargazer/plugins/other/smux/STG-MIB.mib index 4d9179bf..22fb103b 100644 --- a/projects/stargazer/plugins/other/smux/STG-MIB.mib +++ b/projects/stargazer/plugins/other/smux/STG-MIB.mib @@ -26,6 +26,7 @@ tariffs OBJECT IDENTIFIER ::= { stg-24 2 } admins OBJECT IDENTIFIER ::= { stg-24 3 } services OBJECT IDENTIFIER ::= { stg-24 4 } corporations OBJECT IDENTIFIER ::= { stg-24 5 } +traffcounter OBJECT IDENTIFIER ::= { stg-24 6 } totalUsers OBJECT-TYPE SYNTAX Integer32 @@ -210,4 +211,13 @@ totalCorporations OBJECT-TYPE DEFVAL { 0 } ::= { corporations 1 } +totalRules OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Total traffic classification rules described by rules file" + DEFVAL { 0 } + ::= { traffcounter 1 } + END