⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eventerr.h

📁 IBM Lotus C++ API 7.0a for IBM Lotus Notes/Domino Directory Release --------- ------------------
💻 H
📖 第 1 页 / 共 2 页
字号:

#define ERR_ADMIN_MONITOR_SERVER_DOWN					(PKG_EVENT2+5)
	errortext(ERR_ADMIN_MONITOR_SERVER_DOWN, 			"Server %a is no longer running")

#define ERR_ADMIN_MONITOR_SERVER_UP						(PKG_EVENT2+6)
	errortext(ERR_ADMIN_MONITOR_SERVER_UP, 				"Server %a has come back up")

#define ERR_ADMIN_MONITOR_SERVER_TASK_ERROR				(PKG_EVENT2+7)
	errortext(ERR_ADMIN_MONITOR_SERVER_TASK_ERROR, 		"Server task %s on %a reported %s error. (%e)")

#define ERR_ADMIN_MONITOR_SERVER_TASK_TIMEOUT			(PKG_EVENT2+8)
	errortext(ERR_ADMIN_MONITOR_SERVER_TASK_TIMEOUT,	"Server task %s on %a is no longer responding")

#define ERR_ADMIN_MONITOR_SERVER_TASK_RESTART			(PKG_EVENT2+9)
	errortext(ERR_ADMIN_MONITOR_SERVER_TASK_RESTART, 	"Server task %s on %a is responding")

#define ERR_ADMIN_MONITOR_SERVER_TASK_UP				(PKG_EVENT2+10)
	errortext(ERR_ADMIN_MONITOR_SERVER_TASK_UP, 		"Server task %s on %a is running")

#define ERR_ADMIN_MONITOR_SERVER_TASK_DOWN				(PKG_EVENT2+11)
	errortext(ERR_ADMIN_MONITOR_SERVER_TASK_DOWN, 		"Server task %s on %a is no longer running")

#define ERR_ADMIN_MONITOR_SERVER_TASK_NOT_CONFIGURED		(PKG_EVENT2+12)
	errortext(ERR_ADMIN_MONITOR_SERVER_TASK_NOT_CONFIGURED, "Task %s is not configured to run on server %a")

#define	ERR_UPGRADE_MAIL_ERROR			(PKG_EVENT2+13)
	errortext(ERR_UPGRADE_MAIL_ERROR,	"Upgrade mail file error")
			
#define ERR_RM_DISABLED_PLATFORM_STATS			PKG_EVENT2+14
	errortext(ERR_RM_DISABLED_PLATFORM_STATS,	"Platform statistics are disabled")
#define ERR_RM_DISABLED_DISK_COUNTERS_WIN		PKG_EVENT2+15
	errortext(ERR_RM_DISABLED_DISK_COUNTERS_WIN,"Disk counters are disabled")
#define ERR_RM_TRANS_SAME_AS_DATA				PKG_EVENT2+16
	errortext(ERR_RM_TRANS_SAME_AS_DATA,		"Domino data files and transaction logging use the same disk")
#define ERR_RM_TRANS_SAME_AS_DATA_ISERIES		PKG_EVENT2+17
	errortext(ERR_RM_TRANS_SAME_AS_DATA_ISERIES,"Domino data files and transaction logging use the same auxiliary storage pool")
#define ERR_RM_BIN_SAME_AS_DATA					PKG_EVENT2+18
	errortext(ERR_RM_BIN_SAME_AS_DATA,			"Domino data files and Domino executables use the same disk")
#define ERR_RM_BIN_SAME_AS_DATA_ISERIES			PKG_EVENT2+19
	errortext(ERR_RM_BIN_SAME_AS_DATA_ISERIES,	"Domino data files and Domino executables use the same auxiliary storage pool")
#define ERR_RM_DISK_UTIL_NEED_SPINDLE_COUNT		PKG_EVENT2+20
	errortext(ERR_RM_DISK_UTIL_NEED_SPINDLE_COUNT,"Logical disk activity exceeds configured thresholds.")
#define ERR_RM_DISABLED_NET_COUNTERS_WIN		PKG_EVENT2+21
	errortext(ERR_RM_DISABLED_NET_COUNTERS_WIN,	"Network counters are disabled")

#define ERR_DETAILDOC_TOO_LARGE					PKG_EVENT2+22
	errortext(ERR_DETAILDOC_TOO_LARGE,			"Too much detail data reported by DDM probe.  Probe results will be truncated.")

#define ERR_RM_DISK_CLEAR				PKG_EVENT2+23
	errortext(ERR_RM_DISK_CLEAR,		"Logical disk activity (%s) no longer exceeds configured thresholds.")
#define ERR_RM_MEMORY_CLEAR				PKG_EVENT2+24
	errortext(ERR_RM_MEMORY_CLEAR,		"Memory Utilization no longer exceeds the configured thresholds.")
#define ERR_RM_NETWORK_CLEAR			PKG_EVENT2+25
	errortext(ERR_RM_NETWORK_CLEAR,		"Network adapter activity (%s) no longer exceeds configured thresholds.")
#define ERR_RM_CPU_CLEAR				PKG_EVENT2+26
	errortext(ERR_RM_CPU_CLEAR,			"CPU utilization no longer exceeds configured thresholds.")
#define ERR_DDM_TARGET_REFRESH_ERROR		PKG_EVENT2+27
	errortext(ERR_DDM_TARGET_REFRESH_ERROR,	"Problem refreshing DDM target server information")
#define ERR_PROBE_MEM_ALLOC					PKG_EVENT2+28
	errortext(ERR_PROBE_MEM_ALLOC,			"%s received the following memory allocation error: ")

#define	ERR_TEMPLATE_NOT_FOUND				(PKG_EVENT2+29)
	errortext(ERR_TEMPLATE_NOT_FOUND, 		"Event: Unable to create database %s since template file %s cannot be found.")
#define ERR_RM_DISABLED_PLATFORM_STATS_CLEAR			PKG_EVENT2+30
	errortext(ERR_RM_DISABLED_PLATFORM_STATS_CLEAR,	"Platform statistics are enabled")
#define ERR_RM_DISABLED_DISK_COUNTERS_WIN_CLEAR		PKG_EVENT2+31
	errortext(ERR_RM_DISABLED_DISK_COUNTERS_WIN_CLEAR,"Disk counters are enabled")

/* PKG_EVENT2 from 0-31 */

/* PKG_EVENT3 from 0-95 for strings only - no error codes */

#define	STR_STATNAME_DISK_QUEUE_LEN			(PKG_EVENT3 +0)
	stringtext(STR_STATNAME_DISK_QUEUE_LEN	, 	"Avg Disk Queue Length")
#define	STR_STATNAME_DISK_PCT_UTIL			(PKG_EVENT3 +1)
	stringtext(STR_STATNAME_DISK_PCT_UTIL, 		"Percent Disk Utilization")
#define	STR_STATNAME_DISK_SERVICE_TIME		(PKG_EVENT3 +2)
	stringtext(STR_STATNAME_DISK_SERVICE_TIME, 	"Disk Service Time (ms)")
#define	STR_STATNAME_MEMORY_AVAIL_RAM		(PKG_EVENT3 +3)
	stringtext(STR_STATNAME_MEMORY_AVAIL_RAM, 	"Available Memory (MB)")
#define	STR_STATNAME_MEMORY_SCAN_RATE		(PKG_EVENT3 +4)
	stringtext(STR_STATNAME_MEMORY_SCAN_RATE, 	"Scan Rate")
#define	STR_STATNAME_MEMORY_SCAN_RATIO		(PKG_EVENT3 +5)
	stringtext(STR_STATNAME_MEMORY_SCAN_RATIO, 	"Scan Ratio")
/*
* Note: Scan Ratio is not yet being used for AIX.  Scan Rate is being used instead because currently the Event for AIX Memory
*	is currently referred to as Scan Rate, where it should be "Scan Ratio"
*/
#define	STR_STATNAME_MEMORY_FAULT_RATIO		(PKG_EVENT3 +6)
	stringtext(STR_STATNAME_MEMORY_FAULT_RATIO, 	"Fault Ratio")
#define	STR_STATNAME_MEMORY_AVAIL_FRAMES		(PKG_EVENT3 +7)
	stringtext(STR_STATNAME_MEMORY_AVAIL_FRAMES,	"Available Frame Count")
#define	STR_STATNAME_MEMORY_OUT_READY_QUEUE_LEN	(PKG_EVENT3 +8)
	stringtext(STR_STATNAME_MEMORY_OUT_READY_QUEUE_LEN, 	"Out Ready Queue Length")
#define	STR_STATNAME_MEMORY_PAGING_RATE		(PKG_EVENT3 +9)
	stringtext(STR_STATNAME_MEMORY_PAGING_RATE, 	"Paging Rate")

#define	STR_STATNAME_NETWORK_PCT_BANDWIDTH_UTIL			(PKG_EVENT3 +10)
	stringtext(STR_STATNAME_NETWORK_PCT_BANDWIDTH_UTIL, 		"Percent Network Bandwidth Utilization")
#define	STR_STATNAME_NETWORK_PCT_COLLISIONS			(PKG_EVENT3 +11)
	stringtext(STR_STATNAME_NETWORK_PCT_COLLISIONS, 		"Percent Network Collisions")

#define	STR_STATNAME_CPU_PCT_UTIL			(PKG_EVENT3 +12)
	stringtext(STR_STATNAME_CPU_PCT_UTIL, 		"Percent CPU Utilization")
#define	STR_STATNAME_CPU_QUEUE_LEN			(PKG_EVENT3 +13)
	stringtext(STR_STATNAME_CPU_QUEUE_LEN, 		"Avg CPU Queue Length")

#define STR_RM_MOVE_AVG_EXPLAIN				(PKG_EVENT3+14)
	stringtext(STR_RM_MOVE_AVG_EXPLAIN,"\n\nMoving averages are calculated according to Operating System specific performance metrics observed over a rolling 15 minute period of time. Those metrics are exposed as Domino statistics.")
#define STR_RM_MOVE_AVG_EXPLAIN2			(PKG_EVENT3+15)
	stringtext(STR_RM_MOVE_AVG_EXPLAIN2,"When the moving average exceeds the configured threshold, this event is triggered. The moving average is constantly changing. Those changes are not recorded here.")
#define STR_RM_MOVE_AVG_EXPLAIN3			(PKG_EVENT3+16)
	stringtext(STR_RM_MOVE_AVG_EXPLAIN3,"When the moving average no longer exceeds the threshold, the severity of this event will return to 'Normal'.")

#define STR_DDM_MESSAGE_DDOC_HEADER					(PKG_EVENT3+17)
	stringtext(STR_DDM_MESSAGE_DDOC_HEADER,			"Documents in the %s view are sorted by %s. The following strings identify the documents related to this issue.")
#define STR_DDM_MESSAGE_DDOC_HEADER_UNID			(PKG_EVENT3+18)
	stringtext(STR_DDM_MESSAGE_DDOC_HEADER_UNID,	"Documents in the %s view are sorted by %s. The following strings and UNIDs identify the missing documents.")
#define STR_DDM_PUID_DDOC_HEADER					(PKG_EVENT3+19)
	stringtext(STR_DDM_PUID_DDOC_HEADER,			"Documents in the %s view are sorted by a unique identifier string. The following strings identify the documents related to this issue.")

#define STR_DDM_MORE_FOUND_FEW_LISTED				(PKG_EVENT3+20)
	stringtext(STR_DDM_MORE_FOUND_FEW_LISTED,		"More entries where found, but only the first few are listed above.")

#define STR_RM_DISK_UTIL_ARGS		(PKG_EVENT3+21)
	stringtext(STR_RM_DISK_UTIL_ARGS,"When the Disk Probe issued this event, the %s had a Moving Average of %s, which was beyond the threshold value of %s. The device name associated with this event is '%s'. %s %s %s")

#define STR_RM_MEMORY_UTIL_ARGS		(PKG_EVENT3+22)
	stringtext(STR_RM_MEMORY_UTIL_ARGS, "When the Memory Probe issued this event, the %s had a Moving Average of %s, which was beyond the threshold value of %s. %s %s %s")

#define STR_RM_NETWORK_UTIL_ARGS		(PKG_EVENT3+23)
	stringtext(STR_RM_NETWORK_UTIL_ARGS,"When the Network Probe issued this event, the %s had a Moving Average of %s, which was beyond the threshold value of %s. The device name associated with this event is '%s'. %s %s %s")

#define STR_RM_CPU_UTIL_ARGS		(PKG_EVENT3+24)
	stringtext(STR_RM_CPU_UTIL_ARGS, "When the CPU Probe issued this event, the %s had a Moving Average of %s, which was beyond the threshold value of %s. %s %s %s")

#define STR_COMMAND_ARGUMENTS			(PKG_EVENT3+25)
	stringtext(STR_COMMAND_ARGUMENTS,	"%s %s command arguments = %s")
#define STR_TARGET_DB					(PKG_EVENT3+26)
	stringtext(STR_TARGET_DB,			"%s target database = %s")
#define STR_TARGET_DEST_SRV				(PKG_EVENT3+27)
	stringtext(STR_TARGET_DEST_SRV,		"%s target server = %s")
#define STR_TARGET_SRC_SRV				(PKG_EVENT3+28)
	stringtext(STR_TARGET_SRC_SRV,		"%s template source server = %s")

#define ERR_ADDIN_SETUP_EVENTS				(PKG_EVENT3+29)
	stringtext(ERR_ADDIN_SETUP_EVENTS,		"If an event of any type and of severity Fatal, Failure or Warning (High) occurs, log notification to %s.")
#define ERR_ADDIN_SETUP_ACL					(PKG_EVENT3+30)
	stringtext(ERR_ADDIN_SETUP_ACL,			"Generate a Security event of Warning (High) severity if the ACL for database %s changes.  In addition, notify %a by mail.")
#define ERR_ADDIN_SETUP_REPL				(PKG_EVENT3+31)
	stringtext(ERR_ADDIN_SETUP_REPL,		"Generate a Replication event of Warning (High) severity if the database %s on any server has not replicated in 24 hours with ANY server. In addition, notify %a via mail.")

#define STR_TARGET_DIR					(PKG_EVENT3+32)
	stringtext(STR_TARGET_DIR,			"%s target directory = %s")

/* PKG_EVENT3 + 95 is the last available slot NO ERRORCODES! (because 96 = 0x60 = PKG_ADMIN_STR4 - PKG_EVENT3) */

#endif /* EVENT_ERR_DEFS */

#if defined(OS400) && (__OS400_TGTVRM__ >= 510)
#pragma datamodel(pop)
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -