aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins
diff options
context:
space:
mode:
authorMelanie2010-12-03 07:27:29 +0100
committerMelanie2010-12-03 07:27:29 +0100
commitb94092517365fd557ca85142d315e746056dcfeb (patch)
treec6160cf37a5b87eb0b6195d5fc2a8e6639320005 /OpenSim/ApplicationPlugins
parentFix health reporting. This will now actually monitor the threads properly (diff)
downloadopensim-SC_OLD-b94092517365fd557ca85142d315e746056dcfeb.zip
opensim-SC_OLD-b94092517365fd557ca85142d315e746056dcfeb.tar.gz
opensim-SC_OLD-b94092517365fd557ca85142d315e746056dcfeb.tar.bz2
opensim-SC_OLD-b94092517365fd557ca85142d315e746056dcfeb.tar.xz
Improve health reporting
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r--OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index f3f79bc..a75cc60 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -2632,8 +2632,12 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2632 else throw new Exception("neither region_name nor region_uuid given"); 2632 else throw new Exception("neither region_name nor region_uuid given");
2633 2633
2634 Scene scene = m_application.SceneManager.CurrentScene; 2634 Scene scene = m_application.SceneManager.CurrentScene;
2635 int health = scene.GetHealth(); 2635 int flags;
2636 string text;
2637 int health = scene.GetHealth(out flags, out text);
2636 responseData["health"] = health; 2638 responseData["health"] = health;
2639 responseData["flags"] = health;
2640 responseData["message"] = health;
2637 2641
2638 response.Value = responseData; 2642 response.Value = responseData;
2639 } 2643 }