pfSense-pkg-zabbix-agent5-1.0.4_7.txz may be broken
-
Forgot to mention, all pfsense boxes are running v2.5.2
-
I think I'm on the right track.. Performed a php lint on the file before and after changing
($zabbixconf['tlscertfile'] != 'none') {
to($zabbixconf['tlscertfile'] != 'none')) {
on line 357.Before
Parse error: syntax error, unexpected ';' in /usr/local/pkg/zabbix-proxy.inc on line 358 Errors parsing /usr/local/pkg/zabbix-proxy.inc
After
php -l /usr/local/pkg/zabbix-proxy.inc No syntax errors detected in /usr/local/pkg/zabbix-proxy.inc
However, it hasn't made Zabbix Proxy appear in the Services menu
-
Did some googling to find how to report problems to pfsense and found the bug tracker at redmine.pfsense.org. This issue with Zabbix has been reported 9 hours ago by DRago_Angel [InV@DER] and a fix has been implemented.
https://redmine.pfsense.org/issues/12128
Sorry for the noise!
-
agent/proxy update coming soon
for now you can manually add a closing parenthesis to the corresponding files,
see https://github.com/pfsense/FreeBSD-ports/commit/6eb71b010f8a0d25f989561785ad799fac6ff04f#r53504426
and
https://github.com/pfsense/FreeBSD-ports/commit/6eb71b010f8a0d25f989561785ad799fac6ff04f#r53504350 -
@viktor_g
FWIW, looks like zabbix4-agent-4.0.30 suffers same issue. -
@viktor_g said in pfSense-pkg-zabbix-agent5-1.0.4_7.txz may be broken:
agent/proxy update coming soon
for now you can manually add a closing parenthesis to the corresponding files,
see https://github.com/pfsense/FreeBSD-ports/commit/6eb71b010f8a0d25f989561785ad799fac6ff04f#r53504426
and
https://github.com/pfsense/FreeBSD-ports/commit/6eb71b010f8a0d25f989561785ad799fac6ff04f#r53504350@viktor_g I added the missing closing parenthesis.. it stopped the crash notifications but didn't make zabbix-proxy or zabbix-agent appear in the Services me though. Is there anything else I needed to do?
-
@steve-scotter said in pfSense-pkg-zabbix-agent5-1.0.4_7.txz may be broken:
@viktor_g said in pfSense-pkg-zabbix-agent5-1.0.4_7.txz may be broken:
agent/proxy update coming soon
for now you can manually add a closing parenthesis to the corresponding files,
see https://github.com/pfsense/FreeBSD-ports/commit/6eb71b010f8a0d25f989561785ad799fac6ff04f#r53504426
and
https://github.com/pfsense/FreeBSD-ports/commit/6eb71b010f8a0d25f989561785ad799fac6ff04f#r53504350@viktor_g I added the missing closing parenthesis.. it stopped the crash notifications but didn't make zabbix-proxy or zabbix-agent appear in the Services me though. Is there anything else I needed to do?
FWIW, I added the paren and rebooted. Though it doesn't show in Services, it is logging data now (4.x).
-
Please update to the latest Zabbix agent/proxy version
-
@viktor_g
zabbix-agent5 1.0.4_9
andzabbix-proxy5 1.0.4_8
now installed and working perfectly.Thanks!
-
@viktor_g
v 4.x fixed.