Cacti / plugin_monitor

Monitor Plugin for Cacti
GNU General Public License v2.0
36 stars 39 forks source link

Monitor plugin error message in cacti log #157

Closed WirthmU closed 1 year ago

WirthmU commented 1 year ago

Describe the bug Error message about monitor plugin in Cacti log

To Reproduce

23-02-2023 09:49:25 - CMDPHP PHP ERROR Backtrace: (/plugins/monitor/poller_monitor.php[87]:monitor_uptime_checker(), /plugins/monitor/poller_monitor.php[175]:explode(), CactiErrorHandler())
23-02-2023 09:49:25 - ERROR PHP DEPRECATED in Plugin 'monitor': explode(): Passing null to parameter #2 ($string) of type string is deprecated in file: /usr/share/cacti/site/plugins/monitor/poller_monitor.php on line: 175 

Expected behavior No complaints about monitor plugin in the Cacti error log

Plugin (please complete the following information):

Desktop (please complete the following information):