06-08-2007 04:40 AM
I am attempting to get email notification working with DFM v1.2. I have editted the file mail_notify.conf as per the Cisco document explaining how to customize DFM to alert on specific alarms, but when I add more than one GA_Choice.... section mail delivery stops, I'm guessing my syntax is incorrect in the file, below is how I have the file configured currently, the first GA_Choic... section I want to be alerted when any router is unresponsive, the second is a catch all to see if I could get the syntax correct and after that was added I haven't been able to generate an email. Thanks for any help.
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::DeviceDownTest
{
className = "Router"
instanceName = ".*"
eventName = "Unresponsive"
problems = FALSE
aggregates = FALSE
symptoms = TRUE
},
{
GA_ChoiceSubscription::DeviceDownTest2
{
className = ".*"
instanceName = ".*"
eventName = "Unresponsive"
problems = FALSE
aggregates = FALSE
symptoms = TRUE
}
}
}
06-08-2007 04:41 AM
Sorry....the excerpt lost it's formatting when I pasted it.
06-08-2007 05:44 AM
It looks like you might have an additional '{' in there You don't need another '{' after the "}," from the first subscription.
06-08-2007 06:28 AM
Thanks, that worked. The sample in the Cisco doc located at : http://www.cisco.com/warp/public/477/DFM/customdfm-25561.shtml is incorrect.
Thanks again....Jeff
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