rbicelli/pfsense-zabbix-template

get_smart_drive_list()

Opened this issue · 5 comments

Dear,

We have updated our netgate firewall to 24.11 sinds then we get the following error.

HP Errors:
[02-Dec-2024 18:22:33 Europe/Amsterdam] PHP Fatal error: Uncaught Error: Call to undefined function get_smart_drive_list() in /root/scripts/pfsense_zbx.php:1151
Stack trace:
#0 /root/scripts/pfsense_zbx.php(1666): pfz_get_smart_status()
#1 {main}
thrown in /root/scripts/pfsense_zbx.php on line 1151
[02-Dec-2024 18:52:33 Europe/Amsterdam] PHP Fatal error: Uncaught Error: Call to undefined function get_smart_drive_list() in /root/scripts/pfsense_zbx.php:1151
Stack trace:
#0 /root/scripts/pfsense_zbx.php(1666): pfz_get_smart_status()
#1 {main}
thrown in /root/scripts/pfsense_zbx.php on line 1151
[02-Dec-2024 19:22:32 Europe/Amsterdam] PHP Fatal error: Uncaught Error: Call to undefined function get_smart_drive_list() in /root/scripts/pfsense_zbx.php:1151
Stack trace:
#0 /root/scripts/pfsense_zbx.php(1666): pfz_get_smart_status()
#1 {main}

Would it be possible if you can take a look at it?

Regards,
Stephan de Bot

Hello,
I don't have access to netgate appliances, so I can't debug this issue.
As workaround you can disable items related to SMART:
image

It's not just smart issue. There is more going on. See attached log from Netgate 4200.
PHP_errors.log

@rbicelli Will you make some change on script for this case?