startup/stem_monitoring.rss
author William Roberts <williamr@symbian.org>
Wed, 13 Oct 2010 22:27:53 +0100
changeset 34 33a3c5f8b4c8
parent 13 4f959124999b
permissions -rw-r--r--
Add "application" to all of the rom_content.csv lines for applications (i.e. executables with a matching _reg.rsc file) The script bulk_marking.pl was used to do the update findstr /i _reg.rsc static_dependencies.txt | perl ..\tools\bulk_marking.pl -m application -u WR - rom_content.csv > new_content.csv

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