Hi,
Cacti emails are not working with SMTP settings on version 1.1.13. I am using the same settings across the different application and servers however getting error with cacti only. Below is the result of the test email.
Checking Configuration...
Method: SMTP
Ping Results: SMTP error: Authentication failed: 250-SIZE 26214400 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-STARTTLS 250-X-ANONYMOUSTLS 250-X-EXPS GSSAPI NTLM 250-8BITMIME 250-BINARYMIME 250-CHUNKING 250 XRDST
Message Not Sent due to ping failure.
Please help if any specific settings needs to be done to get the email working from cacti.
Regards
Ravi
[solved] Cacti Mail not working with SMTP settings
Moderators: Developers, Moderators
[solved] Cacti Mail not working with SMTP settings
Last edited by RaviKant on Wed Aug 09, 2017 4:56 am, edited 1 time in total.
Re: Cacti Mail not working with SMTP settings
Hello Everyone,
Please help me to resolve this mail issue.
Regards
Ravi
Please help me to resolve this mail issue.
Regards
Ravi
Re: Cacti Mail not working with SMTP settings
are you certain the mail server is reachable from the cacti server? that error states both a ping and authentication failures.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Cacti Mail not working with SMTP settings
Test email via power shell is working fine which eliminates any communication issue in between cacti server and the mail server.
Send-MailMessage -SmtpServer 10.202.48.52 -To abc@xyz.com -From abc@xyz@cadence.com -Subject "test email" -Body "This is a test email"
Does any specific settings needed for windows machines? I read post related to cacti installation on CentOS:
Hello,
I just recently (3/22/17) built a new Cacti server on CentOS 7 and have been having some issues with email alerts. Previously I was using SMTP authentication with a blank username and password on the older Cacti Server (0.8.8 ). This still works great, I can send test emails all day with these SMTP settings. If I try to use the exact same settings on the 1.0.4 Cacti instance, I am getting the error: Ping Results: SMTP error: Connect Failed. Message Not Sent due to ping failure". I saw here ( https://github.com/Cacti/cacti/issues/243 ) that this issue had been brought up and closed in the 1.0.0 version. I can ping and telnet to our mail server on port 25 and I have tried using an email account on that exchange server as well and I still get this ping error. The older Cacti server is alerting just fine over unauthenticated SMTP. I've even been messing with sendmail a bit for an alternate route but even though I can use sendmail directly from the server to myself (through our exchange server), the application never produces a test email.
--update
This was resolved by letting the HTTPD service to ping and network connect. doh.
setsebool -P httpd_can_network_connect 1
setsebool -P nis_enabled 1
setsebool -P httpd_can_sendmail 1
Regards
Ravi
Send-MailMessage -SmtpServer 10.202.48.52 -To abc@xyz.com -From abc@xyz@cadence.com -Subject "test email" -Body "This is a test email"
Does any specific settings needed for windows machines? I read post related to cacti installation on CentOS:
Hello,
I just recently (3/22/17) built a new Cacti server on CentOS 7 and have been having some issues with email alerts. Previously I was using SMTP authentication with a blank username and password on the older Cacti Server (0.8.8 ). This still works great, I can send test emails all day with these SMTP settings. If I try to use the exact same settings on the 1.0.4 Cacti instance, I am getting the error: Ping Results: SMTP error: Connect Failed. Message Not Sent due to ping failure". I saw here ( https://github.com/Cacti/cacti/issues/243 ) that this issue had been brought up and closed in the 1.0.0 version. I can ping and telnet to our mail server on port 25 and I have tried using an email account on that exchange server as well and I still get this ping error. The older Cacti server is alerting just fine over unauthenticated SMTP. I've even been messing with sendmail a bit for an alternate route but even though I can use sendmail directly from the server to myself (through our exchange server), the application never produces a test email.
--update
This was resolved by letting the HTTPD service to ping and network connect. doh.
setsebool -P httpd_can_network_connect 1
setsebool -P nis_enabled 1
setsebool -P httpd_can_sendmail 1
Regards
Ravi
Re: Cacti Mail not working with SMTP settings
Test email via power shell is working fine which eliminates any communication issue in between cacti server and the mail server.
Send-MailMessage -SmtpServer 10.202.48.52 -To abc@xyz.com -From abc@xyz@cadence.com -Subject "test email" -Body "This is a test email"
Does any specific settings needed for windows machines? I read post related to cacti installation on CentOS:
Hello,
I just recently (3/22/17) built a new Cacti server on CentOS 7 and have been having some issues with email alerts. Previously I was using SMTP authentication with a blank username and password on the older Cacti Server (0.8.8 ). This still works great, I can send test emails all day with these SMTP settings. If I try to use the exact same settings on the 1.0.4 Cacti instance, I am getting the error: Ping Results: SMTP error: Connect Failed. Message Not Sent due to ping failure". I saw here ( https://github.com/Cacti/cacti/issues/243 ) that this issue had been brought up and closed in the 1.0.0 version. I can ping and telnet to our mail server on port 25 and I have tried using an email account on that exchange server as well and I still get this ping error. The older Cacti server is alerting just fine over unauthenticated SMTP. I've even been messing with sendmail a bit for an alternate route but even though I can use sendmail directly from the server to myself (through our exchange server), the application never produces a test email.
--update
This was resolved by letting the HTTPD service to ping and network connect. doh.
setsebool -P httpd_can_network_connect 1
setsebool -P nis_enabled 1
setsebool -P httpd_can_sendmail 1
Regards
Ravi
Send-MailMessage -SmtpServer 10.202.48.52 -To abc@xyz.com -From abc@xyz@cadence.com -Subject "test email" -Body "This is a test email"
Does any specific settings needed for windows machines? I read post related to cacti installation on CentOS:
Hello,
I just recently (3/22/17) built a new Cacti server on CentOS 7 and have been having some issues with email alerts. Previously I was using SMTP authentication with a blank username and password on the older Cacti Server (0.8.8 ). This still works great, I can send test emails all day with these SMTP settings. If I try to use the exact same settings on the 1.0.4 Cacti instance, I am getting the error: Ping Results: SMTP error: Connect Failed. Message Not Sent due to ping failure". I saw here ( https://github.com/Cacti/cacti/issues/243 ) that this issue had been brought up and closed in the 1.0.0 version. I can ping and telnet to our mail server on port 25 and I have tried using an email account on that exchange server as well and I still get this ping error. The older Cacti server is alerting just fine over unauthenticated SMTP. I've even been messing with sendmail a bit for an alternate route but even though I can use sendmail directly from the server to myself (through our exchange server), the application never produces a test email.
--update
This was resolved by letting the HTTPD service to ping and network connect. doh.
setsebool -P httpd_can_network_connect 1
setsebool -P nis_enabled 1
setsebool -P httpd_can_sendmail 1
Regards
Ravi
Re: Cacti Mail not working with SMTP settings
Test email via power shell is working fine which eliminates any communication issue in between cacti server and the mail server.
Send-MailMessage -SmtpServer 10.202.48.52 -To abc@xyz.com -From abc@xyz@cadence.com -Subject "test email" -Body "This is a test email"
Does any specific settings needed for windows machines? I read post related to cacti installation on CentOS:
Hello,
I just recently (3/22/17) built a new Cacti server on CentOS 7 and have been having some issues with email alerts. Previously I was using SMTP authentication with a blank username and password on the older Cacti Server (0.8.8 ). This still works great, I can send test emails all day with these SMTP settings. If I try to use the exact same settings on the 1.0.4 Cacti instance, I am getting the error: Ping Results: SMTP error: Connect Failed. Message Not Sent due to ping failure". I saw here ( https://github.com/Cacti/cacti/issues/243 ) that this issue had been brought up and closed in the 1.0.0 version. I can ping and telnet to our mail server on port 25 and I have tried using an email account on that exchange server as well and I still get this ping error. The older Cacti server is alerting just fine over unauthenticated SMTP. I've even been messing with sendmail a bit for an alternate route but even though I can use sendmail directly from the server to myself (through our exchange server), the application never produces a test email.
--update
This was resolved by letting the HTTPD service to ping and network connect. doh.
setsebool -P httpd_can_network_connect 1
setsebool -P nis_enabled 1
setsebool -P httpd_can_sendmail 1
Regards
Ravi
Send-MailMessage -SmtpServer 10.202.48.52 -To abc@xyz.com -From abc@xyz@cadence.com -Subject "test email" -Body "This is a test email"
Does any specific settings needed for windows machines? I read post related to cacti installation on CentOS:
Hello,
I just recently (3/22/17) built a new Cacti server on CentOS 7 and have been having some issues with email alerts. Previously I was using SMTP authentication with a blank username and password on the older Cacti Server (0.8.8 ). This still works great, I can send test emails all day with these SMTP settings. If I try to use the exact same settings on the 1.0.4 Cacti instance, I am getting the error: Ping Results: SMTP error: Connect Failed. Message Not Sent due to ping failure". I saw here ( https://github.com/Cacti/cacti/issues/243 ) that this issue had been brought up and closed in the 1.0.0 version. I can ping and telnet to our mail server on port 25 and I have tried using an email account on that exchange server as well and I still get this ping error. The older Cacti server is alerting just fine over unauthenticated SMTP. I've even been messing with sendmail a bit for an alternate route but even though I can use sendmail directly from the server to myself (through our exchange server), the application never produces a test email.
--update
This was resolved by letting the HTTPD service to ping and network connect. doh.
setsebool -P httpd_can_network_connect 1
setsebool -P nis_enabled 1
setsebool -P httpd_can_sendmail 1
Regards
Ravi
Re: Cacti Mail not working with SMTP settings
Test email via power shell is working fine which eliminates any communication issue in between cacti server and the mail server.
Send-MailMessage -SmtpServer 10.202.48.52 -To abc@xyz.com -From abc@xyz@cadence.com -Subject "test email" -Body "This is a test email"
Does any specific settings needed for windows machines? I read below post related to cacti installation on CentOS:
Hello,
I just recently (3/22/17) built a new Cacti server on CentOS 7 and have been having some issues with email alerts. Previously I was using SMTP authentication with a blank username and password on the older Cacti Server (0.8.8 ). This still works great, I can send test emails all day with these SMTP settings. If I try to use the exact same settings on the 1.0.4 Cacti instance, I am getting the error: Ping Results: SMTP error: Connect Failed. Message Not Sent due to ping failure". I saw here ( https://github.com/Cacti/cacti/issues/243 ) that this issue had been brought up and closed in the 1.0.0 version. I can ping and telnet to our mail server on port 25 and I have tried using an email account on that exchange server as well and I still get this ping error. The older Cacti server is alerting just fine over unauthenticated SMTP. I've even been messing with sendmail a bit for an alternate route but even though I can use sendmail directly from the server to myself (through our exchange server), the application never produces a test email.
--update
This was resolved by letting the HTTPD service to ping and network connect. doh.
setsebool -P httpd_can_network_connect 1
setsebool -P nis_enabled 1
setsebool -P httpd_can_sendmail 1
Regards
Ravi
Send-MailMessage -SmtpServer 10.202.48.52 -To abc@xyz.com -From abc@xyz@cadence.com -Subject "test email" -Body "This is a test email"
Does any specific settings needed for windows machines? I read below post related to cacti installation on CentOS:
Hello,
I just recently (3/22/17) built a new Cacti server on CentOS 7 and have been having some issues with email alerts. Previously I was using SMTP authentication with a blank username and password on the older Cacti Server (0.8.8 ). This still works great, I can send test emails all day with these SMTP settings. If I try to use the exact same settings on the 1.0.4 Cacti instance, I am getting the error: Ping Results: SMTP error: Connect Failed. Message Not Sent due to ping failure". I saw here ( https://github.com/Cacti/cacti/issues/243 ) that this issue had been brought up and closed in the 1.0.0 version. I can ping and telnet to our mail server on port 25 and I have tried using an email account on that exchange server as well and I still get this ping error. The older Cacti server is alerting just fine over unauthenticated SMTP. I've even been messing with sendmail a bit for an alternate route but even though I can use sendmail directly from the server to myself (through our exchange server), the application never produces a test email.
--update
This was resolved by letting the HTTPD service to ping and network connect. doh.
setsebool -P httpd_can_network_connect 1
setsebool -P nis_enabled 1
setsebool -P httpd_can_sendmail 1
Regards
Ravi
Who is online
Users browsing this forum: No registered users and 3 guests