05-29-2003 06:33 AM - edited 03-02-2019 07:44 AM
Hi,
can anybody provide me with a detailed description of mail_notify.conf file format?
I'm trying to configure my DFM 1.2 running on Win2000 server to send me email notifications about STP Topology Change traps received.
But the only way which works is:
SubscribesTo =
{
GA_ChoiceSubscription::Mail-All-Subscriptions
{
className = ".*"
instanceName = ".*"
eventName = ".*"
problems = TRUE
aggregates = TRUE
symptoms = TRUE
}
}
But this would send me all possible alarms....
I've found several documents on CCO describing how to configure DFM mail notifier to send only specific traps but no one works.
I'd like to receive ALL aggregates plus SOME specific symptoms (STP TCN, e.g.).
Does anybody know how to configure it?
What are the "problems" in mail_notify.conf file?
Thanks in advance,
Milan
05-30-2003 12:45 PM
I configured my mail_notify.conf file to only send mail when there are interface events, etc. It works fine. Problems are once you take away the 'mail all subscription' then you have to explicitly define exactly what you want mailed, which can be tricky if you are not familiar on how to define events, classes, etc. Don't forget each subscription needs a unique name, and a comma before each new method. Here is a good link:
To do all aggregates, try this:
SubscribesTo =
{
GA_ChoiceSubscription::All-Aggregates
{
className = ".*"
instanceName = ".*"
eventName = ".*"
problems = FALSE
aggregates = TRUE
symptoms = FALSE
}
}
06-01-2003 11:19 PM
Thanks Shiloh,
I've seen this material already. But reading it once more, I noticed some examples of the syntax:
className = "PowerSupply_Fault.*"
className = ".*Port.*"
instanceName = ".*PORT-.*"
instanceName = ".*IF-.*"
I still don't understand the syntax completely but I can use them to make some experiments.
I'd also like to know what "problems " are.
Regards,
Milan
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