startup/stem_monitoring.rss
changeset 13 4f959124999b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/startup/stem_monitoring.rss	Sun Oct 10 16:22:15 2010 +0100
@@ -0,0 +1,88 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+* Monitoring information definitions.
+*
+*/
+
+#include <ssm/ssmcmd.rh>
+
+// ===========================================================================
+// Monitoring definitions in alphabetical order
+// ===========================================================================
+//
+
+// ---------------------------------------------------------------------------
+// r_mon_3_restarts_ignore
+// ---------------------------------------------------------------------------
+//
+RESOURCE SSM_MONITOR_INFO r_mon_3_restarts_ignore
+    {
+    restart_mode = 0;
+    retries = 3;
+    }
+
+// ---------------------------------------------------------------------------
+// r_mon_3_restarts_reset
+// ---------------------------------------------------------------------------
+//
+RESOURCE SSM_MONITOR_INFO r_mon_3_restarts_reset
+    {
+    restart_policy = ESsmRestartOS;
+    restart_mode = 0;
+    retries = 3;
+    }
+
+// ---------------------------------------------------------------------------
+// r_mon_20_restarts_reset
+// ---------------------------------------------------------------------------
+//
+RESOURCE SSM_MONITOR_INFO r_mon_20_restarts_reset
+    {
+    restart_policy = ESsmRestartOS;
+    restart_mode = 0;
+    retries = 20;
+    }
+
+// ---------------------------------------------------------------------------
+// r_mon_100_restarts_reset
+// ---------------------------------------------------------------------------
+//
+RESOURCE SSM_MONITOR_INFO r_mon_100_restarts_reset
+    {
+    restart_policy = ESsmRestartOS;
+    restart_mode = 0;
+    retries = 100;
+    }
+
+// ---------------------------------------------------------------------------
+// r_mon_max_restarts_ignore
+// ---------------------------------------------------------------------------
+//
+RESOURCE SSM_MONITOR_INFO r_mon_max_restarts_ignore
+    {
+    restart_mode = 0;
+    retries = 32767;
+    }
+
+// ---------------------------------------------------------------------------
+// r_mon_reset
+// ---------------------------------------------------------------------------
+//
+RESOURCE SSM_MONITOR_INFO r_mon_reset
+    {
+    restart_policy = ESsmRestartOS;
+    restart_mode = 0;
+    retries = 0;
+    }