diff --git a/apps/protocols/bgp/4/mode/bgppeerstate.pm b/apps/protocols/bgp/4/mode/bgppeerstate.pm index 2ffd10cb7..fd486f587 100644 --- a/apps/protocols/bgp/4/mode/bgppeerstate.pm +++ b/apps/protocols/bgp/4/mode/bgppeerstate.pm @@ -80,7 +80,7 @@ sub set_counters { { name => 'peers', type => 1, cb_prefix_output => 'prefix_peers_output', message_multiple => 'All BGP peers are ok' }, ]; $self->{maps_counters}->{peers} = [ - { label => 'states', set => { + { label => 'status', threshold => 0, set => { key_values => [ { name => 'adminstate' }, { name => 'peerstate' }, { name => 'display' }, { name => 'local' }, { name => 'remote' }, { name => 'as' } ], closure_custom_calc => $self->can('custom_status_calc'),