startup/stem_monitoring.rss
author William Roberts <williamr@symbian.org>
Sun, 10 Oct 2010 16:22:15 +0100
changeset 13 4f959124999b
permissions -rw-r--r--
Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b This has a USERINCLUDE into sf\os\devicesrv to get some unpublished header files.

/*
* 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;
    }