[monitoring-plugins] Remove CGIURL everywhere (#2306)

GitHub git at monitoring-plugins.org
Thu Jul 30 22:40:14 CEST 2026


    Module: monitoring-plugins
    Branch: master
    Commit: e88bc22a9dc926fa8247176a0b4565dc31a9cbf3
    Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
 Committer: GitHub <noreply at github.com>
      Date: Thu Jul 30 22:37:21 2026 +0200
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=e88bc22a

Remove CGIURL everywhere (#2306)

---

 README               |  6 ++----
 configure.ac         | 10 ----------
 plugins/check_ping.c |  3 ---
 3 files changed, 2 insertions(+), 17 deletions(-)

diff --git a/README b/README
index 71b4d37c..ae892a2c 100644
--- a/README
+++ b/README
@@ -51,12 +51,10 @@ Installation Instructions
 2.  Run the configure script to initialize variables and create a Makefile,
     etc.
 
-    	./configure --prefix=BASEDIRECTORY --with-cgiurl=SOMEURL
+    	./configure --prefix=BASEDIRECTORY
 
     Replace `BASEDIRECTORY` with the path of the directory under which your
-    monitoring system is installed (default is `/usr/local`), and replace
-    `SOMEURL` with the path used to access the monitoring system CGIs with a
-    web browser (default is `/nagios/cgi-bin`).
+    monitoring system is installed (default is `/usr/local`).
 
 3.  Compile the plugins with the following command:
 
diff --git a/configure.ac b/configure.ac
index 7c2e0c79..5e6aaeae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,15 +64,6 @@ AC_SUBST(WARRANTY)
 SUPPORT="Send email to help at monitoring-plugins.org if you have questions regarding use\nof this software. To submit patches or suggest improvements, send email to\ndevel at monitoring-plugins.org. Please include version information with all\ncorrespondence (when possible, use output from the --version option of the\nplugin itself).\n"
 AC_SUBST(SUPPORT)
 
-dnl CGIURL has changed for Nagios with 1.0 beta
-AC_ARG_WITH(cgiurl,
-	ACX_HELP_STRING([--with-cgiurl=DIR],
-		[sets URL for cgi programs]),
-	with_cgiurl=$withval,
-	with_cgiurl=/nagios/cgi-bin)
-CGIURL="$with_cgiurl"
-AC_DEFINE_UNQUOTED(CGIURL,"$CGIURL",[URL of CGI programs])
-
 AC_ARG_WITH(trusted_path,
 	ACX_HELP_STRING([--with-trusted-path=PATH],
 		[sets trusted path for executables called by scripts]),
@@ -1965,7 +1956,6 @@ ACX_FEATURE([with],[gnutls])
 ACX_FEATURE([enable],[extra-opts])
 ACX_FEATURE([with],[perl])
 ACX_FEATURE([enable],[perl-modules])
-ACX_FEATURE([with],[cgiurl])
 ACX_FEATURE([with],[trusted-path])
 ACX_FEATURE([enable],[libtap])
 ACX_FEATURE([with],[libcurl])
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 0c9cb19d..d3c13f0b 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -148,9 +148,6 @@ int main(int argc, char **argv) {
 			die(STATE_OK, "%s is alive\n", config.addresses[i]);
 		}
 
-		if (config.display_html) {
-			printf("<A HREF='%s/traceroute.cgi?%s'>", CGIURL, config.addresses[i]);
-		}
 		if (pinged.packet_loss == 100) {
 			printf(_("PING %s - %sPacket loss = %d%%"), state_text(pinged.state), warn_text,
 				   pinged.packet_loss);



More information about the Commits mailing list