zabbix how to help

Started by Magician1981, June 30, 2023, 07:08:19 PM

Previous topic - Next topic
Hello,

Can someone please write a how to configure zabbix as I am unable to get it working with the (outdated) tutorials on the web.

Thank you.

July 01, 2023, 02:28:10 PM #1 Last Edit: July 01, 2023, 02:35:20 PM by phoenix
How about some details of the a) Tutorials you've followed and b) the problems you encountered and why id didn't work?

BTW, did you read the "how to" on the Zabbix site?
Regards


Bill

Thank you for your reply. My post was intended as a general question for someone who has recently installed this. The following tutorials where used for setting up zabbix on my opnsense machine:

https://techexpert.tips/zabbix/zabbix-monitoring-opnsense-agent/
https://www.youtube.com/watch?v=wcxvphRYbnU (discarding the docker part)

The problem is that I cannot access the zabbix webgui by any means. I have looked at the zabbix website but what's written there differs from other sources of information. My guess is that different agent versions have different configuration steps?? There are multiple versions in the package manager..

Any shared experiences on how to set it up would be appreciated.

When you install the zabbix-agent plugin in opnsense there is no gui.
Depending on the configuration the zabbix-server is polling monitoring data from your opnsense.
i want all services to run with wirespeed and therefore run this dedicated hardware configuration:

AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance

private user, no business use

Others have it. Have a look at the youtube link that I've posted. Would be nice if we could see what we are monitoring.

Regards

Zabbix agents of all versions have similar configuration and Zabbix even states you can use different version agents with the server...though you may not have full access to the newer features.  The Zabbix gui i provided by the server component, not the agent.  If you mean you can't see the configuration screen in OPNsense after you add it, refresh your browser page and it will appear under Services...from there you can add your configuration.
HP T730/AMD  RX-427BB/8GB/500GB SSD
HP NC365T 4-PORT

July 02, 2023, 03:11:58 PM #6 Last Edit: July 02, 2023, 03:18:20 PM by Magician1981
Maybe I wasn't clear enough. After install of agent and configuration I was unable to navigate to the webgui of zabbix in the same way as the youtube tutorial shows.
So I need to install zabbix server next to the agent, but there is no zabbix server plugin in opnsense.. Do I need to run a docker image on a machine on the network ?

There is no server component for opnsense.  Zabbix is a large network monitoring package.  It monitors hosts throughout your network mostly using agents that are compiled for different OS's.  That is what is provided with OPNsense...a host (client) agent so you can monitor your OPNsense server.  The Zabbix server is set up using Linux.  See here:

https://www.zabbix.com/download
HP T730/AMD  RX-427BB/8GB/500GB SSD
HP NC365T 4-PORT

Aha docker it is. That's what missing in the tutorials. Kinda half work. Anyway thank you for the clarification,

As a long term zabbix fan I would suggest that installing zabbix JUST for OPNsense may not be worth the effort.  Monit may be a better alerting solution.  Zabbix is great if you want to monitor a heterogeneous network with a lot of separate devices and get consistent monitoring and alerting.  It's not that the zabbix server is hard to use, exactly, just a a fair amount of work and setup to do for monitoring one device.

If I've misread your intent my apologies.

July 03, 2023, 09:21:14 AM #10 Last Edit: July 03, 2023, 09:30:58 AM by Magician1981
Any input is welcome. I've heard about monit, but it is basic. No graphs and such. There's also a cool project on github:

https://github.com/bsmithio/OPNsense-Dashboard

But it is quite tedious to set up. Maybe I will have a go when I'm feeling up to it. Originally I just wanted some simple monitor tool for basic info that I could easily set up.

Kind regards.