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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

ciscoworks 4.2 - dfm email issue

Hi Cisco Team,

Dfm email alerts are not coming though it was configured properly.

Did a wireshark pcap and below is the info taken from wireshark.

Command: MAIL FROM:<itreports.alerts@mycompany.com>\r\n

Command: RCPT TO:<network.support@mycompany.com>\r\n

Response: 550 5.7.1 Unable to relay for network.support@mycompany.com\r\n

Response code: Requested action not taken: mailbox unavailable (550)

Response parameter: 5.7.1 Unable to relay for network.support@mycompany.com

Im able to telnet to smtp server on port 25.

ciscoworks ip and smtp server ip are in the same pvt ip range.

Can you pls help.

19 REPLIES
Cisco Employee

ciscoworks 4.2 - dfm email issue

Hi Rajesh,

If you are  running LMS on windows then try to disable the Windows Firewall and see if you get emails.

Also share the SMTP.log (NMSROOT\CSCOpx\log)

Thanks-

Afroz

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****
New Member

Re: ciscoworks 4.2 - dfm email issue

Hi Afoz,

Please find the attached smtp.log

regards

Rajesh

New Member

Re:ciscoworks 4.2 - dfm email issue

Thanks Afroz
I will check this and reply to you.


Sent from Cisco Technical Support Android App

Cisco Employee

Re: ciscoworks 4.2 - dfm email issue

Hi Rajesh,

logs looks fine.

[ Thu Jan 09 12:01:12 IST 2014 ] INFO   [Util : sendMail]  : sendMail()  - Starts

[ Thu Jan 09 12:01:12 IST 2014 ] INFO   [Util : sendMail]  : SMTP Server:hm02sql01.mycompany.com

[ Thu Jan 09 12:01:12 IST 2014 ] INFO   [Util : sendMail]  : Date:Thu, 9 Jan 2014 12:01:12 +0530

[ Thu Jan 09 12:01:12 IST 2014 ] INFO   [Util : sendMail]  : From ID:network.support@mycompany.com

[ Thu Jan 09 12:01:12 IST 2014 ] INFO   [Util : sendMail]  : To ID:

[ Thu Jan 09 12:01:12 IST 2014 ] INFO   [Util : sendMail]  : Subject:Job Id:1004.262, Status:Failed(25), Application:SysInvPoller, Run Type:Daily

[ Thu Jan 09 12:01:12 IST 2014 ] INFO   [Util : sendMail]  : sendMail()  - Ends

according to logs ..email was sent 

***Test an email on a new Email address..

Thanks-

Afroz

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****
New Member

ciscoworks 4.2 - dfm email issue

But still i am not getting mails from ciscoworks..

do you need anything else ?

Cisco Employee

ciscoworks 4.2 - dfm email issue

Hi  Rajesh,

Are you getting emails for other jobs ?

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****
New Member

ciscoworks 4.2 - dfm email issue

so far we hv configured only dfm to send email alerts.

but other servers are configured and getting email alerts from other servers(other vendors) to this smtp server.

you need any other info please update..

New Member

ciscoworks 4.2 - dfm email issue

Hi Rajesh,

Could you check the smtp configuration and share the page by page screenshot from the following location:-

Admin > Network > Notification and Action Settings.

Make sure you have the same smtp server entry in the following two locations:-

Admin > Getting Started > System Settings

                            &

Admin > System > SMTP default Server

Share the screen shot from the above location as well.

New Member

Re: ciscoworks 4.2 - dfm email issue

Hi Syed,

im not at all getting email alerts from any of the modules..

Pls find the attached screenshots for your reference.

Default smtp server in both the pages are the same.

Admin > Getting Started > System Settings

                            &

Admin > System > SMTP default Server

regards

Rajesh

New Member

Re: ciscoworks 4.2 - dfm email issue

Please check if SMTP server is properly configured on regdaemon.xml. You can share that file as well. Also, just check there is no duplicate entry for DFM Notifications.

Gracias

George

New Member

Re: ciscoworks 4.2 - dfm email issue

In addition to what Joe has suggested, please check the smtp.log when you generate an alert.

the log is located at NMSROOT\log.

Regards,

Syed Khalid

Note:- NMSROOT is the LMS install directory.

New Member

Re: ciscoworks 4.2 - dfm email issue

Hi Syed,

I had already shared the logs in this thread.!!

regards

Rajesh

New Member

Re: ciscoworks 4.2 - dfm email issue

It seems the smtp stopped logging events sicen Jan 9. Did the emails stopped coming from Jan 9 2014? Please share the regdaemon.xml file from NMSROOT\MDC\etc.

Also redo the smtp server in the notification and action settings.

Regards,

Syed Khalid

New Member

Re: ciscoworks 4.2 - dfm email issue

Hi Syed, this was the old smtp log.

i will share regdaemon.xml and reconfigure smtp.

anyother details you required ??

      

Infact, RME syslog email automation is also not sending any mail...

New Member

Re: ciscoworks 4.2 - dfm email issue

pls find the attached screenshot of regdaemon.xml.

i have verified that the same smtp server name was configured in regdaemon.xml and defaultsmtp server.

any other details you require ?

Attaching smtp.log & screenshot of regdaemon

New Member

Re: ciscoworks 4.2 - dfm email issue

Hi Rajesh,

Type:Daily

[ Fri Jan 24 12:00:25 IST 2014 ] INFO   [Util : sendMail]  : sendMail()  - Ends

[ Fri Jan 24 12:05:03 IST 2014 ] INFO   [Util : sendMail]  : sendMail()  - Starts

[ Fri Jan 24 12:05:03 IST 2014 ] INFO   [Util : sendMail]  : SMTP Server:hm02sql01.xyz.com

[ Fri Jan 24 12:05:03 IST 2014 ] INFO   [Util : sendMail]  : Date:Fri, 24 Jan 2014 12:05:03 +0530

[ Fri Jan 24 12:05:03 IST 2014 ] INFO   [Util : sendMail]  : From ID:network.support@xyz.com

[ Fri Jan 24 12:05:03 IST 2014 ] INFO   [Util : sendMail]  : To ID:

[ Fri Jan 24 12:05:03 IST 2014 ] INFO   [Util : sendMail]  : Subject:Job Id:1004.277, Status:Failed(25), Application:SysInvPoller, Run Type:Daily

[ Fri Jan 24 12:05:03 IST 2014 ] INFO   [Util : sendMail]  : sendMail()  - Ends

This seems to show that the smtp server is trying to push the mail.

Please check if the smtp server host name is correct in the log.

Regards,

Syed Khalid

New Member

Re:ciscoworks 4.2 - dfm email issue

Hi syed

The default smtp server name, smtp server hostname and log's hostname are the same 'hm02sql01.xyz.com'

What else needs to be checked.


Sent from Cisco Technical Support Android App

New Member

Re:ciscoworks 4.2 - dfm email issue

Hi Syed

Can you pls help me to proceed this..


Sent from Cisco Technical Support Android App

New Member

Re:ciscoworks 4.2 - dfm email issue

As LMS is able to send the email notification according to log. Are you sure your SMTP Server is entertaining it properly?

Can you use some freeware tool like blat.exe on the LMS server to try to send an email and see it works fine.

You can either download it from http://sourceforge.net/projects/blat/files/ OR it is usually present in Wind28K server @ C:\Windows\System32.

Check and shae updates.

Joe

719
Views
8
Helpful
19
Replies