monitoring-plugins/plugins
Ahmet Oeztuerk d5a5a3de6f add proxy argument and improve dns cache usage
add proxy argument that useing the -x and --proxy argument. add it to
the static curl config struct, command usage and help outputs of the
cli.

parse these argument together with the environment variables like
http_proxy before setting the CURLOPT_PROXY in the curl configuration
option. this is required, as there is no easy way to ascertain/get what
the CURLOPT_PROXY that libcurl will use. by the point it is set by
libcurl, we have no control over it anymore, and need it for the other
steps in the configuration.

if the CURLOPT_PROXY is set, skip the DNS cache population which would
set the CURLOPT_RESOLVE. this is currently not perfect however. if a
proxy is set with socks4 or socks5 scheme, the host should be resolving
the hostname.
2026-02-10 13:15:35 +01:00
..
check_apt.d check_apt: implement new output 2025-09-15 12:40:24 +02:00
check_by_ssh.d check_by_ssh: Implement modern output functionality 2025-11-16 14:36:10 +01:00
check_cluster.d check_cluster: new output functionality 2025-09-17 11:25:13 +02:00
check_curl.d add proxy argument and improve dns cache usage 2026-02-10 13:15:35 +01:00
check_dbi.d check_dbi: more refactoring for coherence and simplification 2025-10-30 23:58:38 +01:00
check_dig.d check_dig: add -E/--require-flags and -X/--forbid-flags (#2165) 2025-11-29 15:24:52 +01:00
check_disk.d Run clang-format again 2025-09-15 12:59:37 +02:00
check_dns.d Refactor check_dns 2025-03-09 12:04:40 +01:00
check_fping.d Run clang-format again 2025-09-15 12:59:37 +02:00
check_game.d Refactor check_game 2025-03-07 15:58:30 +01:00
check_hpjd.d Refactor check_hpjd 2025-03-11 11:07:26 +01:00
check_ide_smart.d Refactor check_ide_smart 2025-03-17 13:52:40 +01:00
check_ldap.d check_ldap: implement output format selection 2025-11-25 12:42:50 +01:00
check_load.d check_load some number type fixes 2025-07-06 22:46:41 +02:00
check_mrtg.d check_mrtg: implement modern output 2025-11-26 14:35:21 +01:00
check_mrtgtraf.d check_mrtgtraf: modern output implementation 2025-11-27 07:35:29 +01:00
check_mysql.d Add output formatting option where they were forgotten 2025-11-26 13:57:12 +01:00
check_mysql_query.d Add output formatting option where they were forgotten 2025-11-26 13:57:12 +01:00
check_nagios.d Refactor check_nagios 2025-03-11 16:18:03 +01:00
check_ntp_peer.d check_ntp_peer: add cli param to set output format 2025-11-05 12:04:30 +01:00
check_ntp_time.d check_ntp_time: add cli option for output format 2025-11-05 12:19:20 +01:00
check_pgsql.d check_pgsql: implement cli params for output format 2025-11-05 14:01:17 +01:00
check_ping.d Refactor check_ping 2025-03-12 13:03:17 +01:00
check_procs.d Fix initialisers for old compilers 2025-03-12 15:50:50 +01:00
check_radius.d check_radius: Implement modern output 2025-12-05 13:15:55 +01:00
check_real.d check_real: implement modern output 2025-12-05 12:28:26 +01:00
check_smtp.d check_smtp: certificate check is no longer opt-in 2025-11-09 11:46:36 +01:00
check_snmp.d Fix some minor compiler warnings 2026-01-09 13:05:25 +01:00
check_ssh.d check_ssh: Move default SSH constant around a bit 2025-03-07 23:38:50 +01:00
check_swap.d check_swap: Fix Build At Least For OpenBSD 2025-09-16 00:19:04 +02:00
check_tcp.d small fixes to check_tcp config 2025-03-13 13:00:05 +01:00
check_time.d Refactor check_time 2025-03-12 18:14:54 +01:00
check_ups.d Run clang-format again 2025-09-15 12:59:37 +02:00
check_users.d fixes check_users build on OpenBSD (without utmpx) 2025-09-26 12:51:42 +01:00
negate.d Refactor negate 2025-03-12 21:22:50 +01:00
picohttpparser Run clang-format again 2025-09-15 12:59:37 +02:00
t check_disk: compare inode thresholds against the correct value (#2223) 2026-01-16 12:16:45 +01:00
tests check_curl redirection test improvements 2025-12-12 11:29:35 +01:00
check_apt.c fix default check state 2025-09-16 14:11:29 +02:00
check_by_ssh.c lib/utils_cmd: Rename stdout, stderr in cmd_run_result 2025-12-11 21:05:49 +01:00
check_cluster.c check_cluster: new output functionality 2025-09-17 11:25:13 +02:00
check_curl.c add proxy argument and improve dns cache usage 2026-02-10 13:15:35 +01:00
check_dbi.c Add output formatting option where they were forgotten 2025-11-26 13:57:12 +01:00
check_dig.c check_dig: add -E/--require-flags and -X/--forbid-flags (#2165) 2025-11-29 15:24:52 +01:00
check_disk.c check_disk: compare inode thresholds against the correct value (#2223) 2026-01-16 12:16:45 +01:00
check_dns.c Run clang-format again 2025-09-15 12:59:37 +02:00
check_dummy.c Run clang-format again 2025-09-15 12:59:37 +02:00
check_fping.c Run clang-format again 2025-09-15 12:59:37 +02:00
check_game.c Run clang-format again 2025-09-15 12:59:37 +02:00
check_hpjd.c Run clang-format again 2025-09-15 12:59:37 +02:00
check_http.c Make IPv6 unconditional (#2219) 2026-02-06 12:59:58 +01:00
check_ide_smart.c check_ide_smart: small improvements in readability 2025-03-17 17:31:15 +01:00
check_ldap.c Make IPv6 unconditional (#2219) 2026-02-06 12:59:58 +01:00
check_load.c More refactoring 2025-09-15 15:49:26 +02:00
check_mrtg.c check_mrtg: implement modern output 2025-11-26 14:35:21 +01:00
check_mrtgtraf.c check_mrtgtraf: modern output implementation 2025-11-27 07:35:29 +01:00
check_mysql.c Look for either replica or slave in replica status 2025-11-27 12:55:26 +01:00
check_mysql_query.c Add output formatting option where they were forgotten 2025-11-26 13:57:12 +01:00
check_nagios.c Refactor check_nagios 2025-03-11 16:18:03 +01:00
check_ntp_peer.c Make IPv6 unconditional (#2219) 2026-02-06 12:59:58 +01:00
check_ntp_time.c Make IPv6 unconditional (#2219) 2026-02-06 12:59:58 +01:00
check_pgsql.c fix typos 2025-11-05 14:01:31 +01:00
check_ping.c Make IPv6 unconditional (#2219) 2026-02-06 12:59:58 +01:00
check_procs.c Run clang-format again 2025-09-15 12:59:37 +02:00
check_radius.c Fix typo 2025-12-05 13:19:24 +01:00
check_real.c check_real: implement modern output 2025-12-05 12:28:26 +01:00
check_smtp.c Make IPv6 unconditional (#2219) 2026-02-06 12:59:58 +01:00
check_snmp.c check_snmp: remove useless headers 2025-09-26 18:14:44 +02:00
check_ssh.c Make IPv6 unconditional (#2219) 2026-02-06 12:59:58 +01:00
check_swap.c Run clang-format again 2025-09-15 12:59:37 +02:00
check_tcp.c Make IPv6 unconditional (#2219) 2026-02-06 12:59:58 +01:00
check_time.c check_real: implement modern output 2025-12-05 12:28:26 +01:00
check_ups.c Run clang-format again 2025-09-15 12:59:37 +02:00
check_users.c fixes check_users build on OpenBSD (without utmpx) 2025-09-26 12:51:42 +01:00
common.h Run clang-format again 2025-09-15 12:59:37 +02:00
Makefile.am Merge branch 'master' into refactor/check_ide_smart 2026-01-09 14:57:57 +01:00
negate.c Run clang-format again 2025-09-15 12:59:37 +02:00
netutils.c Make IPv6 unconditional (#2219) 2026-02-06 12:59:58 +01:00
netutils.h Make IPv6 unconditional (#2219) 2026-02-06 12:59:58 +01:00
popen.c Run clang-format again 2025-09-15 12:59:37 +02:00
popen.h Run clang-format again 2025-09-15 12:59:37 +02:00
runcmd.c Implement replacement functions for executing commands 2025-11-16 14:26:41 +01:00
runcmd.h Run clang-format again 2025-09-15 12:59:37 +02:00
sslutils.c Fix initialisation on old compilers 2025-11-08 00:59:46 +01:00
urlize.c Run clang-format again 2025-09-15 12:59:37 +02:00
utils.c check_real: implement modern output 2025-12-05 12:28:26 +01:00
utils.h check_real: implement modern output 2025-12-05 12:28:26 +01:00