Hi Forum
Some how i managed to install and configure cacti with Threshold plugin, I have given all the mail configuration details and still it's not delivering and bouncing back to local.
here is my configuration:
how can i solve this issue?
Regards,
Ben
Email not working with Threshold
Moderators: Developers, Moderators
Re: Email not working with Threshold
You selected sendmail, so 1/2 those other options at the bottom don't apply to you. Have you properly setup sendmail to be able to send email on your server? You may check its logs to see if it is properly sending emails or having issues. Or if you have any external mail server (you seem to, since you filled in the SMTP Options), you should try selecting SMTP instead.
Re: Email not working with Threshold
HI
Thanks for the replay.
i have enabled SMTP and our external mail server is microsoft exchange.
and it's not going through
Thanks for the replay.
i have enabled SMTP and our external mail server is microsoft exchange.
and it's not going through
Re: Email not working with Threshold
So you have the error !
The end server is not supporting the authentication user/password you provide.
Check on your server side, not on cacti.
The end server is not supporting the authentication user/password you provide.
Check on your server side, not on cacti.
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Re: Email not working with Threshold
HI,
finally my test email is delivering to my email through external exchange server.
But i have created one threshold with "Alert Emails" to my email and it's delivering to local cati user account's mail.
and the mail content as below:
finally my test email is delivering to my email through external exchange server.
But i have created one threshold with "Alert Emails" to my email and it's delivering to local cati user account's mail.
and the mail content as below:
Code: Select all
From MAILER-DAEMON Tue Aug 23 10:20:09 2016
Return-Path: <>
X-Original-To: Cacti@localhost.example.com
Delivered-To: Cacti@localhost.example.com
Date: Tue, 23 Aug 2016 10:20:09 +0300 (AST)
From: MAILER-DAEMON@kw.example.com (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: Cacti@localhost.example.com
Auto-Submitted: auto-replied
Content-Type: multipart/report; report-type=delivery-status;
boundary="9AC128189E6F.1471936809/kw.example.com"
Status: R
Part 1:
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii
This is the mail system at host kw.example.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<ben.t.george@kw.example.com>: host 95.66.124.27[95.66.124.27] said: 553 #5.1.8
Domain of sender address <Cacti@localhost.example.com> does not exist (in
reply to MAIL FROM command)
Part 2:
Content-Description: Delivery report
Content-Type: message/delivery-status
Part 3:
Content-Description: Undelivered Message
Content-Type: message/rfc822
From Cacti@localhost.example.com Tue Aug 23 10:20:09 2016
Return-Path: <Cacti@localhost.example.com>
From: Cacti <Cacti@localhost.example.com>
To: ben.t.george@kw.example.com
Date: Tue, 23 Aug 2016 07:20:09 +0000
X-Mailer: Cacti-Thold-v0.5
User-Agent: Cacti-Thold-v0.5
Subject: ALERT: sp02.kw.example.com - Used Space - Real Memory [hdd_used] [hdd_used] is still above threshold of 90 with 7688693350
4
Content-Type: multipart/related; boundary="--REL__MAILER_23189_1471936809_6084500"
Part 3.1:
Content-Type: multipart/alternative; boundary="--ALT__MAILER_23189_1471936809_6084500"
Content-Type: text/plain; charset="UTF-8"
An Alert has been issued that requires your attention.
Host: sp02.kw.example.com (10.99.80.95)
URL: http://unixgate.kw.example.com/cacti//graph.php?local_graph_id=186&rra_id=1
Message: ALERT: sp02.kw.example.com - Used Space - Real Memory [hdd_used] [hdd_used] is still above threshold of 90 with
76886933504
Part 3.2:
Content-ID: <23189_1471936809_6083400@localhost>
Content-Type: image/jpg
Content-Disposition: inline; filename="186.jpg"
Re: Email not working with Threshold
your local sendmail (or whatever you MTA is localy) does not recognize localhost.example.com as authorized domain
<ben.t.george@kw.example.com>: host 95.66.124.27[95.66.124.27] said: 553 #5.1.8
Domain of sender address <Cacti@localhost.example.com> does not exist (in
reply to MAIL FROM command)
<ben.t.george@kw.example.com>: host 95.66.124.27[95.66.124.27] said: 553 #5.1.8
Domain of sender address <Cacti@localhost.example.com> does not exist (in
reply to MAIL FROM command)
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Re: Email not working with Threshold
HI
thanks for thehelp,
i fixed the issue and now i am getting mails.
Regards,
Ben
thanks for thehelp,
i fixed the issue and now i am getting mails.
Regards,
Ben
Who is online
Users browsing this forum: No registered users and 1 guest