Hey !Well it does DNS and DHCP (look at the attachment).For other services, you can develop small scripts and use them in Zabbix to monitor your services.You already saw my other thread but I'll link it for other people : https://forum.opnsense.org/index.php?topic=33481.msg182023#msg182023.I will work a bit on improving the supervision and if I'm successful I'll drop a tutorial since it seems to be inexistent...
Hello all,I would like to monitor my OPNsense firewalls from an external tool. I was trying out Zabbix but it does not seem to support services like DNS, DHCP, and other daemons. Has anyone used an external monitoring solution to handle the full monitoring of the whole firewall?Thanks,Steve
Quote from: spetrillo on November 25, 2023, 02:50:13 amHello all,I would like to monitor my OPNsense firewalls from an external tool. I was trying out Zabbix but it does not seem to support services like DNS, DHCP, and other daemons. Has anyone used an external monitoring solution to handle the full monitoring of the whole firewall?Thanks,SteveOPNsense is FreeBSD, there is a zabbix client for freeBSD. It's not available as a package from the GUI but I don't see why you could not configure the repo in the OS and install it.There are also templates for freeBSD, it will give you all the OS monitoring. This should be what you are looking for mostly.
OPNsense is FreeBSD, there is a zabbix client for freeBSD. It's not available as a package from the GUI [...]
Quote from: cliffwilliams44 on December 06, 2023, 01:54:32 amQuote from: spetrillo on November 25, 2023, 02:50:13 amHello all,I would like to monitor my OPNsense firewalls from an external tool. I was trying out Zabbix but it does not seem to support services like DNS, DHCP, and other daemons. Has anyone used an external monitoring solution to handle the full monitoring of the whole firewall?Thanks,SteveOPNsense is FreeBSD, there is a zabbix client for freeBSD. It's not available as a package from the GUI but I don't see why you could not configure the repo in the OS and install it.There are also templates for freeBSD, it will give you all the OS monitoring. This should be what you are looking for mostly.The standard Zabbix template for FreeBSD treats OPNsense as a server and reports on things like CPU usage, memory usage, and storage usage. It does not treat OPNsense from an application platform perspective, so there is nothing around DNS services, DHCP services, IDS/IPS services, and other services that can be run on OPNsense. The SNMP template that I found: https://www.zabbix.com/integrations/opnsense#opnsense_snmp, has some of this support but its not done in a standard way. It does not utilize the SNMP daemon plug-in that OPNsense supports, but uses the older SNMPD process. I would love to see OPNsense treated as an application platform. I am looking into writing my own template but that will be a longer term prospect. If I missed a template that does this please let me know.
Quote from: cliffwilliams44 on December 06, 2023, 01:54:32 amOPNsense is FreeBSD, there is a zabbix client for freeBSD. It's not available as a package from the GUI [...]os-zabbix-agent, os-zabbix6-agent, and os-zabbix64-agent are all available right in System > Firmware > Plugins.
Thanks, I was looking under the packages.
Quote from: spetrillo on December 06, 2023, 02:50:01 amQuote from: cliffwilliams44 on December 06, 2023, 01:54:32 amQuote from: spetrillo on November 25, 2023, 02:50:13 amHello all,I would like to monitor my OPNsense firewalls from an external tool. I was trying out Zabbix but it does not seem to support services like DNS, DHCP, and other daemons. Has anyone used an external monitoring solution to handle the full monitoring of the whole firewall?Thanks,SteveOPNsense is FreeBSD, there is a zabbix client for freeBSD. It's not available as a package from the GUI but I don't see why you could not configure the repo in the OS and install it.There are also templates for freeBSD, it will give you all the OS monitoring. This should be what you are looking for mostly.The standard Zabbix template for FreeBSD treats OPNsense as a server and reports on things like CPU usage, memory usage, and storage usage. It does not treat OPNsense from an application platform perspective, so there is nothing around DNS services, DHCP services, IDS/IPS services, and other services that can be run on OPNsense. The SNMP template that I found: https://www.zabbix.com/integrations/opnsense#opnsense_snmp, has some of this support but its not done in a standard way. It does not utilize the SNMP daemon plug-in that OPNsense supports, but uses the older SNMPD process. I would love to see OPNsense treated as an application platform. I am looking into writing my own template but that will be a longer term prospect. If I missed a template that does this please let me know.There is a template for OpnSense.https://www.zabbix.com/integrations/opnsense
Quote from: cliffwilliams44 on December 06, 2023, 03:44:17 pmThanks, I was looking under the packages.That's just diagnostic information showing the currently installed packages.But more importantly: why does the "official" integration use SNMP instead of zabbix-agent? And then an unsupported manually activated bsnmpd setup that will probably not survive system updates instead of the official OPNsense SNMP plugin?Looks like a half hacked together job to me ...
@spetrillo yes, and the OPNsense template forces an unsupported SNMP service instead of communicating via zabbix agent and collecting the information this way.