--- a/check_avwebgate.pl Tue Jul 05 12:22:08 2011 +0200
+++ b/check_avwebgate.pl Tue Mar 06 17:09:15 2012 +0100
@@ -20,7 +20,7 @@
my ( $result, $found, $message, $version, $current_version );
$opt_u = 'http://www.avira.com/de/support-download-avira-antivir-webgate';
-$opt_s = '<a.*>Avira AntiVir WebGate / Avira WebGate Suite</a>.*(?:\n.*){4}<td>(\d+\.\d+\.\d+\.[\d]+)(-\d+)?</td>';
+$opt_s = '<h2>Avira AntiVir WebGate</h2>.*(?:\n.*){27}<span class="version">Version:\s*(\d+\.\d+\.\d+\.\d+)(-\d+)?\s*</span>';
$opt_b = "/usr/lib/AntiVir/webgate/avwebgate.bin";
Getopt::Long::Configure('bundling');
--- a/debian/changelog Tue Jul 05 12:22:08 2011 +0200
+++ b/debian/changelog Tue Mar 06 17:09:15 2012 +0100
@@ -1,3 +1,9 @@
+nagios-plugin-avwebgate (1.2-1) oldstable stable; urgency=low
+
+ * adapted search string to changes in download page
+
+ -- Matthias Förste <foerste@schlittermann.de> Tue, 06 Mar 2012 17:03:12 +0100
+
nagios-plugin-avwebgate (1.2) oldstable stable; urgency=low
* path to binaries has been changed upstream