# The exact timers change from various versions of INN, so try to deal
# with this in a general fashion.
if ($left =~ m/^\S+\s+ # ME
- time\ (\d+)\s+ # time
- ((?:\S+\ \d+\(\d+\)\s*)+) # timer values
+ time\s(\d+)\s+ # time
+ ((?:\S+\s\d+\(\d+\)\s*)+) # timer values
$/ox) {
$innd_time_times += $1;
my $timers = $2;
# ME time X nnnn X(X) [...]
return 1 if $left =~ m/backlogstats/;
if ($left =~ m/^\S+\s+ # ME
- time\ (\d+)\s+ # time
- ((?:\S+\ \d+\(\d+\)\s*)+) # timer values
+ time\s(\d+)\s+ # time
+ ((?:\S+\s\d+\(\d+\)\s*)+) # timer values
$/ox) {
$innfeed_time_times += $1;
my $timers = $2;
# The exact timers change from various versions of INN, so try to deal
# with this in a general fashion.
if ($left =~ m/^\S+\s+ # ME
- time\ (\d+)\s+ # time
- ((?:\S+\ \d+\(\d+\)\s*)+) # timer values
+ time\s(\d+)\s+ # time
+ ((?:\S+\s\d+\(\d+\)\s*)+) # timer values
$/ox) {
$nnrpd_time_times += $1;
my $timers = $2;
$nocem_totalids{$nocem_lastid} += $2;
return 1;
}
- if ($left =~ /bad signature from (.*)/o) {
+ if ($left =~ /Article <[^>]*>: (.*) \(ID [[:xdigit:]]*\) not in keyring/o) {
+ $nocem_badsigs{$1}++;
+ $nocem_goodsigs{$1} = 0 unless ($nocem_goodsigs{$1});
+ $nocem_totalbad++;
+ $nocem_lastid = $1;
+ return 1;
+ }
+ if ($left =~ /Article <[^>]*>: bad signature from (.*)/o) {
$nocem_badsigs{$1}++;
$nocem_goodsigs{$1} = 0 unless ($nocem_goodsigs{$1});
$nocem_totalbad++;
$nocem_lastid = $1;
return 1;
}
+ if ($left =~ /Article <[^>]*>: malformed signature/o) {
+ $nocem_badsigs{'N/A'}++;
+ $nocem_goodsigs{'N/A'} = 0 unless ($nocem_goodsigs{'N/A'});
+ $nocem_totalbad++;
+ $nocem_lastid = 'N/A';
+ return 1;
+ }
+
return 1;
}