diff --git a/check_junos_bgp.pl b/check_junos_bgp.pl index 41dc337..09f3a61 100755 --- a/check_junos_bgp.pl +++ b/check_junos_bgp.pl @@ -47,6 +47,8 @@ use Regexp::IPv6 qw( $IPv6_re ); use JUNOS::Device; +binmode STDOUT, ":utf8"; + my $valid_checks = "peers_count|prefix_count"; my $plugin = Nagios::Plugin->new(