Module: sems
Branch: rco/snmp
Commit: 35f8e623a98286e7dae6303be4eff50a9073e106
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=35f8e623a98286e7dae6303be4eff50a9073e106

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Thu Aug  9 14:58:01 2012 +0200

snmp: update SNMP enterprise number for the SEMS project.

---

 apps/snmp/mibs/SEMS-MIB.txt |   12 +++++++++---
 apps/snmp/semsStats.cpp     |    8 ++++----
 2 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/apps/snmp/mibs/SEMS-MIB.txt b/apps/snmp/mibs/SEMS-MIB.txt
index df5abd7..9cfe1a5 100644
--- a/apps/snmp/mibs/SEMS-MIB.txt
+++ b/apps/snmp/mibs/SEMS-MIB.txt
@@ -12,15 +12,15 @@ IMPORTS
        enterprises     FROM SNMPv2-SMI;
 
 sems MODULE-IDENTITY
-       LAST-UPDATED "201103300000Z"
+       LAST-UPDATED "201208080000Z"
        ORGANIZATION "SIP Express Media Server"
        CONTACT-INFO 
          "email: [email protected]"
        DESCRIPTION  
          "MIB Objects for SEMS monitoring"
-       REVISION     "201103300000Z"
+       REVISION     "201208080000Z"
        DESCRIPTION  "Initial Draft"
-       ::= { enterprises 24960 }
+       ::= { enterprises 39771 }
 
 
 semsObjects              OBJECT IDENTIFIER ::= { sems 1 }
@@ -70,4 +70,10 @@ semsStatsCpsMax              OBJECT-TYPE
           last query)."
        ::= { semsStats 4 }
 
+--
+-- Notifications
+--
+
+
+
 END
diff --git a/apps/snmp/semsStats.cpp b/apps/snmp/semsStats.cpp
index bd49a5d..8acd8f6 100644
--- a/apps/snmp/semsStats.cpp
+++ b/apps/snmp/semsStats.cpp
@@ -13,10 +13,10 @@
 void
 init_semsStats(void)
 {
-    const oid semsStatsCallsAvg_oid[] = { 1,3,6,1,4,1,24960,1,1,1 };
-    const oid semsStatsCallsMax_oid[] = { 1,3,6,1,4,1,24960,1,1,2 };
-    const oid semsStatsCpsAvg_oid[] = { 1,3,6,1,4,1,24960,1,1,3 };
-    const oid semsStatsCpsMax_oid[] = { 1,3,6,1,4,1,24960,1,1,4 };
+    const oid semsStatsCallsAvg_oid[] = { 1,3,6,1,4,1,39771,1,1,1 };
+    const oid semsStatsCallsMax_oid[] = { 1,3,6,1,4,1,39771,1,1,2 };
+    const oid semsStatsCpsAvg_oid[] = { 1,3,6,1,4,1,39771,1,1,3 };
+    const oid semsStatsCpsMax_oid[] = { 1,3,6,1,4,1,39771,1,1,4 };
 
   DEBUGMSGTL(("semsStats", "Initializing\n"));
 

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to