rbicelli / pfsense-zabbix-template

Zabbix Template for pfSense
Apache License 2.0
246 stars 108 forks source link

Latest data not populating #173

Closed marcos-zabbiz-ta closed 2 months ago

marcos-zabbiz-ta commented 6 months ago

Hello!

Thank you for all of these scripts. My issue is that only few data points are showing up.

Agent Script Version DHCP Failover Pool Problems Expected CARP Status SMART Status

Everything else is NOT populating. I verify the PHP on the firewall and everything is there.

Thank you for your help.

Zabbix 6.0.1

23.05.1-RELEASE (arm) built on Wed Jun 28 03:58:46 UTC 2023 FreeBSD 14.0-CURRENT

A

GuillaumeHullin commented 6 months ago

What error are you getting in your Latest Data with Show details enabled?

antun3s commented 6 months ago

I am having this problem on two of my pfSense firewalls. I haven't been able to identify the cause yet.

Can you please run this command to check if the problem is the same: /usr/local/bin/php /root/scripts/pfsense_zbx.php dhcp failover

My result is: Captura de tela de 2024-05-22 11-10-21

GuillaumeHullin commented 6 months ago

Are you sure you are running the latest pfsense_zbx.php? Testing on my side doesn't return any error.

antun3s commented 6 months ago

It works. Thanks @GuillaumeHullin

marcos-zabbiz-ta commented 6 months ago

I don't get any error.

I verify the PHP version and its PHP 8.2.4 (cli).

I run the command above and I get 0 as the output.

GuillaumeHullin commented 6 months ago

Ok and from Zabbix side, do you see errors in Latest Data?