Email Alert not working after upgrade to 0.8.7d

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
r_chetanjain
Cacti User
Posts: 83
Joined: Fri Aug 22, 2003 4:33 am

Email Alert not working after upgrade to 0.8.7d

Post by r_chetanjain »

Hi, I had recently upgraded from 0.8.6h to 0.8.7d... I just imported the data into a new mysql database and upgraded... After the upgrade I am not getting any emails from cacti... when i try to send a test email it says receipent not specified... how ever i had mentioned my email address in the default alerting options...

This is the message when i try to send a test message

----------------------------------------------------------------------------------
Checking Configuration...
Creating Message Text...


This is a test message generated from Cacti. This message was sent to test the configuration of your Mail Settings.

Your email settings are currently set as follows

Method: Sendmail
Sendmail Path: /usr/sbin/sendmail


Sending Message...

ERROR: DirectInject command output: 'Recipient names must be specified ' error: ''
DirectInject command output: 'Recipient names must be specified ' error: ''

---------------------------------------------------------------------------------


Can someone please help me with this....

Chetan Jain.
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Which plugin is this? How did you migrate. It looks all configuration related. You messed up on something.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Re: Email Alert not working after upgrade to 0.8.7d

Post by mcutting »

r_chetanjain wrote:Hi, I had recently upgraded from 0.8.6h to 0.8.7d... I just imported the data into a new mysql database and upgraded... After the upgrade I am not getting any emails from cacti... when i try to send a test email it says receipent not specified... how ever i had mentioned my email address in the default alerting options...

This is the message when i try to send a test message

----------------------------------------------------------------------------------
Checking Configuration...
Creating Message Text...


This is a test message generated from Cacti. This message was sent to test the configuration of your Mail Settings.

Your email settings are currently set as follows

Method: Sendmail
Sendmail Path: /usr/sbin/sendmail


Sending Message...

ERROR: DirectInject command output: 'Recipient names must be specified ' error: ''
DirectInject command output: 'Recipient names must be specified ' error: ''

---------------------------------------------------------------------------------


Can someone please help me with this....

Chetan Jain.
What happens if you choose SMTP mail ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
r_chetanjain
Cacti User
Posts: 83
Joined: Fri Aug 22, 2003 4:33 am

reply

Post by r_chetanjain »

Hi,

What i did was backed up the old mysql data and imported into the new mysql for 0.8.7d... All my functionality is working fine with PA 2.4 and latest plugins... Only thing is alerting seems to having issues... I have tried both php and sendmail options, but it doesn't taking a TO address at all

Chetan Jain.
cigamit
Developer
Posts: 3374
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Sendmail doesn't like Tony's implementation as it requires a -t (I think he used qmail). Use something else until I can get it fixed.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

cigamit wrote:Sendmail doesn't like Tony's implementation as it requires a -t (I think he used qmail). Use something else until I can get it fixed.
Any developments on this ? I'd like to use Sendmail running locally on my Cacti instead of Exchange SMTP..:)

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
cigamit
Developer
Posts: 3374
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

You can always just modify the Settings plugin to add a -t. Or since you are already using Sendmail, just have it listen on port 25 (localhost only) and use SMTP to send to it.
Axilla
Posts: 34
Joined: Wed Jul 21, 2010 11:35 am

Post by Axilla »

any update on this? 0.8.7e still has this problem :(
CentOS 5.5 / Cacti 0.8.7e / Spine 0.8.7e / PIA 2.6
Weathermap .97a / Thold 0.4.2
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests