[pkg-nagios-changes] [Git][nagios-team/pkg-nagios-plugins-contrib][master] Add patch check_uptime/missing_backslash, thanks Sven Wegener. (Closes: #882982)

Jan Wagner gitlab at salsa.debian.org
Thu Nov 8 22:41:27 GMT 2018


Jan Wagner pushed to branch master at Debian Nagios Maintainer Group / pkg-nagios-plugins-contrib


Commits:
314b5a6b by Jan Wagner at 2018-11-08T22:34:47Z
Add patch check_uptime/missing_backslash, thanks Sven Wegener. (Closes: #882982)

- - - - -


2 changed files:

- + debian/patches/check_uptime/missing_backslash
- debian/patches/series


Changes:

=====================================
debian/patches/check_uptime/missing_backslash
=====================================
@@ -0,0 +1,16 @@
+diff --git a/check_uptime/check_uptime b/check_uptime/check_uptime
+index e1e5b99..41b7f26 100644
+--- a/check_uptime/check_uptime
++++ b/check_uptime/check_uptime
+@@ -540,7 +540,7 @@ if ($check_type==1) {  # local
+   elsif ($uptime_output =~ /up\s+(\d+)\s+min/) {
+      ($days, $hrs, $mins) = (0,0,$1);
+   }
+-  elsif ($uptime_output =~ /up\s+(\d+)s+days?,s+(\d+)s+min/) {
++  elsif ($uptime_output =~ /up\s+(\d+)\s+days?,\s+(\d+)\s+min/) {
+      ($days, $hrs, $mins) = ($1,0,$2);
+   }
+   else {
+diff --git a/dsa/checks/dsa-check-cert-expire-dir b/dsa/checks/dsa-check-cert-expire-dir
+old mode 100755
+new mode 100644


=====================================
debian/patches/series
=====================================
@@ -36,6 +36,7 @@ check_smstools/monitoring-plugin
 check_smstools/operator_siglvl
 check_snmp_environment/epn
 check_snmp_time/epn
+check_uptime/missing_backslash
 check_v46/no_epn
 check_webinject/epn
 dsa/check_packages_location



View it on GitLab: https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib/commit/314b5a6b8ab5c0d35c5ee0b5da19c4c545c2e8d3

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib/commit/314b5a6b8ab5c0d35c5ee0b5da19c4c545c2e8d3
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20181108/e23d69f3/attachment.html>


More information about the pkg-nagios-changes mailing list