Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

/root/resourcemonitord/resourcemonitord/rmSCSI/RM_ScsiEvtMonitor.h

Go to the documentation of this file.
00001 /*M*
00002 BSD License
00003 
00004 Copyright (c) 2002, Intel Corporation
00005 All rights reserved.
00006 
00007 Redistribution and use in source and binary forms, with or without
00008 modification, are permitted provided that the following conditions are met:
00009 
00010   a.. Redistributions of source code must retain the above copyright notice,
00011       this list of conditions and the following disclaimer.
00012   b.. Redistributions in binary form must reproduce the above copyright notice,
00013       this list of conditions and the following disclaimer in the documentation
00014       and/or other materials provided with the distribution.
00015   c.. Neither the name of Intel Corporation nor the names of its contributors
00016       may be used to endorse or promote products derived from this software
00017       without specific prior written permission.
00018 
00019 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
00020 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00021 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00022 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
00023 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00024 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00025 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
00026 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00027 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00028 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00029 
00030  *M*/
00032 // FILE:                RM_ScsiEvtMonitor.h
00033 //      define guid
00034 //
00035 // HISTORY:
00036 //      04/30/2002 Andy Cress - created after Sonic's filesystem monitor
00037 //
00039 
00040 #ifdef __cplusplus
00041 
00050 namespace ScsiEvtSubsystemMonitor
00051 {
00052 #endif  // __cplusplus
00053 
00054 // ScsiEvt subsystem GUID (from uuidgen), Name, & Description
00055 #define SCSIEVT_GUID    "cad21c0e-53eb-4261-8e2d-ee8aa5a49b09"
00056 #define SCSIEVT_NAME    "ScsiEvent Subsystem"
00057 #define SCSIEVT_DESCR   "ScsiEvent subsystem for resource monitor component."
00058 
00059 // The following are messages for kernel subsystem monitor information.
00060 // They should be localized.
00061 #define  SCSIEVT_STAT_TIMEOUTS        "SCSI Timeouts"
00062 #define  SCSIEVT_STAT_TIMEOUTS_DESCR      "SCSI Timeouts on a given device"
00063 #define  SCSIEVT_STAT_TIMEOUTS_UNIT       "timeouts"
00064 #define  SCSIEVT_STAT_TIMEOUTS_ID     0 
00065 
00066 #define  SCSIEVT_STAT_RESETS          "SCSI Resets"
00067 #define  SCSIEVT_STAT_RESETS_DESCR    "SCSI Timeouts on a given device"
00068 #define  SCSIEVT_STAT_RESETS_UNIT     "resets"
00069 #define  SCSIEVT_STAT_RESETS_ID       1 
00070 
00071 #define  SCSIEVT_STAT_PARITY_ERRS     "SCSI Parity Errors"
00072 #define  SCSIEVT_STAT_PARITY_ERRS_DESCR   "SCSI Parity Errors on a given device"
00073 #define  SCSIEVT_STAT_PARITY_ERRS_UNIT    "par_errs"
00074 #define  SCSIEVT_STAT_PARITY_ERRS_ID      2 
00075 
00076 #define  SCSIEVT_STAT_DISK_ERRS       "SCSI Disk Errors"
00077 #define  SCSIEVT_STAT_DISK_ERRS_DESCR     "SCSI Disk-related sense errors on a given device"
00078 #define  SCSIEVT_STAT_DISK_ERRS_UNIT      "disk_errs"
00079 #define  SCSIEVT_STAT_DISK_ERRS_ID    3 
00080 
00081 #define  SCSIEVT_STAT_GROWN_DEFECTS       "Grown Defects"
00082 #define  SCSIEVT_STAT_GROWN_DEFECTS_DESCR "Grown Defects on the media of a given device"
00083 #define  SCSIEVT_STAT_GROWN_DEFECTS_UNIT  "defects"
00084 #define  SCSIEVT_STAT_GROWN_DEFECTS_ID    4 
00085 
00086 #define  SCSIEVT_STAT_CAPACITY        "Capacity"
00087 #define  SCSIEVT_STAT_CAPACITY_DESCR      "Capacity of the disk"
00088 #define  SCSIEVT_STAT_CAPACITY_UNIT   "1K bytes"
00089 #define  SCSIEVT_STAT_CAPACITY_ID     5 
00090 
00091 #define  SCSIEVT_STAT_TRANS_ERRS      "SCSI Transient Errors"
00092 #define  SCSIEVT_STAT_TRANS_ERRS_DESCR    "Transient SCSI sense errors on a given device"
00093 #define  SCSIEVT_STAT_TRANS_ERRS_UNIT     "trans_errs"
00094 #define  SCSIEVT_STAT_TRANS_ERRS_ID       6 
00095 
00096 #define  SCSIEVT_STAT_USER_ERRS       "SCSI User Errors"
00097 #define  SCSIEVT_STAT_USER_ERRS_DESCR     "User-related SCSI sense errors on a given device"
00098 #define  SCSIEVT_STAT_USER_ERRS_UNIT      "user_errs"
00099 #define  SCSIEVT_STAT_USER_ERRS_ID    7 
00100 
00101 #ifdef __cplusplus
00102 }
00103 #endif  // __cplusplus

Generated at Sat Sep 7 21:21:07 2002 for Resource Monitoring Facility by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001