We've got a Netgate; this is an appliance based on a freebsd OS and pfsense installation.
As the pfsense_snmp template does not have all the items (like number of processes and number of running processes) we like to monitor, we wanted to add the freeBSD template to the host. Then we found out that the The pfsense_snmp template has double definitions to the FreeBSD by Zabbix agent.
As the pfsense application can be installed on different operating systems (Windows, Mac OSX, Linux, FreeBSD), I think the OS items should not be included in the pfsense_snmp app template. This way any user can decide if the host should monitor only the pfsense application, the OS or both. When following this approach, some items should be removed from the pfsense_snmp template. This is done in the attached template_app_pfsense_snmp_withoutOS.yaml.
Another (less flexible) approach would be to include all the OS dependent items in the pfsense_snmp template (this should only be done if the template can deal with all the supported OSes).
Steps to reproduce:
- Create a new host
- Add the pfsense_snmp template to it
- Add the FreeBSD template to it
The FreeBSD template is not being added, due to already defined values.
Either the values of the FreeBSD template should be included in the pfsense_snmp template, or even better the OS related parameters should not be included in the APP template.