System Reporter Scheduled Reports

Post Reply
User avatar
zeal0t
Posts: 3
Joined: Fri Aug 08, 2014 9:14 am
Location: Santiago, Chile

System Reporter Scheduled Reports

Post by zeal0t »

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.
User avatar
Richard Siemers
Site Admin
Posts: 1333
Joined: Tue Aug 18, 2009 10:35 pm
Location: Dallas, Texas

Re: System Reporter Scheduled Reports

Post by Richard Siemers »

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.
hdtvguy
Posts: 576
Joined: Sun Jul 29, 2012 9:30 am

Re: System Reporter Scheduled Reports

Post by hdtvguy »

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

Re: System Reporter Scheduled Reports

Post by zeal0t »

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.
User avatar
zeal0t
Posts: 3
Joined: Fri Aug 08, 2014 9:14 am
Location: Santiago, Chile

Re: System Reporter Scheduled Reports

Post by zeal0t »

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.
Post Reply