03-25-2003 10:02 AM - edited 03-02-2019 06:08 AM
I have modified my mail_notify.conf by having only the link_down and unresponsive.
I then restarted the DFMMailNofity but when an unresponsive device came up, no email was sent to the email even though clicking on it manually sent it to the email server. what can be wrong.?
Thanks
03-25-2003 12:28 PM
This is what I have modified the mail_notify.conf to.
#
# This is a configuration file which contains objects for the
# mail notification adapter.
#
# Based on GNA - the Generic Notification Adapter framework
#
# $Id: mail_notify.conf,v 1.1.2.3.2.2.2.4 2000/11/03 14:24:36 boaz Exp $
#
#
# The GNA notifier object.
#
GNA_Notifier::mail-Notifier
{
serverName = "DFM"
# How long to wait, in seconds, before beginning to send events. Default
# is 1 sec., to prevent a flood of notifications upon adapter startup.
initialEventDelay = 1
# Additional parameters: A comma-separated list of recipients (who to
# send to); the email address of the sender; and the fully qualified
# domain name of the mail server.
ProvidesAdditionalParams = MailAdapterParams::mail_Notifier-Parameters
{
Recipients = "??.co.uk"
SenderId = "CiscoAlert"
MailServer = "??.??.com"
}
ReadsInputFrom = GA_SubscriberFE::mail_Notifier-Subscriber-FrontEnd
{
# How long an event must remain active before the adapter sends a
# notification, in units of seconds.
eventSmoothingInterval = 0
# Notification threshold; discard notifications with a certainty
# below this value.
minimumCertainty = 0.01
SubscribesTo =
{
GA_ChoiceSubscription::Link_Down
{
className = ".*"
instanceName = ".*"
eventName = "OperationallyDown"
problems = FALSE
aggregates = TRUE
symptoms = FALSE
},
GA_ChoiceSubscription::Device_Down
{
className = ".*"
instanceName = ".*"
eventName = "Unresponsive"
problems = FALSE
aggregates = TRUE
symptoms = FALSE
}
}
}
PerformsSend = MailAction::mail_NotifierInterface
{
# Trace all outgoing email messages to stderr
trace = FALSE
}
# No user-serviceable parts below here.
#
filterRuleSet = "mail-notify/mailFilter_Notify.asl"
adapterRuleSet = "mail-notify/mail_Notify.asl"
}
# These variables describe the formatting of this file. If you don't like the
# template defaults, feel free to change them here (not in your .emacs file).
#
# Local Variables:
# mode: Makefile
# comment-column: 32
# fill-column: 79
# End:
Please note that when the default was used, it was sending mail successfully.
Thanks
03-25-2003 01:39 PM
Why do I get the following in the subject line of my mail?
SNMP-zjcufLi2b03yf933fejz Unresponsive
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide