Hello all!
I have a trouble with configuring of the Alert Agent (e*Gate
5.0.4 SRE), exactly sending emails.
I have imulated the situation: shutdown an e*way then could see
an alert in the e*Gate Manager as usual.
In that moment in the agent.log appears new lines like:
(Aug 03) 11:50:02.987: In processNotificationMessage...
(Aug 03) 11:50:02.987: Invalid (blank) Sender!
(Aug 03) 11:53:17.377: Processing Admin Message.
(Aug 03) 11:53:17.377: Got Heartbeat message ... replying
The log file of Contorl Broker even with level Debug didin't
shows direct sending. No mail receiving.
Here is the part of Notification.tsc file, which responsible for sending Emails. Did I missed something?
(comment
"E-Mail
" "The rules in this section
govern notifications via e-mail.")
(comment
"
" "")
(if (regex "1011\.\*"
input%EventMsg.Msg.EventHeader.eventCode)
(begin
(display "Entered Email Section !!") (newline)
(define my_note "Inside Noutification Routing !!")
(comment "Sender information" "")
(copy-strip "E*Gate Automatic Notification"
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailSrcInfo.senderName "")
(copy-strip "<email@removed>"
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailSrcInfo.emailAddr "")
(comment "Recpient information" "Three entries are
required for each recipient. To send mail to additional
recpients, copy all three rules and increment each rule's
'emailDstAddr[n]' instance number.")
(copy-strip "To"
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailDestAddr.emailDstAddr[0].emailAddrType
"")
(copy-strip "E*Gate Operator"
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailDestAddr.emailDstAddr[0].emailRecipientN
ame "")
(copy-strip "<email@removed>"
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailDestAddr.emailDstAddr[0].emailAddr "")
(comment "Subject and body" "This section illustrates
how to combine error codes and quoted strings. There are two
rules each for the subject and the text. The first copies the
quoted string; nthe second copies the error code to the same
destination element, which effectively appends the code to the
quoted string. The body contains the variable 'my_note' that was
defined at the beginning of this Collaboration Rules script.")
(copy-strip "E*Gate Error Notification: Error #"
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailBody.emailSubject "")
(copy-strip input%EventMsg.Msg.EventHeader.eventCode
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailBody.emailSubject "")
(copy-strip my_note
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailBody.emailText "")
(comment "SMTP Server information" "")
(copy-strip ""
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.LoginInfo.userName "")
(copy-strip ""
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.LoginInfo.password "")
)
(begin
)
)
SMTP authenfication not used.
Guys, maybe some one faced with similar problem or can give anadvice, pleaseee
Irina
I have a trouble with configuring of the Alert Agent (e*Gate
5.0.4 SRE), exactly sending emails.
I have imulated the situation: shutdown an e*way then could see
an alert in the e*Gate Manager as usual.
In that moment in the agent.log appears new lines like:
(Aug 03) 11:50:02.987: In processNotificationMessage...
(Aug 03) 11:50:02.987: Invalid (blank) Sender!
(Aug 03) 11:53:17.377: Processing Admin Message.
(Aug 03) 11:53:17.377: Got Heartbeat message ... replying
The log file of Contorl Broker even with level Debug didin't
shows direct sending. No mail receiving.
Here is the part of Notification.tsc file, which responsible for sending Emails. Did I missed something?
(comment
" "The rules in this section
govern notifications via e-mail.")
(comment
"
" "")
(if (regex "1011\.\*"
input%EventMsg.Msg.EventHeader.eventCode)
(begin
(display "Entered Email Section !!") (newline)
(define my_note "Inside Noutification Routing !!")
(comment "Sender information" "")
(copy-strip "E*Gate Automatic Notification"
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailSrcInfo.senderName "")
(copy-strip "<email@removed>"
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailSrcInfo.emailAddr "")
(comment "Recpient information" "Three entries are
required for each recipient. To send mail to additional
recpients, copy all three rules and increment each rule's
'emailDstAddr[n]' instance number.")
(copy-strip "To"
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailDestAddr.emailDstAddr[0].emailAddrType
"")
(copy-strip "E*Gate Operator"
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailDestAddr.emailDstAddr[0].emailRecipientN
ame "")
(copy-strip "<email@removed>"
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailDestAddr.emailDstAddr[0].emailAddr "")
(comment "Subject and body" "This section illustrates
how to combine error codes and quoted strings. There are two
rules each for the subject and the text. The first copies the
quoted string; nthe second copies the error code to the same
destination element, which effectively appends the code to the
quoted string. The body contains the variable 'my_note' that was
defined at the beginning of this Collaboration Rules script.")
(copy-strip "E*Gate Error Notification: Error #"
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailBody.emailSubject "")
(copy-strip input%EventMsg.Msg.EventHeader.eventCode
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailBody.emailSubject "")
(copy-strip my_note
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.emailBody.emailText "")
(comment "SMTP Server information" "")
(copy-strip ""
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.LoginInfo.userName "")
(copy-strip ""
output%NotificationMessage.Msg.NotificationBody.alertBody.issue
Body[0].emailDetail.LoginInfo.password "")
)
(begin
)
)
SMTP authenfication not used.
Guys, maybe some one faced with similar problem or can give anadvice, pleaseee
Irina