Cacti / plugin_servcheck

GNU General Public License v2.0
1 stars 3 forks source link

deprecated function #15

Open rcsmota opened 3 days ago

rcsmota commented 3 days ago

When configuring a DNS monitoring run, despite the result looking OK, I have received this log.

2024-07-02 11:09:03 - CMDPHP PHP ERROR Backtrace: (/plugins/servcheck/servcheck_process.php[174]:dns_try(), /plugins/servcheck/includes/tests.php[312]:mxlookup->__construct(), /plugins/servcheck/includes/mxlookup.php[42]:CactiErrorHandler()) 2024-07-02 11:09:03 - ERROR PHP DEPRECATED in Plugin 'servcheck': Creation of dynamic property mxlookup::$dns_reply is deprecated in file: /opt/cacti/plugins/servcheck/includes/mxlookup.php on line: 42

image

image

Im running on Debian 12, PHP 8.2, Cacti 1.2.27

Thank you very much in advance

TheWitness commented 2 days ago

@xmacan is likely busy. It's summer and there are gardens to attend to and running. Summertime in Europe.

xmacan commented 2 days ago

yes, I'm busy now. I will fix it in few days. Thank you for reporting

rcsmota commented 2 days ago

Thank you very much.

Enjoy the sun, take care of the gardens. Summer passes quickly. ;)