HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: System Reporter Scheduled Reports
PostPosted: Tue Aug 19, 2014 2:53 pm 
User avatar

Joined: Fri Aug 08, 2014 9:14 am
Posts: 3
Location: Santiago, Chile
Hi all,

I'm having problems to send scheduled reports via email.

I've configured the sampleloop.conf as shown in manual.

set Sysdb::smtpserver "mail.mydomain.com"

set Sysdb::smtporig "3PARSystemReporter@mydomain.com"


But this errors appear on schedrptlog_<name-of-report>.log

2014-08-19 15:15:26: Sending email to <destination@mydomain.com> with subject Report Diario created (Mail from System Reporter Scheduled Report system)
2014-08-19 15:15:26: send_email failed: couldn't open socket: host is unreachable (Name or service not known)
2014-08-19 15:15:26: Sent email to <destination@mydomain.com> with subject Report Diario created (Mail from System Reporter Scheduled Report system)
2014-08-19 15:15:26: Exiting process after completion


If I send the email manually with telnet no problem

[root@3parsr ~]# telnet mail.mydomain.com 25
Trying mail.mydomain.com...
Connected to mail.mydomain.com.
Escape character is '^]'.


Software is 3PAR System Reporter 3.1 MU1.

I hope somebody can help me...

Thanks in advice.

Best Regards.


Top
 Profile  
Reply with quote  
 Post subject: Re: System Reporter Scheduled Reports
PostPosted: Tue Aug 19, 2014 9:15 pm 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1328
Location: Dallas, Texas
This all looks good, and should work. Did you restart the services after editing the config file?

Also check to see if SElinux is enforcing, and if it is, it might be blocking apache from talking to a smtp port.

_________________
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.


Top
 Profile  
Reply with quote  
 Post subject: Re: System Reporter Scheduled Reports
PostPosted: Wed Aug 20, 2014 5:36 am 

Joined: Sun Jul 29, 2012 9:30 am
Posts: 576
As a side note if I recall it does not actually email you the report, I thought it just emails a link?


Top
 Profile  
Reply with quote  
 Post subject: Re: System Reporter Scheduled Reports
PostPosted: Wed Aug 20, 2014 9:01 am 
User avatar

Joined: Fri Aug 08, 2014 9:14 am
Posts: 3
Location: Santiago, Chile
hdtvguy wrote:
As a side note if I recall it does not actually email you the report, I thought it just emails a link?

Yes, only send a link to view the report.


Yes Richard, i've restarted the sampleloop service, even restarted the server. But no luck.

Before installation of product, i've disabled SELinux.

[root@3parsr ~]# setsebool --h
setsebool: SELinux is disabled.


Thanks for your help.

Best Regards.


Last edited by zeal0t on Wed Aug 20, 2014 1:19 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: System Reporter Scheduled Reports
PostPosted: Wed Aug 20, 2014 1:10 pm 
User avatar

Joined: Fri Aug 08, 2014 9:14 am
Posts: 3
Location: Santiago, Chile
I've fixed the problem.

The SMTP configuration also must be placed in the file "config.tcl" located at "/var/www/cgi-bin/3par-rpts"

After that, reports are sent by email without problem.

Hoping this might be useful.

Best Regards.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: Majestic-12 [Bot] and 199 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt