OPNsense Forum

Archive => 15.7 Legacy Series => Topic started by: romain on December 11, 2015, 03:49:04 pm

Title: [SOLVED] Zabbix agent 2.4
Post by: romain on December 11, 2015, 03:49:04 pm
Hello there,

I would like to know if there is a best way to install Zabbix Agent 2.4 on my OPNsense firewalls. Today, I will download an agent from the repository and configure it to load automatically (linux 2.6).

Does a package is already available and I can install directly through shell maybe ?

Thank you !
Romain
Title: Zabbix agent 2.4
Post by: Andreas on December 11, 2015, 05:38:04 pm
Hi
You Need the freebsd version for installing it on the same machine like opnsense
Opnsense is based on FreeBSD not Linux
But is it really good to install this on a firewall?


andreas
Title: Re: Zabbix agent 2.4
Post by: romain on December 11, 2015, 05:43:28 pm
I don't see any trouble with it, no ?

I would like to have a centralized place where to find some information and to see quickly if everything is good. I will go on the firewall to check more deeper if needed.

However, the base template for FreeBSD is using the zabbix agent. That's why I try to install it correctly.
Title: Re: Zabbix agent 2.4
Post by: franco on December 11, 2015, 09:48:27 pm
Hi Romain,

The Zabbix Agent version 2.4.7 will be available with 15.7.23. Let me know if you need the package up front.


Cheers,
Franco
Title: Re: Zabbix agent 2.4
Post by: romain on December 11, 2015, 09:51:14 pm
So cool!

When it will be available :-)?

Let me know if you want me to test it somehow.
Title: Re: [SOLVED] Zabbix agent 2.4
Post by: franco on December 11, 2015, 09:54:24 pm
Well, if you ask that way... you'll need the amd64 version, right? I can send it via mail, just let me know if that's the right architecture.
Title: Re: [SOLVED] Zabbix agent 2.4
Post by: Andreas on December 11, 2015, 10:08:55 pm
Sorry didn't mentioned you are installing the agent
Thought you tried to install the  Zabbix Server on the firewall


andreas
Title: Re: [SOLVED] Zabbix agent 2.4
Post by: romain on December 11, 2015, 10:20:53 pm
franco yes i'm on an amd64. Thank you !

andreas no problem :-)
Title: Re: [SOLVED] Zabbix agent 2.4
Post by: franco on December 11, 2015, 10:29:07 pm
# pkg add -f https://pkg.opnsense.org/snapshots/zabbix24-agent-2.4.7.txz

Done. :)
Title: Re: [SOLVED] Zabbix agent 2.4
Post by: romain on December 12, 2015, 08:20:55 am
Thank you. It works like a charm.

For others, here what I've done :

Code: [Select]
pkg add -f https://pkg.opnsense.org/snapshots/zabbix24-agent-2.4.7.txz
Add my conf under /usr/local/etc/zabbix24/zabbix_agentd.conf
To be started automatically on the boot of the firewall : echo zabbix_agentd_enable=YES >> /etc/rc.conf
/usr/local/etc/rc.d/zabbix_agentd start

Title: Re: [SOLVED] Zabbix agent 2.4
Post by: franco on December 13, 2015, 10:02:40 am
There will probably be a plugin available mid-term to make the necessary configuration from the GUI directly.
Title: Re: [RE-OPENED] Zabbix agent 2.4
Post by: Blackslade on February 10, 2017, 05:47:02 pm
Sorry if bringing this post back up is inappropriate, but a search for "zabbix" only rendered 5 posts, and this was the one that was most relevant to my inquiry.

Is there a means to install zabbix using the OPNsense webgui yet?  It seemed that there would be one forthcoming in 15.7, but as of 17.1 there does not appear to be anything in the the "Packages" or "Plugins," and there are not any references in the documentation.

Any help would be greatly appreciated, and if I should start a clean thread for the discussion, I'll be glad to. 
Title: Re: [SOLVED] Zabbix agent 2.4
Post by: franco on March 02, 2017, 08:33:19 am
Hi Blackslade,

No, nothing we know of. People have worked on different plugins in the past two years, namely Let's Encrypt, HAProxy, FTP-Proxy and from the OPNsense core side we try to stay clear of adding complexity to the core itself.

It's either that Zabbix setup is quite easy without the GUI, or such a special use case that people don't want to find the time to write a plugin. I can relate to both opinions.

I know this doesn't help you a lot, but it may help establish a clearer guideline on what plugins have become, where they are likely to go and how users can contribute if they desire.


Thank you,
Franco
Title: Re: [SOLVED] Zabbix agent 2.4
Post by: fraenki on June 08, 2017, 09:35:39 pm
Starting with OPNsense 17.1.8 (http://"https://forum.opnsense.org/index.php?topic=5278.msg21421") a Zabbix Agent plugin (http://"https://github.com/opnsense/plugins/pull/97#issuecomment-289457730") is available :)


Regards
- Frank