startup/stem_monitoring.rss
changeset 86 df7231a66721
parent 85 ee5d5928b136
child 87 e9fb2728ea8b
equal deleted inserted replaced
85:ee5d5928b136 86:df7231a66721
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Monitoring information definitions.
       
    16 *
       
    17 */
       
    18 
       
    19 #include <ssm/ssmcmd.rh>
       
    20 
       
    21 // ===========================================================================
       
    22 // Monitoring definitions in alphabetical order
       
    23 // ===========================================================================
       
    24 //
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // r_mon_3_restarts_ignore
       
    28 // ---------------------------------------------------------------------------
       
    29 //
       
    30 RESOURCE SSM_MONITOR_INFO r_mon_3_restarts_ignore
       
    31     {
       
    32     restart_mode = 0;
       
    33     retries = 3;
       
    34     }
       
    35 
       
    36 // ---------------------------------------------------------------------------
       
    37 // r_mon_3_restarts_reset
       
    38 // ---------------------------------------------------------------------------
       
    39 //
       
    40 RESOURCE SSM_MONITOR_INFO r_mon_3_restarts_reset
       
    41     {
       
    42     restart_policy = ESsmRestartOS;
       
    43     restart_mode = 0;
       
    44     retries = 3;
       
    45     }
       
    46 
       
    47 // ---------------------------------------------------------------------------
       
    48 // r_mon_20_restarts_reset
       
    49 // ---------------------------------------------------------------------------
       
    50 //
       
    51 RESOURCE SSM_MONITOR_INFO r_mon_20_restarts_reset
       
    52     {
       
    53     restart_policy = ESsmRestartOS;
       
    54     restart_mode = 0;
       
    55     retries = 20;
       
    56     }
       
    57 
       
    58 // ---------------------------------------------------------------------------
       
    59 // r_mon_100_restarts_reset
       
    60 // ---------------------------------------------------------------------------
       
    61 //
       
    62 RESOURCE SSM_MONITOR_INFO r_mon_100_restarts_reset
       
    63     {
       
    64     restart_policy = ESsmRestartOS;
       
    65     restart_mode = 0;
       
    66     retries = 100;
       
    67     }
       
    68 
       
    69 // ---------------------------------------------------------------------------
       
    70 // r_mon_max_restarts_ignore
       
    71 // ---------------------------------------------------------------------------
       
    72 //
       
    73 RESOURCE SSM_MONITOR_INFO r_mon_max_restarts_ignore
       
    74     {
       
    75     restart_mode = 0;
       
    76     retries = 32767;
       
    77     }
       
    78 
       
    79 // ---------------------------------------------------------------------------
       
    80 // r_mon_reset
       
    81 // ---------------------------------------------------------------------------
       
    82 //
       
    83 RESOURCE SSM_MONITOR_INFO r_mon_reset
       
    84     {
       
    85     restart_policy = ESsmRestartOS;
       
    86     restart_mode = 0;
       
    87     retries = 0;
       
    88     }