OPNsense Forum

International Forums => Portuguese - Português => Topic started by: ludarkstar99 on January 13, 2024, 12:41:48 pm

Title: Template Zabbix
Post by: ludarkstar99 on January 13, 2024, 12:41:48 pm
TL;DR
Template Zabbix para monitoramento do OPNsense: https://github.com/CitraIT/zabbix-templates.


Olá pessoal,

Passando para anunciar que construí um template zabbix para monitoramento de itens do OPNsense.

O template é baseado na API do OPNSense e não tem nenhuma dependência.

Long live to opensource 🌌

backlog
2024-03-10: repositório novo sem herdar código legado do rbicelli.
Title: Re: Template Zabbix
Post by: ludarkstar99 on February 15, 2024, 03:06:47 pm
2024-02-15: Template atualizado e implementado o monitoramento via API do OPNSense.
Title: Re: Template Zabbix
Post by: burghy on February 24, 2024, 11:50:27 am
great job. monitoring ipsec?
Your approach doesn't seem bad to me

i test your template, for ipsec i have modify status because, 0 is disconnect and 1 is connect.

the tunnel phase 2 is corret data, but the tunnel status i have no data.



there is another user who is developing the template agent for zabbix.  you could join forces!

https://github.com/dblanque/opnsense-zabbix/tree/main
Title: Re: Template Zabbix
Post by: ludarkstar99 on March 10, 2024, 07:59:33 pm
Hi burghy, sorry for the delay.
I could not reproduce the problem, using ipsec instances or "old tunnel config".
In both configuration types i had the correct tunnel data (0 for tunnel connected), and 1 for disconnect.

Attach 1: data received for the item.
Attach 2: item data for fase2 disconnect.
Attach 3: after the tunnel gets offline the triggers screams.

Title: Re: Template Zabbix
Post by: ludarkstar99 on March 10, 2024, 08:05:07 pm
Regarding P1 not receiving any data, after i disconnect the tunnel that's expected behavior: P1 no data, P2 triggers a disconnection.
After reconnecting the tunnel, P1 starts receiving data again, and P2 shows connected (again).
Title: Re: Template Zabbix
Post by: burghy on March 14, 2024, 12:05:19 pm
i have create a issue on github. thanks you so much
Title: Re: Template Zabbix
Post by: juliocbc on March 15, 2024, 11:26:11 am
Hey Guys! Nice to see that things are going well on this topic, but I want to ask you a favor: move this thread to the general forum (English). This session is dedicated to Portuguese language discussions.

Thanks!