The following text is the sample alertg.cfg configuration file used by alertg. The first part of the file—each line that is preceded by a pound sign (#)—provides comments that describe each configuration key.
The second part of the file (lines not preceded by #), contains the actual configuration data.
#
# Sample alertg.cfg for ims54alertg. Keys are...
# PubType
# Use: Defines notification type to publish
# Allowed Values: Alert
# Default: none
#
# ContextName
# Use: Used for Alerts only.
# Identifies OT context stanza name.
# Default: OTI_Context
#
# TransportName
# Use: Used for Alerts only. Identifies OT transport
# stanza name.
# Default: AlertsIn
#
# Hostname
# Use: Sets host/server name
# Default:
$
# DomainName
# Use:
# Default:
#
# DomainType
# Use:
# Default:
#
# ClusterName
# Use:
# Default:
#
# ClusterCfgID
# Use:
# Default: 0
#
# SourceAppl
# Use: Used for Alerts only. PersonalAlerts.
# PersonalAlert.SourceApplication
# Default: Impact5.4
#
# EventID
# Use: Sets the alert identifier
# Allowed Values: 0..4294967295
# Default: none
#
# Publisher*
# Use: Who is publishing alert/trap
# Default: none
#
# Publisher*
# Use: What the affected entity/object is
# Default: none
#
# Reason*
# Use: Codes/descriptions of problem
# Default: none
#
#####################################################
PubType = Alert
ContextName = OTI_Context
TransportName = AlertsIn
Hostname = myhost
DomainName = myImpact
DomainType = myTest
ClusterName = myCluster
ClusterCfgID = 999
SourceAppl = Impact5.4
EventID = 1234
PublisherName = foobar
PublisherType = sfm
PublisherSessionID = 1234
PublisherInstance = 2
ObjectName = foobar
ObjectType = sfm
ObjectSessionID = 3
ObjectInstance = 4
ReasonCode1 = Refuse mode
ReasonCode2 = Console
ReasonCode3 = Fred
ReasonCode4 =
ReasonText = SFM 'foobar' was put in Refuse mode
ReasonEncoding = ANSI# Open Transport (OT)
#
# Configuration can occur here or in nnsyreg.dat in the
# working directory or in the directory specified by the
# NNSY_ROOT environment variable. See sample OT
# configuration files nnsyreg_mqs.dat and
# nnsyerg_file.dat, for example, configurations for
# MQ Series and the OT file driver respectively.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |