rbicelli / pfsense-zabbix-template

Zabbix Template for pfSense
Apache License 2.0
244 stars 107 forks source link

Gateways shown as down, even tho they're up #41

Closed ThisIsTenou closed 4 years ago

ThisIsTenou commented 4 years ago

Hey there,

All my gateways are being shown as down (status 5), even tho they're fully functional and being shown as online in the GUI.

Tested on two installations of pfsense 2.4.5-p1

Sobe1ac commented 4 years ago

I just recently installed this myself, no issues outside of the learning curve of Zabbix.

ThisIsTenou commented 4 years ago

I have just checked, when manually executing the script (/usr/local/bin/php /root/scripts/pfsense_zbx.php gw_value gatewaynamehere status), it works perfectly and returns 0. When executed manually using the zabbix user, it still returns 0. But somehow, on the way to the zabbix server, this becomes a 5.

ThisIsTenou commented 4 years ago

I removed the Regex-Preprocessing steps from the Item Prototype, it work's fine now.