Zabbix Agent

Started by jorgevisentini, August 11, 2017, 10:12:45 PM

Previous topic - Next topic
Hi everybody!

I did install the Zabbix Agent and its worked, but the outgoing interface (net.if.out) dont return the values, only number zero.

Interesting that the ingoing interface (net.if.in) work...

hazabbix01:~ # zabbix-get -s 10.200.16.1 -p 10050 -k net.if.in[xn0]
6885748617
hazabbix01:~ # zabbix-get -s 10.200.16.1 -p 10050 -k net.if.out[xn0]
0
hazabbix01:~ #

I did install 2.4.7, 2.4.8 and 3.2.6 and both dont worked both OPNSense 16 and 17 version.
Also i did try install in OPNSense 17 and 16 version and in 16 version it worked with 2.4.7 Zabbix Agent.

I just installed version 3.4 of the Zabbix agent and it also did not work.

Is someone going through it or is it just me?


August 30, 2017, 12:11:34 PM #3 Last Edit: August 30, 2017, 04:16:53 PM by fraenki
There's an official Zabbix Agent plugin available from System -> Firmware -> Plugins.
After installation it can be configured at Services -> Zabbix Agent.

And it properly returns these values for me:

root@opnsense:~ # zabbix_get -s XXX -p 10050 -k "net.if.out[vtnet0]"
806723163
root@opnsense:~ # zabbix_get -s XXX -p 10050 -k "net.if.in[vtnet0]"
560202996



Regards
- Frank

In the case of the plugin for OPNSense, I enter IP 10.200.0.254 but it is not recognized as valid IP. This occurs in the "Listen IPs" option and the "Zabbix Servers" option. So I configured without using the Plugin.


I will try the method of bobbythomas

Quote from: jorgevisentini on August 31, 2017, 07:45:40 PM
In the case of the plugin for OPNSense, I enter IP 10.200.0.254 but it is not recognized as valid IP. This occurs in the "Listen IPs" option and the "Zabbix Servers" option. So I configured without using the Plugin.

You're talking about a bug that was fixed long ago.
Which version of OPNsense are you using?


Regards
- Frank

Sorry, I use OPNsense 17.1.7-amd64 yet. I have no time for update for now...

But I plan to upgrade as soon as possible.

Hi,

How can I update only this zabbix package?

Thank you!

It's risky but you can try to install the pkg for 17.7 on 17.1. I would not recommend that.

I would not recommend trying to stretch this older install. Either update all or wait for now.


Cheers,
Franco