aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs
diff options
context:
space:
mode:
authorsacha2010-04-23 10:51:27 -0400
committersacha2010-04-23 10:51:27 -0400
commit7eda9364fd93906d6657e720681e8c079cb2ce1e (patch)
tree1735b11dec4ea2c603fd9bb72123d91a9cb944c4 /OpenSim/Region/Application/OpenSimBase.cs
parentMerge branch '0.6.9-post-fixes' into careminster (diff)
downloadopensim-SC-7eda9364fd93906d6657e720681e8c079cb2ce1e.zip
opensim-SC-7eda9364fd93906d6657e720681e8c079cb2ce1e.tar.gz
opensim-SC-7eda9364fd93906d6657e720681e8c079cb2ce1e.tar.bz2
opensim-SC-7eda9364fd93906d6657e720681e8c079cb2ce1e.tar.xz
Adding LinkUp/LinkDown when a region is started or stoped.
Those two events could be used to compute the region availibility
Diffstat (limited to 'OpenSim/Region/Application/OpenSimBase.cs')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs5
1 files changed, 2 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();