Hi all,
I setup threshold and fine, but has trouble with receives email when reach a threshold.
Though, can received email when testing.
This is my setting threshold:
In Thold Tab:
Log in cacti.log:
Notification List:
My threshold under Setting:
Some one can help me to solved this issue?
I take long time to find the caused but not yet,
Any replay is appreciated
Regards,
Cannot received email when reach threshold!!
Moderators: Developers, Moderators
Re: Cannot received email when reach threshold!!
Thold plugin says: "I sent an alert mail".THOLD: Sending email to 'xxxx@xxxx.xxxx'
1) Remove leading '@' of "@png2jpeg(...);" in thold_functions.php, then make sure whether there is any error in Cacti log, SMTP log, and PHP error log.
(Of course you need to make sure whether those logging is working)
2) If you enabled "Send Alerts as Text", can you get an alert mail?
Re: Cannot received email when reach threshold!!
Hi,
I tried both of 2 case above, but not yet.
This is my Mail/DNS under Setting:
When i checked log on server and saw:
When i add extra Emails box with other mail domain(eg: gmail), i can received email when reach threshold.
Do i need setup a smtp server or configure smtp server in somewhere in Threshold file?
I tried both of 2 case above, but not yet.
This is my Mail/DNS under Setting:
When i checked log on server and saw:
Code: Select all
q2G1ASmH002576: to=<my email address>, ctladdr=<cactiuser@machine.domain> (502/502), delay=00:00:05, xdelay=00:00:01, mailer=esmtp, pri=150918, relay=mail.servername [IP address], dsn=2.0.0, stat=Sent (Message accepted for delivery)
Do i need setup a smtp server or configure smtp server in somewhere in Threshold file?
Re: Cannot received email when reach threshold!!
This is my setting in php.ini:
Do i need changing some in here??
Code: Select all
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
[Date]
; Defines the default timezone used by the date functions
;date.timezone =
[Syslog]
; Whether or not to define the various syslog variables (e.g. $LOG_PID,
; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
; runtime, you can define these variables by calling define_syslog_variables().
define_syslog_variables = Off
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
Re: Cannot received email when reach threshold!!
Sendmail says: "I sent an alert mail".trungmv wrote: When i checked log on server and saw:Code: Select all
q2G1ASmH002576: to=<my email address>, ctladdr=<cactiuser@machine.domain> (502/502), delay=00:00:05, xdelay=00:00:01, mailer=esmtp, pri=150918, relay=mail.servername [IP address], dsn=2.0.0, stat=Sent (Message accepted for delivery)
Not sure.trungmv wrote:When i add extra Emails box with other mail domain(eg: gmail), i can received email when reach threshold.
Do i need setup a smtp server or configure smtp server in somewhere in Threshold file?
As far as one mail server (gmail) can receive alert mail, Cacti server sent the mail successfully.
Please check the server's log that the mail was relayed to.
Re: Cannot received email when reach threshold!!
Hi,
I am not own our server email.
So, what happen if i using Sendmail or SMTP instead of PHP mail function??
Could you guide me how to setting up one of them??
Thank you very much!
I am not own our server email.
So, what happen if i using Sendmail or SMTP instead of PHP mail function??
Could you guide me how to setting up one of them??
Thank you very much!
Who is online
Users browsing this forum: No registered users and 3 guests