-
-
Notifications
You must be signed in to change notification settings - Fork 427
Description
To Reproduce
Steps to reproduce the behavior:
- Create multiple threshold and trigger them to sendmail to user
- After trigger, check mail, only receive one mail.
- Check Log, error exist and garbled log exist
2020/03/27 04:45:03 - CMDPHP MAILER ERROR Backtrace: (/poller.php[801]:api_plugin_hook(), /lib/plugins.php[74]:api_plugin_run_plugin_hook(), /lib/plugins.php[177]:thold_poller_bottom(), /plugins/thold/includes/polling.php[45]:thold_check_all_thresholds(), /plugins/thold/includes/polling.php[474]:thold_check_threshold(), /plugins/thold/thold_functions.php[2920]:thold_mail(), /plugins/thold/thold_functions.php[5388]:mailer(), /lib/functions.php[3535]:record_mailer_error(), /lib/functions.php[3733]:cacti_debug_backtrace())
2020/03/27 04:45:03 - CMDPHP MAILER ERROR:
2020/03/27 04:45:03 - CMDPHP MAILER ERROR Backtrace: (/poller.php[801]:api_plugin_hook(), /lib/plugins.php[74]:api_plugin_run_plugin_hook(), /lib/plugins.php[177]:thold_poller_bottom(), /plugins/thold/includes/polling.php[45]:thold_check_all_thresholds(), /plugins/thold/includes/polling.php[474]:thold_check_threshold(), /plugins/thold/thold_functions.php[2334]:thold_mail(), /plugins/thold/thold_functions.php[5388]:mailer(), /lib/functions.php[3535]:record_mailer_error(), /lib/functions.php[3733]:cacti_debug_backtrace())
2020/03/27 04:45:03 - CMDPHP MAILER ERROR:
At present, the main body of attachment specified by the mailer function provided by cacti core is PNG itself, but the third-party library phpmailer only supports the local file path. It recognizes the PNG content as a path and directly reports an error
Desktop (please complete the following information):
rhel8.2 x64
cacti 1.2.10
thold 1.3.4
FF 74
