Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat May 25, 2019 8:12 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: MAILER WARNING: Mail failed from...
PostPosted: Tue Apr 23, 2019 3:44 pm 
Offline
Cacti User
User avatar

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 237
Location: Long Island, New York, USA
Attachment:
alert.png
alert.png [ 2.55 KiB | Viewed 55 times ]


Hover over the small green ? and read. I believe you need to add email addresses here.

_________________
See the Cacti 1.x templates I use at: http://www.camerabob.com/cacti

Live: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.e17
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Test: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.45-17.e17.remi
Maint @ 1.2
Monitor @ 2.3.4
Thold @ 1.0.4


Top
 Profile  
 
 Post subject: Re: MAILER WARNING: Mail failed from...
PostPosted: Wed Apr 24, 2019 5:23 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2474
I believe that Camera Bob is right. You don't have an email addresses defined against the threshold (and i'm assuming that this isn't a templated threshold). Whilst you do have the administrative email defined for core problems, that isn't used by Threshold and you don't have any lists associated as you'd already mentioned so there are no email address to use. If you feel that using the administrative email address as a back up should be used by Threshold, I'd suggest opening an Enhancement Request for it on GitHub were TheWitness has been making quite a few changes recently.

https://github.com/Cacti/plugin_thold/i ... .md&title=

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: MAILER WARNING: Mail failed from...
PostPosted: Wed Apr 24, 2019 12:51 pm 
Offline

Joined: Sun Apr 21, 2019 12:15 pm
Posts: 7
netniV wrote:
I believe that Camera Bob is right. You don't have an email addresses defined against the threshold (and i'm assuming that this isn't a templated threshold). Whilst you do have the administrative email defined for core problems, that isn't used by Threshold and you don't have any lists associated as you'd already mentioned so there are no email address to use. If you feel that using the administrative email address as a back up should be used by Threshold, I'd suggest opening an Enhancement Request for it on GitHub were TheWitness has been making quite a few changes recently.

https://github.com/Cacti/plugin_thold/issues/new?assignees=&labels=&template=feature_request.md&title=


No, If what you are telling is like that, there is no sense to have the Notification List field in the threhold template. If you see, I have a notification list added in the warning and in the alert. However this is just an example, I played around with different choices, I've put previoulsly just a single email, later on I added the option to notify the admin user and last one was the notification list and with all of them is exactly the same error, so I don't know if is something related with PHP or related with the integration between thold plugin and cacti of if is a problem of cacti itself. As I told you previously I've been using cacti since long long time ago and I've never faced this issue before.


Top
 Profile  
 
 Post subject: Re: MAILER WARNING: Mail failed from...
PostPosted: Wed Apr 24, 2019 5:18 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2474
Sorry, I mistook the entries against notification lists as being unset, not that the list name was that. What do you have in the notification list then? And what version of Thold are you using?

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: MAILER WARNING: Mail failed from...
PostPosted: Fri Apr 26, 2019 8:20 am 
Offline

Joined: Sun Apr 21, 2019 12:15 pm
Posts: 7
netniV wrote:
Sorry, I mistook the entries against notification lists as being unset, not that the list name was that. What do you have in the notification list then? And what version of Thold are you using?


No worries, actually thank you for trying to help me. My thold version is tha last one 1.24 and in the notification list is just my email address.


Top
 Profile  
 
 Post subject: Re: MAILER WARNING: Mail failed from...
PostPosted: Sun Apr 28, 2019 12:26 pm 
Offline

Joined: Sun Apr 21, 2019 12:15 pm
Posts: 7
Well.. I'm gonna close this topic because I found the problem. The PHP version. I installed a fresh cacti copy with PHP7.0 instead of 7.3 and now the notifications are sent properly.

Cheers


Top
 Profile  
 
 Post subject: Re: MAILER WARNING: Mail failed from...
PostPosted: Sun Apr 28, 2019 1:32 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2474
ugh, I've literally just seen the PHP 7.3 email testing bug but it didn't occur to me that it could apply to this as well.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group