Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to configure a mail server for notifications

We're running LMS 2.1 on W2K server and would like to send the fatal errors from the DFM to our cell phones. We are running Novel's GroupWise mail system and I was wondering if there's a documentation on how to configure

the mail server field for sending notifications.

Thanks.

_ Alex.

2 REPLIES
Blue

Re: How to configure a mail server for notifications

If you want to know how to setup DFM's Mail Notifier Adapter, you can look at: http://www.cisco.com/univercd/cc/td/doc/product/rtrmgmt/cw2000/dfm/dfm_faq.htm for the steps. For Novel, you need to consult the respective docs.

New Member

Re: How to configure a mail server for notifications

Documentation Error:

If you do not explicitly configure the DFM Notifiers to start automatically, they have to be started manually. This means on a restart of the CW2K device or the CW2K processes, the notifiers will not be running!

To take care of this, the documentation recommends the following command to unregister and re-register the notifier, so it starts automatically:

If necessary, register the adapter for automatic startup by running these commands to unregister and re-register the adapters. NMSROOT is the directory where CiscoWorks is installed (for Solaris, the default value for NMSROOT is /opt/CSCOpx, and for Windows, the default value is C:\Program Files\CSCOpx).

On Windows, the commands are:

For DfmMailNotifier (the second command is one line):

# NMSROOT\bin\pdcmd.exe -u DfmMailNotifier

# NMSROOT\bin\pdcmd.exe -r DfmMailNotifier -d DfmServer -e NMSROOT\objects\smarts\bin\sm_notify.exe -f "--adapter=mail --output=sm_mail_notifier"

-> The first command works, to unregister the Mail Notifier; however, the second fails if you use Program Files in the path, most likely due to the infamous "whitespace" issue:

D:\Program Files\CSCOpx\bin>pdcmd.exe -r DfmMailNotifier -d DfmServer -e D:\Prog

ram Files\CSCOpx\objects\smarts\bin\sm_notify.exe -f "--adapter=mail --output=sm_mail_notifier"

ERROR: cmd failed. Server reason: The path or filename given to the daemon manager in an application registration is invalid.

-> Using "Progra~1" mitigates the issue:

D:\Program Files\CSCOpx\bin>pdcmd.exe -r DfmMailNotifier -d DfmServer -e D:\Prog

ra~1\CSCOpx\objects\smarts\bin\sm_notify.exe -f "--adapter=mail --output=sm_mail_notifier"

D:\Program Files\CSCOpx\bin>

When the prompt comes back with no feedback, you are good-2-go!

Stay Strong,

Michael "OpenView Mike" Stoller

CEO/Senior Consultant and Engineer

EHI-INSM Inc.

michael.stoller@ehiinsm.com

http://www.ehiinsm.com

Disclaimer: My opinion, remarks, advice, etc. are not indicative of any of my company's policies or procedures. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

105
Views
0
Helpful
2
Replies
CreatePlease to create content