forked from pool/monitoring-plugins
29ea1b70d9
update to current git as of 20200520T233014.cadac85e changes summarized * detect unreachable dns service in nslookup output * check_curl: host_name may be null * update test parameter according to check_http * check_curl: use CURLOPT_RESOLVE to fix connecting to the right ip * workaround for issue #1550 - better use "ping -4" instead of "ping" if supported * Use size_t instead of int when calling sysctl(3) * check_tcp: add --sni * Fix timeout_interval declarations * check_curl: NSS, parse more date formats from certificate (in -C cert check) * check_curl: more tolerant CN= parsing when checking certificates (hit on Centos 8) * setting no_body to TRUE when we have a HEAD request * some LIBCURL_VERSION checks around HTTP/2 feature * added --http-version option to check_curl to choose HTTP * improved curlhelp_parse_statusline to handle both HTTP/1.x and HTTP/2 * check_curl: updates embedded picohttpparser to newest git version * setting progname of check_curl plugin to check_curl (at least for now) * Allow mariadbclient to be used for check_mysql * fix maxfd being zero * include -P switch in help * check_swap: repaired "-n" behaviour * improve command examples for 'at least' processes OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=72
14 lines
361 B
Diff
14 lines
361 B
Diff
Index: monitoring-plugins-2.2/plugins/check_hpjd.c
|
|
===================================================================
|
|
--- monitoring-plugins-2.2.orig/plugins/check_hpjd.c
|
|
+++ monitoring-plugins-2.2/plugins/check_hpjd.c
|
|
@@ -66,7 +66,7 @@
|
|
|
|
char *community = NULL;
|
|
char *address = NULL;
|
|
-char *port = NULL;
|
|
+int port = NULL;
|
|
int check_paper_out = 1;
|
|
|
|
int
|