Erro PFSense using IPSec and Zabbix [RESOLVIDO]

1. Erro PFSense using IPSec and Zabbix [RESOLVIDO]

Junior Santos
jrjuniorsa

(usa FreeBSD)

Enviado em 07/07/2022 - 16:06h


Hi,

I've some pfSense version 2.6.0 installed.

I try to install Zabbix versions, agent4, agent5, agent54 e agent6, but when I activated the service a lot of error occour. Erros on log:

"
#0 /root/scripts/pfsense_zbx.php(580): pfz_ipsec_status('1')
#1 /root/scripts/pfsense_zbx.php(1274): pfz_ipsec_ph1('1', 'status')
#2 {main}
thrown in /root/scripts/pfsense_zbx.php on line 668
[01-Jul-2022 14:34:22 America/Sao_Paulo] PHP Fatal error: Uncaught Error: Call to undefined function get_ipsecifnum() in /root/scripts/pfsense_zbx.php:668
Stack trace:
#0 /root/scripts/pfsense_zbx.php(580): pfz_ipsec_status('1')
#1 /root/scripts/pfsense_zbx.php(1274): pfz_ipsec_ph1('1', 'status')
#2 {main}
thrown in /root/scripts/pfsense_zbx.php on line 668
[01-Jul-2022 14:45:22 America/Sao_Paulo] PHP Fatal error: Uncaught Error: Call to undefined function get_ipsecifnum() in /root/scripts/pfsense_zbx.php:668
Stack trace:
#0 /root/scripts/pfsense_zbx.php(580): pfz_ipsec_status('1')
#1 /root/scripts/pfsense_zbx.php(1274): pfz_ipsec_ph1('1', 'status')
#2 {main}
thrown in /root/scripts/pfsense_zbx.php on line 668
[01-Jul-2022 14:46:22 America/Sao_Paulo] PHP Fatal error: Uncaught Error: Call to undefined function get_ipsecifnum() in /root/scripts/pfsense_zbx.php:668
Stack trace:
#0 /root/scripts/pfsense_zbx.php(580): pfz_ipsec_status('1')
#1 /root/scripts/pfsense_zbx.php(1274): pfz_ipsec_ph1('1', 'status')
#2 {main}
thrown in /root/scripts/pfsense_zbx.php on line 668
[01-Jul-2022 14:57:22 America/Sao_Paulo] PHP Fatal error: Uncaught Error: Call to undefined function get_ipsecifnum() in /root/scripts/pfsense_zbx.php:668
Stack trace:
#0 /root/scripts/pfsense_zbx.php(580): pfz_ipsec_status('1')
#1 /root/scripts/pfsense_zbx.php(1274): pfz_ipsec_ph1('1', 'status')
#2 {main}
thrown in /root/scripts/pfsense_zbx.php on line 668
"

I try to change the version on Zabbix, but not have sucess. So now I using the pfsense 2.6.0 and Zabbix Agent6.

The error occurs only on PFSenses that using IPSec.

Can help please?

Thanks!


  


2. Re: Erro PFSense using IPSec and Zabbix [RESOLVIDO]

Junior Santos
jrjuniorsa

(usa FreeBSD)

Enviado em 22/07/2022 - 08:41h


Olá,
Este link resolveu meu problema: https://github.com/rbicelli/pfsense-zabbix-template/pull/118



3. Re: Erro PFSense using IPSec and Zabbix [RESOLVIDO]

Junior Santos
jrjuniorsa

(usa FreeBSD)

Enviado em 22/07/2022 - 08:43h



Esse lnk resolveu o problema: https://github.com/rbicelli/pfsense-zabbix-template/pull/118






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts