aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs5
-rw-r--r--OpenSim/Region/Framework/Interfaces/ISnmpModule.cs5
2 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index f3aaa76..06bb886 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -350,11 +350,9 @@ namespace OpenSim
350 if (scene.SnmpService != null) 350 if (scene.SnmpService != null)
351 { 351 {
352 scene.SnmpService.ColdStart(1,scene); 352 scene.SnmpService.ColdStart(1,scene);
353 scene.SnmpService.LinkDown(scene);
353 } 354 }
354 355
355// it should be a LinkDown event
356// Maped inside opennms
357// bad...
358 if (scene.SnmpService != null) 356 if (scene.SnmpService != null)
359 { 357 {
360 scene.SnmpService.Warning("Loading prins", scene); 358 scene.SnmpService.Warning("Loading prins", scene);
@@ -439,6 +437,7 @@ namespace OpenSim
439 if (scene.SnmpService != null) 437 if (scene.SnmpService != null)
440 { 438 {
441 scene.SnmpService.Warning("The region is operational", scene); 439 scene.SnmpService.Warning("The region is operational", scene);
440 scene.SnmpService.LinkUp(scene);
442 } 441 }
443 442
444 scene.StartTimer(); 443 scene.StartTimer();
diff --git a/OpenSim/Region/Framework/Interfaces/ISnmpModule.cs b/OpenSim/Region/Framework/Interfaces/ISnmpModule.cs
index 8a83fe9..cc31322 100644
--- a/OpenSim/Region/Framework/Interfaces/ISnmpModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/ISnmpModule.cs
@@ -15,4 +15,9 @@ public interface ISnmpModule
15 void Major(string Message, Scene scene); 15 void Major(string Message, Scene scene);
16 void ColdStart(int step , Scene scene); 16 void ColdStart(int step , Scene scene);
17 void Shutdown(int step , Scene scene); 17 void Shutdown(int step , Scene scene);
18 //
19 // Node Start/stop events
20 //
21 void LinkUp(Scene scene);
22 void LinkDown(Scene scene);
18} 23}