Skip to content
Snippets Groups Projects
Commit 81617163 authored by Sergey Joseph Ivanov's avatar Sergey Joseph Ivanov
Browse files

fix: instead of number of errors it summarized IDs of devices

parent f1f2d3f0
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ sub handler { ...@@ -64,7 +64,7 @@ sub handler {
=cut =cut
if(/SPINE:\s+Poller\[\d+\]\s+WARNING:.*Errors\[(\d+)\]\s+Device\[(\d+)\].*\s+DS\[([ 0-9,]+)\]/) { if(/SPINE:\s+Poller\[\d+\]\s+WARNING:.*Errors\[(\d+)\]\s+Device\[(\d+)\].*\s+DS\[([ 0-9,]+)\]/) {
print STDERR "errors: num=$1, Device\[$2], DSes=$3\n" if $DEBUG; print STDERR "errors: num=$1, Device\[$2], DSes=$3\n" if $DEBUG;
$errors += $2; $errors += $1;
} }
=pod example of DSes reported: =pod example of DSes reported:
2018/11/05 15:00:05 - SPINE: Poller[1] Device[32] TH[1] NOTE: There are '398' Polling Items for this Device 2018/11/05 15:00:05 - SPINE: Poller[1] Device[32] TH[1] NOTE: There are '398' Polling Items for this Device
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment