]> git.pld-linux.org Git - packages/nagios-plugins.git/commitdiff
- rel 6; add check_dns_name auto/th/nagios-plugins-2.2.1-6
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 9 Mar 2018 12:46:52 +0000 (13:46 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 9 Mar 2018 12:46:52 +0000 (13:46 +0100)
dns-config.patch [new file with mode: 0644]
nagios-plugins.spec

diff --git a/dns-config.patch b/dns-config.patch
new file mode 100644 (file)
index 0000000..cf3f9a3
--- /dev/null
@@ -0,0 +1,23 @@
+commit cf8bb3b1eb003c921c14bed986c79b03eef215ee
+Author: Arkadiusz Miśkiewicz <arekm@maven.pl>
+Date:   Fri Mar 9 12:33:42 2018 +0100
+
+    check_dns_name for checking if specified name resolves
+
+diff --git a/commands/check_dns.cfg b/commands/check_dns.cfg
+index 092c0a8..01ab269 100644
+--- a/commands/check_dns.cfg
++++ b/commands/check_dns.cfg
+@@ -4,6 +4,12 @@ define command {
+       command_line    /usr/lib/nagios/plugins/check_dns -s $HOSTADDRESS$ -H www.yahoo.com $ARG1$
+ }
++# 'check_dns_name' command definition
++define command {
++      command_name    check_dns_name
++      command_line    /usr/lib/nagios/plugins/check_dns -s $HOSTADDRESS$ -H $ARG1$ $ARG2$
++}
++
+ # check if DNSBL is returning success on test record 127.0.0.2
+ define command {
+       command_name    check_dnsbl
index 6faea993194505422cf92ceaa6329ab320314c6a..e0f9d26a38372f0a25dce6f10dc5381dc6764c99 100644 (file)
@@ -17,7 +17,7 @@ Summary:      Host/service/network monitoring program plugins for Nagios
 Summary(pl.UTF-8):     Wtyczki do monitorowania hostów/usług/sieci dla Nagiosa
 Name:          nagios-plugins
 Version:       2.2.1
-Release:       5
+Release:       6
 License:       GPL v3
 Group:         Networking
 Source0:       http://www.nagios-plugins.org/download/%{name}-%{version}.tar.gz
@@ -37,6 +37,7 @@ Patch7:               %{name}-check_hpjd-no-paper-out.patch
 Patch8:                %{name}-check_disk_smb-zero-cap.patch
 Patch9:                %{name}-paths.patch
 Patch10:       %{name}-ping.patch
+Patch11:       dns-config.patch
 URL:           http://www.nagiosplugins.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -532,6 +533,7 @@ mv nagios-plugins-config-*/* .
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 
 # remove libtool m4 macro copies, breaks when system libtool is older
 %{__rm} gl/m4/libtool.m4 gl/m4/lt*.m4
This page took 0.061618 seconds and 4 git commands to generate.