HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Problem sending alerts from System Reporter
PostPosted: Fri Oct 31, 2014 3:26 am 

Joined: Mon Apr 14, 2014 9:07 am
Posts: 189
I've been fighting for a while to send smtp from system reporter to our exchange. From the server that has system reporter i can telnet to our exchange on port 25 and i can send smtp to my account and that works fine. So I know the firewall shouldn't be an issue. I've been checking the sampleloop file - and i've sent an alert to a low level so i should see emails.

If it helps i've attached some of my sampleloop file to see if someone can help me, please note i've changed the IP address of the 3pars to WORK_3PAR1_IP and my email address isn't
myemail@work.com.

I've also included below the sampleloop the settings from my sampleloop_config below just incase i've done something wrong.


*********************SAMPLELOOP***************************************
2014-10-31 07:45:15: DEBUG: resetting sysrptsched_timeout
2014-10-31 07:45:56: Status from WORK_3PAR2_IP: good (18 secs)
2014-10-31 07:45:57: Status from WORK_3PAR1_IP: good (19 secs)
2014-10-31 07:45:57: Seconds to insert all samples: 19
2014-10-31 07:45:57: Started trimming tables
2014-10-31 07:45:57: Trimming hires tables
2014-10-31 07:46:05: Finished trimming tables (8 seconds)
2014-10-31 07:46:05: Sample inserted (2 systems) (time=2014-10-31 07:45:38) (hires, space=0) (27 secs)
2014-10-31 07:46:05: Sending email to myemail@work.com Threshold statport hires WORK_3PAR total_iops > 300.0 and min_total_iops 100.0
2014-10-31 07:46:05: send_email failed: couldn't open socket: invalid argument
2014-10-31 07:50:53: Status from WORK_3PAR2_IP: good (15 secs)
2014-10-31 07:51:00: Status from WORK_3PAR1_IP: good (22 secs)
2014-10-31 07:51:00: Seconds to insert all samples: 22
2014-10-31 07:51:00: Started trimming tables
2014-10-31 07:51:00: Trimming hires tables
2014-10-31 07:51:07: Finished trimming tables (7 seconds)
2014-10-31 07:51:07: Sample inserted (2 systems) (time=2014-10-31 07:50:38) (hires, space=0) (29 secs)
2014-10-31 07:51:07: Sending email to myemail@work.com Threshold statport hires WORK_3PAR total_iops > 300.0 and min_total_iops 100.0
2014-10-31 07:51:07: send_email failed: couldn't open socket: invalid argument
2014-10-31 07:55:53: Status from WORK_3PAR1_IP: good (15 secs)
2014-10-31 07:55:56: Status from WORK_3PAR2_IP: good (18 secs)
2014-10-31 07:55:56: Seconds to insert all samples: 18
2014-10-31 07:55:56: Started trimming tables
2014-10-31 07:55:56: Trimming hires tables
2014-10-31 07:56:04: Finished trimming tables (8 seconds)
2014-10-31 07:56:04: Sample inserted (2 systems) (time=2014-10-31 07:55:38) (hires, space=0) (26 secs)
2014-10-31 07:56:04: Sending email to myemail@work.com Threshold statport hires WORK_3PAR total_iops > 300.0 and min_total_iops 100.0
2014-10-31 07:56:04: send_email failed: couldn't open socket: invalid argument
***********************************************************************

******************SAMPLELOOP_CONFIG.TCL******************************
# Full path to cli.exe:
set Sysdb::cli "C:/Program Files (x86)/3PAR/inform_cli_3.1.2/bin/cli.exe"
# SMTP Info:
set Sysdb::smtpserver "smtpserver@work 25"
set Sysdb::smtporig "myemail@work.com"
set Sysdb::inservperfpath "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/cgi-bin/3par-rpts"
# Set the path to store certificate file. Do not change the TPDCERTDIR and TPDNOCERTPROMPT values.
set ::env(TPDCERTDIR) "D:/SR/certdir"
set ::env(TPDNOCERTPROMPT) 1
**********************************************************************


Top
 Profile  
Reply with quote  
 Post subject: Re: Problem sending alerts from System Reporter
PostPosted: Fri Oct 31, 2014 5:23 am 

Joined: Fri Jun 27, 2014 2:01 am
Posts: 390
set Sysdb::smtpserver "smtpserver@work 25"

try
set Sysdb::smtpserver "smtpserver@work"
or
set Sysdb::smtpserver "smtpserver.work"


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


Who is online

Users browsing this forum: No registered users and 220 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt