mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
switch default API to current
This commit is contained in:
parent
348776e66b
commit
143a9543c4
@ -68,7 +68,7 @@ my $src = $ENV{"src"} || "";
|
|||||||
my @sockets = split /,/, $ENV{"socket"} || "";
|
my @sockets = split /,/, $ENV{"socket"} || "";
|
||||||
my $ip = $ENV{"ip"} || "127.0.0.1";
|
my $ip = $ENV{"ip"} || "127.0.0.1";
|
||||||
my @ports = split /,/, $ENV{"port"} || "";
|
my @ports = split /,/, $ENV{"port"} || "";
|
||||||
my $api = $ENV{"api"} || "pre09";
|
my $api = $ENV{"api"} || "current";
|
||||||
|
|
||||||
my $mem = 0;
|
my $mem = 0;
|
||||||
my $pattern = qr/<value><(int|i4|i8|ex\.i8)>(\d+)<\/(int|i4|i8|ex\.i8)><\/value>/;
|
my $pattern = qr/<value><(int|i4|i8|ex\.i8)>(\d+)<\/(int|i4|i8|ex\.i8)><\/value>/;
|
||||||
|
@ -78,7 +78,7 @@ my $src = $ENV{"src"} || "";
|
|||||||
my @sockets = split /,/, $ENV{"socket"} || "";
|
my @sockets = split /,/, $ENV{"socket"} || "";
|
||||||
my $ip = $ENV{"ip"} || "127.0.0.1";
|
my $ip = $ENV{"ip"} || "127.0.0.1";
|
||||||
my @ports = split /,/, $ENV{"port"} || "";
|
my @ports = split /,/, $ENV{"port"} || "";
|
||||||
my $api = $ENV{"api"} || "pre09";
|
my $api = $ENV{"api"} || "current";
|
||||||
|
|
||||||
my $pattern = qr/<value><(int|i4|i8|ex\.i8)>(\d+)<\/(int|i4|i8|ex\.i8)><\/value>/;
|
my $pattern = qr/<value><(int|i4|i8|ex\.i8)>(\d+)<\/(int|i4|i8|ex\.i8)><\/value>/;
|
||||||
my $tpattern = qr/[0-9A-F]{20}/;
|
my $tpattern = qr/[0-9A-F]{20}/;
|
||||||
|
@ -92,7 +92,7 @@ my $src = $ENV{"src"} || "";
|
|||||||
my @sockets = split /,/, $ENV{"socket"} || "";
|
my @sockets = split /,/, $ENV{"socket"} || "";
|
||||||
my $ip = $ENV{"ip"} || "127.0.0.1";
|
my $ip = $ENV{"ip"} || "127.0.0.1";
|
||||||
my @ports = split /,/, $ENV{"port"} || "";
|
my @ports = split /,/, $ENV{"port"} || "";
|
||||||
my $api = $ENV{"api"} || "pre09";
|
my $api = $ENV{"api"} || "current";
|
||||||
|
|
||||||
my $pattern = qr/<value><(int|i4|i8|ex\.i8)>([-]{0,1}\d+)<\/(int|i4|i8|ex\.i8)><\/value>/;
|
my $pattern = qr/<value><(int|i4|i8|ex\.i8)>([-]{0,1}\d+)<\/(int|i4|i8|ex\.i8)><\/value>/;
|
||||||
my $line = "";
|
my $line = "";
|
||||||
|
@ -83,7 +83,7 @@ my $src = $ENV{"src"} || "";
|
|||||||
my @sockets = split /,/, $ENV{"socket"} || "";
|
my @sockets = split /,/, $ENV{"socket"} || "";
|
||||||
my $ip = $ENV{"ip"} || "127.0.0.1";
|
my $ip = $ENV{"ip"} || "127.0.0.1";
|
||||||
my @ports = split /,/, $ENV{"port"} || "";
|
my @ports = split /,/, $ENV{"port"} || "";
|
||||||
my $api = $ENV{"api"} || "pre09";
|
my $api = $ENV{"api"} || "current";
|
||||||
|
|
||||||
my $pattern = qr/<value><string>([A-Z0-9]+)<\/string><\/value>/;
|
my $pattern = qr/<value><string>([A-Z0-9]+)<\/string><\/value>/;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user