monitoring-plugins/plugins
Christian Tacke 9da7cd7681 Fix timeout_interval declarations
There are different declarations for timeout_interval:

lib/utils_base.c has the definition:
	unsigned int timeout_interval = DEFAULT_SOCKET_TIMEOUT;
lib/utils_base.h has the appropiate declaration:
	extern unsigned int timeout_interval;

plugins/popen.h has an extra declaration:
	extern unsigned int timeout_interval;
This doesn't hurt, but it's a dupe. The one in utils_base.h
should be enough, so remove this one.

plugins/popen.c has a WRONG one:
	extern int timeout_interval;
Remove it!
Use #include "utils.h" to get the right one.
This makes the local defines for max/min unnecassary, so
remove them also.
2020-01-07 10:22:39 +01:00
..
t travis-ci: Use RSA keys for SSH tests 2019-02-04 14:24:29 +01:00
tests renew test certificates 2019-02-19 16:35:28 +01:00
check_apt.c Adding packages-warning option 2017-09-06 16:54:03 +02:00
check_by_ssh.c check_by_ssh: print command output in verbose mode 2016-09-17 07:45:08 +02:00
check_cluster.c check_cluster.c: Added data argument validation. 2018-11-29 16:37:59 +01:00
check_dbi.c check_by_ssh: fix child process leak on timeouts 2019-02-15 10:36:28 +01:00
check_dig.c plugins: check_dig: Fix spelling 2017-04-21 01:38:39 +02:00
check_disk.c include -P switch in help 2019-04-09 09:49:57 +02:00
check_dns.c check_dns: fix typo in parameter description 2019-02-15 17:31:29 +01:00
check_dummy.c use unknown exit code for help/version in plugins 2015-10-04 19:24:30 +02:00
check_fping.c Spelling fixes suggested by lintian 2016-12-01 12:49:40 +01:00
check_game.c use unknown exit code for help/version in plugins 2015-10-04 19:24:30 +02:00
check_hpjd.c check_hpjd: Added -D option to disable warning on 'out of paper' 2019-01-04 15:01:28 +01:00
check_http.c Also support the --show-body/-B flag when --expect is used 2019-02-12 13:01:23 +01:00
check_ide_smart.c Spelling fixes suggested by lintian 2016-12-01 12:49:40 +01:00
check_ldap.c Spelling fixes suggested by lintian 2016-12-01 12:49:40 +01:00
check_load.c Only turn on ordering procs by CPU usage if PS_USES_PROCPCPU 2017-09-07 22:25:09 +02:00
check_mrtg.c use unknown exit code for help/version in plugins 2015-10-04 19:24:30 +02:00
check_mrtgtraf.c use unknown exit code for help/version in plugins 2015-10-04 19:24:30 +02:00
check_mysql.c check_mysql: Allow sockets to be specified to -H 2019-03-21 13:54:19 +01:00
check_mysql_query.c use unknown exit code for help/version in plugins 2015-10-04 19:24:30 +02:00
check_nagios.c use unknown exit code for help/version in plugins 2015-10-04 19:24:30 +02:00
check_nt.c use unknown exit code for help/version in plugins 2015-10-04 19:24:30 +02:00
check_ntp.c Spelling fixes suggested by lintian 2016-12-01 12:49:40 +01:00
check_ntp_peer.c Spelling fixes suggested by lintian 2016-12-01 12:49:40 +01:00
check_ntp_time.c It's useful to use 'useful' instead of 'usefull' 2016-11-18 11:47:20 +01:00
check_nwstat.c use unknown exit code for help/version in plugins 2015-10-04 19:24:30 +02:00
check_overcr.c use unknown exit code for help/version in plugins 2015-10-04 19:24:30 +02:00
check_pgsql.c check_by_ssh: fix child process leak on timeouts 2019-02-15 10:36:28 +01:00
check_ping.c use unknown exit code for help/version in plugins 2015-10-04 19:24:30 +02:00
check_procs.c improve command examples for 'at least' processes 2019-03-21 14:18:37 +01:00
check_radius.c Spelling fixes suggested by lintian 2016-12-01 12:49:40 +01:00
check_real.c Spelling fixes suggested by lintian 2016-12-01 12:49:40 +01:00
check_smtp.c Simply initializes n before it is used 2019-01-18 22:52:54 +01:00
check_snmp.c Update check_snmp.c 2018-01-19 17:05:46 +01:00
check_ssh.c use unknown exit code for help/version in plugins 2015-10-04 19:24:30 +02:00
check_swap.c repaired "-n" behaviour. If run with "-n ok" a host which ran 2017-05-31 14:15:47 +02:00
check_tcp.c add openssl 1.1 support 2016-11-13 21:14:02 +00:00
check_time.c use unknown exit code for help/version in plugins 2015-10-04 19:24:30 +02:00
check_ups.c Merge branch 'maint' 2015-10-08 12:52:10 +02:00
check_users.c check_users: still allow zero thresholds 2016-11-07 21:49:03 +01:00
common.h check_by_ssh: fix child process leak on timeouts 2019-02-15 10:36:28 +01:00
Makefile.am Revert "Don't let check_disk hang on hanging file systems" 2015-10-12 11:07:02 +02:00
negate.c Output plugin's stderr to stderr 2017-09-04 16:36:19 +02:00
netutils.c check_radius: Replace functions removed in radcli 2016-11-17 17:22:37 +01:00
netutils.h check_radius: Replace functions removed in radcli 2016-11-17 17:22:37 +01:00
popen.c Fix timeout_interval declarations 2020-01-07 10:22:39 +01:00
popen.h Fix timeout_interval declarations 2020-01-07 10:22:39 +01:00
runcmd.c fix maxfd being zero 2019-05-24 14:51:10 +02:00
runcmd.h Project rename initial commit. 2014-01-19 14:18:47 -05:00
sslutils.c sslutils: Address compiler warning 2016-11-21 09:31:08 +01:00
urlize.c Capitalize "Monitoring" when it's the first word 2014-01-20 03:12:50 +01:00
utils.c fix maxfd being zero 2019-05-24 14:51:10 +02:00
utils.h fix maxfd being zero 2019-05-24 14:51:10 +02:00