mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Merge pull request #857 from jeromedrouet/master
ignore UNDEF (not really connected) users for openvpn_multi plugin
This commit is contained in:
commit
92a8c9df17
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ sub config {
|
||||||
print "out.cdef out,1,*\n";
|
print "out.cdef out,1,*\n";
|
||||||
|
|
||||||
while (<FILE>) {
|
while (<FILE>) {
|
||||||
next if ($_ =~ /CLIENT LIST/ || $_ =~ /Updated/ || $_ =~ /Common Name/);
|
next if ($_ =~ /CLIENT LIST/ || $_ =~ /Updated/ || $_ =~ /Common Name/ || $_ =~ /^UNDEF,/);
|
||||||
last if ($_ =~ /ROUTING TABLE/);
|
last if ($_ =~ /ROUTING TABLE/);
|
||||||
|
|
||||||
# client,IP:port,in,out,D M N hour Y
|
# client,IP:port,in,out,D M N hour Y
|
||||||
|
@ -101,7 +101,7 @@ sub report {
|
||||||
|
|
||||||
open FILE, $statusfile or die $!;
|
open FILE, $statusfile or die $!;
|
||||||
while (<FILE>) {
|
while (<FILE>) {
|
||||||
next if ($_ =~ /CLIENT LIST/ || $_ =~ /Updated/ || $_ =~ /Common Name/);
|
next if ($_ =~ /CLIENT LIST/ || $_ =~ /Updated/ || $_ =~ /Common Name/ || $_ =~ /^UNDEF,/);
|
||||||
last if ($_ =~ /ROUTING TABLE/);
|
last if ($_ =~ /ROUTING TABLE/);
|
||||||
|
|
||||||
# client,IP:port,in,out,D M N hour Y
|
# client,IP:port,in,out,D M N hour Y
|
||||||
|
|
Loading…
Reference in a new issue