openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.94k stars 3.45k forks source link

Add LIBCurl support to zabbix-agentd #15419

Open diasdmhub opened 3 years ago

diasdmhub commented 3 years ago

Zabbix Agent was not compiled with LIBCurl support.

# zabbix_agentd -t net.tcp.service[https]
net.tcp.service[https]                        [m|ZBX_NOTSUPPORTED] [Support for HTTPS check was not compiled in.]

According to Zabbix documentation "net.tcp.service" checks, this key "uses (and only works with) libcurl".

Please, add LIBCurl support to zabbix-agentd to allow it to perform "net.tcp.service" and "net.tcp.service.perf" monitoring of host HTTPS service.

fidelix commented 3 months ago

Honestly without this the proxy becomes basically useless. The proxy as it is has no snmp support either, so it can't do much.

diasdmhub commented 3 months ago

The agent is supposed to be installed on endpoint devices, such as routers, that may have Web interfaces that allow localhost monitoring. If the interface uses SSL, LIBCurl support is required for the agent to monitor it. A proxy wouldn't be necessary in such cases, and it's not recommended for devices with limited resources.

The Proxy also requires LIBCurl for remote monitoring web scenarios.

fidelix commented 3 months ago

@diasdmhub the proxy is barely useful without libcurl.

Using a proxy is the best way to have a centralized zabbix instance monitor devices in different networks. Currently the openwrt package for the proxy has no support for snmp nor ipmi nor curl.

The proxy in passive mode is very lightweight, especially now in zabbix 7 because it can run in-memory (to avoid writes to disk) or with sqlite3.

diasdmhub commented 3 months ago

I see. Let's hope Zabbix packages are updated soon.