HPE Storage Users Group
https://3parug.org/

Problem sending alerts from System Reporter
https://3parug.org/viewtopic.php?f=18&t=985
Page 1 of 1

Author:  koopa79 [ Fri Oct 31, 2014 3:26 am ]
Post subject:  Problem sending alerts from System Reporter

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
**********************************************************************

Author:  RitonLaBevue [ Fri Oct 31, 2014 5:23 am ]
Post subject:  Re: Problem sending alerts from System Reporter

set Sysdb::smtpserver "smtpserver@work 25"

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

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/