Hi guys,
I've got:
:~$ sudo /usr/share/cacti/cli/add_graphs.php --version
Cacti Add Graphs Utility, Version 1.2.21 (DB: 1.2.21), Copyright (C) 2004-2022 The Cacti Group
and installed Thold plugin from here: https://github.com/Cacti/plugin_thold
It works ok, I see 2 active thresholds - pls look at screenshot. Test email from my cacti server was successful:
From: Cacti <al33@yandex.ru>
Sent: Thursday, August 25, 2022 19:53
To: al33@yandex.ru
Subject: Cacti Test Message
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: SMTP
Device: smtp.yandex.ru
Port: 465
Authentication: true
Username: al33
Password: (Not Shown for Security Reasons)
Security: ssl
Ping Results: Success
But this Thold plugin doesn't send email notifications in case of active thresholds for some reason. Anybody faced similar problem?
Thanks!
Thold plugin doesn't send email notifications
Moderators: Developers, Moderators
-
- Posts: 25
- Joined: Thu Aug 25, 2022 2:49 am
Thold plugin doesn't send email notifications
- Attachments
-
- Capture.JPG (51.05 KiB) Viewed 1800 times
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Thold plugin doesn't send email notifications
This has to be some mail configuration option if you are using any of the recent Cacti versions. These issues are separate to Cacti. But, please ensure that you are seeing the thold notifications in the cacti.log file.
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?
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?
-
- Posts: 25
- Joined: Thu Aug 25, 2022 2:49 am
Re: Thold plugin doesn't send email notifications
I can see following in the /usr/share/cacti/site/log/cacti.log file:TheWitness wrote: ↑Wed Aug 31, 2022 10:01 am This has to be some mail configuration option if you are using any of the recent Cacti versions. These issues are separate to Cacti. But, please ensure that you are seeing the thold notifications in the cacti.log file.
08/31/2022 11:50:10 - THOLD WARNING: Device[1] Hostname[185.225.201.58] is recovering!
08/31/2022 11:50:10 - THOLD WARNING: Device[1] Hostname[185.225.201.58] can not send a Device recovering email for 'Netping TSv2' since the 'Alert Email' setting is not set for Device!
08/31/2022 11:50:10 - THOLD WARNING: Device[3] Hostname[185.225.201.58] is recovering!
08/31/2022 11:50:10 - THOLD WARNING: Device[3] Hostname[185.225.201.58] can not send a Device recovering email for 'srx100h2' since the 'Alert Email' setting is not set for Device!
08/31/2022 11:50:10 - THOLD WARNING: Device[4] Hostname[185.225.201.58] is recovering!
08/31/2022 11:50:10 - THOLD WARNING: Device[4] Hostname[185.225.201.58] can not send a Device recovering email for 'ex2200' since the 'Alert Email' setting is not set for Device!
08/31/2022 12:05:10 - SYSTEM WARNING: Primary Admin account does not have an email address! Unable to send administrative Email.
08/31/2022 14:05:21 - SYSTEM WARNING: Primary Admin account does not have an email address! Unable to send administrative Email.
08/31/2022 16:05:04 - SYSTEM WARNING: Primary Admin account does not have an email address! Unable to send administrative Email.
08/31/2022 16:10:09 - SYSTEM WARNING: Primary Admin account does not have an email address! Unable to send administrative Email.
08/31/2022 18:10:10 - SYSTEM WARNING: Primary Admin account does not have an email address! Unable to send administrative Email.
08/31/2022 20:15:09 - SYSTEM WARNING: Primary Admin account does not have an email address! Unable to send administrative Email.
What is the menu location for 'Alert Email' setting?
Thanks.
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Thold plugin doesn't send email notifications
You should setup a notification list and make sure the emails in that notification list are includes for each of the tholds.
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?
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?
-
- Posts: 25
- Joined: Thu Aug 25, 2022 2:49 am
Re: Thold plugin doesn't send email notifications
Thanks! But it's already done. Anyway I get following email messages:TheWitness wrote: ↑Wed Aug 31, 2022 4:59 pm You should setup a notification list and make sure the emails in that notification list are includes for each of the tholds.
Subject: Thold Daemon Not Started
WARNING: You have elected to use the Thold Daemon, but it appears not to be running. Please correct this right away
It's strange, because I can see that Thold plugin is active. How can I check if Thold Daemon is running or not? Maybe it's possible to do via debian CLI command?
- Attachments
-
- Capture.JPG (21.53 KiB) Viewed 1762 times
Re: Thold plugin doesn't send email notifications
I would not even use the t hold Damon until you have a large enough system to substantiate it.
Before history, there was a paradise, now dust.
-
- Posts: 25
- Joined: Thu Aug 25, 2022 2:49 am
Who is online
Users browsing this forum: No registered users and 6 guests