mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
ignore UNDEF (not really connected) users
This commit is contained in:
parent
d6dcc5d379
commit
f9ec8381b4
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…
Add table
Add a link
Reference in a new issue