Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'interface-health' shows 'broadcast out:100% (%of traffic)' on Port-Channel but not on member interface #306

Open
FK1985 opened this issue Nov 7, 2022 · 0 comments

Comments

@FK1985
Copy link

FK1985 commented Nov 7, 2022

Hi !

Thank you very much for you awesome script !

My new Cisco C9200L-48P-4X with version 17.06.03 shows "Critical: 100% of outgoing traffic is broadcast" when polling the port-channel but not on the member-port:

[root@icinga plugins]# ./check_nwc_health '--hostname' 'x.x.x.x' '--community' 'community' '--mode' 'interface-health' '--name' 'Port-Channel1' '--units' 'GBi' '--warning' '75' '--critical' '85' --multiline -vvvvvv

[INTERFACESUBSYSTEM]
bootTime: 1667640661
duplicates: HASH(0x55e76366e1c8)
ifCacheLastChange: 1667824063
ifTableLastChange: 1667640808.92
interface_cache: HASH(0x55e763675a00)
info: checking interfaces
[64BIT_65]
delta_ifHCInBroadcastPkts: 10207
delta_ifHCInMulticastPkts: 9988
delta_ifHCInOctets: 297836320
delta_ifHCInUcastPkts: 556263
delta_ifHCOutBroadcastPkts: 18446744073709422721
delta_ifHCOutMulticastPkts: 355
delta_ifHCOutOctets: 592293867
delta_ifHCOutUcastPkts: 579937
delta_ifInBits: 2382690560
delta_ifInDiscards: 0
delta_ifInErrors: 0
delta_ifInPkts: 576458
delta_ifOutBits: 4738350936
delta_ifOutDiscards: 0
delta_ifOutErrors: 0
delta_ifOutPkts: 1.844674407371e+19
delta_timestamp: 259
ifAdminStatus: up
ifAlias: TEAM 
ifDescr: Port-channel1
ifHCInBroadcastPkts: 7720279
ifHCInBroadcastPkts_per_sec: 39.4092664092664
ifHCInMulticastPkts: 5431900
ifHCInMulticastPkts_per_sec: 38.5637065637066
ifHCInOctets: 72090501485
ifHCInOctets_per_sec: 1149947.18146718
ifHCInUcastPkts: 122035974
ifHCInUcastPkts_per_sec: 2147.73359073359
ifHCOutBroadcastPkts: 18446744073709422721
ifHCOutBroadcastPkts_per_sec: 7.12229500915422e+16
ifHCOutMulticastPkts: 137348
ifHCOutMulticastPkts_per_sec: 1.37065637065637
ifHCOutOctets: 281619715177
ifHCOutOctets_per_sec: 2286848.90733591
ifHCOutUcastPkts: 220146474
ifHCOutUcastPkts_per_sec: 2239.138996139
ifHighSpeed: 10000
ifInBroadcastPkts: 7720279
ifInDiscards: 0
ifInDiscards_per_sec: 0
ifInErrors: 0
ifInErrors_per_sec: 0
ifInMulticastPkts: 5431900
ifInOctets: 3371024749
ifInUcastPkts: 122035974
ifIndex: 65
ifName: Po1
ifOperStatus: up
ifOutBroadcastPkts: 4294838401
ifOutDiscards: 0
ifOutDiscards_per_sec: 0
ifOutErrors: 0
ifOutErrors_per_sec: 0
ifOutMulticastPkts: 137348
ifOutOctets: 2446840937
ifOutUcastPkts: 220146474
ifSpeed: 4294967295
inputBroadcastPercent: 1.77064070582766
inputBroadcastUtilizationPercent: 0.00162891463124606
inputDiscardRate: 0
inputDiscardsPercent: 0
inputErrorRate: 0
inputErrorsPercent: 0
inputRate: 0.00856777415772663
inputUtilization: 0.0919957745173745
maxInputRate: 9.31322574615479
maxOutputRate: 9.31322574615479
outputBroadcastPercent: 99.9999999999969
outputBroadcastUtilizationPercent: 0.0919957745173716
outputDiscardRate: 0
outputDiscardsPercent: 0
outputErrorRate: 0
outputErrorsPercent: 0
outputRate: 0.0170383520970934
outputUtilization: 0.182947912586873
info: interface Port-channel1 broadcast in:1.77% out:100.00% (% of traffic) in:0.00% out:0.09% (% of bandwidth)


CRITICAL - interface Port-channel1 broadcast in:1.77% out:100.00% (% of traffic) in:0.00% out:0.09% (% of bandwidth), Port-channel1 is up/up
interface Port-channel1 usage is in:0.09% (0.01GBi/s) out:0.18% (0.02GBi/s)
interface Port-channel1 errors in:0.00% out:0.00%
interface Port-channel1 discards in:0.00% out:0.00%
checking interfaces
Port-channel1 is up/up
interface Port-channel1 usage is in:0.09% (0.01GBi/s) out:0.18% (0.02GBi/s)
interface Port-channel1 errors in:0.00% out:0.00%
interface Port-channel1 discards in:0.00% out:0.00%
interface Port-channel1 broadcast in:1.77% out:100.00% (% of traffic) in:0.00% out:0.09% (% of bandwidth) | 'Port-channel1_usage_in'=0.09%;75;85;0;100 'Port-channel1_usage_out'=0.18%;75;85;0;100 'Port-channel1_traffic_in'=0.01;75;85;0;9.3132 'Port-channel1_traffic_out'=0.02;75;85;0;9.3132 'Port-channel1_errors_in'=0%;75;85;0;100 'Port-channel1_errors_out'=0%;75;85;0;100 'Port-channel1_discards_in'=0%;75;85;0;100 'Port-channel1_discards_out'=0%;75;85;0;100 'Port-channel1_broadcast_in'=1.77%;75;85;0;100 'Port-channel1_broadcast_out'=100.00%;75;85;0;100 'Port-channel1_broadcast_usage_in'=0.00%;75;85;0;100 'Port-channel1_broadcast_usage_out'=0.09%;75;85;0;100

The Port-Channel currently consists of only 1 port at the moment:

SWITCH1#show etherchannel summary
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator

        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port

        A - formed by Auto LAG


Number of channel-groups in use: 1
Number of aggregators:           1

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
1      Po1(SU)         LACP        Te1/1/1(P)

When I poll the member interface directly the output is fine:

[root@icinga plugins]# ./check_nwc_health '--hostname' 'x.x.x.x' '--community' community' '--mode' 'interface-health' '--name' 'TenGigabitEthernet1/1/1' '--units' 'GBi' '--warning' '75' '--critical' '85' --multiline -vvvvvv

[INTERFACESUBSYSTEM]
bootTime: 1667640661
duplicates: HASH(0x55674c08e728)
ifCacheLastChange: 1667824063
ifTableLastChange: 1667640808.92
interface_cache: HASH(0x55674c096aa0)
info: checking interfaces
[64BIT_57]
delta_ifHCInBroadcastPkts: 64699
delta_ifHCInMulticastPkts: 53293
delta_ifHCInOctets: 1756565268
delta_ifHCInUcastPkts: 2820846
delta_ifHCOutBroadcastPkts: 131
delta_ifHCOutMulticastPkts: 2264
delta_ifHCOutOctets: 3463751767
delta_ifHCOutUcastPkts: 3196620
delta_ifInBits: 14052522144
delta_ifInDiscards: 0
delta_ifInErrors: 0
delta_ifInPkts: 2938838
delta_ifOutBits: 27710014136
delta_ifOutDiscards: 0
delta_ifOutErrors: 0
delta_ifOutPkts: 3199015
delta_timestamp: 1366
ifAdminStatus: up
ifAlias: CSW
ifDescr: TenGigabitEthernet1/1/1
ifHCInBroadcastPkts: 7731574
ifHCInBroadcastPkts_per_sec: 47.3638360175695
ifHCInMulticastPkts: 5440458
ifHCInMulticastPkts_per_sec: 39.0139092240117
ifHCInOctets: 72192374358
ifHCInOctets_per_sec: 1285918.93704246
ifHCInUcastPkts: 122270214
ifHCInUcastPkts_per_sec: 2065.04099560761
ifHCOutBroadcastPkts: 8469
ifHCOutBroadcastPkts_per_sec: 0.095900439238653
ifHCOutMulticastPkts: 137765
ifHCOutMulticastPkts_per_sec: 1.65739385065886
ifHCOutOctets: 281974558453
ifHCOutOctets_per_sec: 2535689.4341142
ifHCOutUcastPkts: 220348178
ifHCOutUcastPkts_per_sec: 2340.1317715959
ifHighSpeed: 10000
ifInBroadcastPkts: 7731574
ifInDiscards: 0
ifInDiscards_per_sec: 0
ifInErrors: 0
ifInErrors_per_sec: 0
ifInMulticastPkts: 5440458
ifInOctets: 3472897622
ifInUcastPkts: 122270214
ifIndex: 57
ifName: Te1/1/1
ifOperStatus: up
ifOutBroadcastPkts: 8469
ifOutDiscards: 0
ifOutDiscards_per_sec: 0
ifOutErrors: 0
ifOutErrors_per_sec: 0
ifOutMulticastPkts: 137765
ifOutOctets: 2801684213
ifOutUcastPkts: 220348178
ifSpeed: 4294967295
inputBroadcastPercent: 2.20151638164472
inputBroadcastUtilizationPercent: 0.00226477728429291
inputDiscardRate: 0
inputDiscardsPercent: 0
inputErrorRate: 0
inputErrorsPercent: 0
inputRate: 0.00958084268154547
inputUtilization: 0.102873514963397
maxInputRate: 9.31322574615479
maxOutputRate: 9.31322574615479
outputBroadcastPercent: 0.00409501049541812
outputBroadcastUtilizationPercent: 4.21268123475663e-06
outputDiscardRate: 0
outputDiscardsPercent: 0
outputErrorRate: 0
outputErrorsPercent: 0
outputRate: 0.018892358497636
outputUtilization: 0.202855154729136
info: interface TenGigabitEthernet1/1/1 broadcast in:2.20% out:0.00% (% of traffic) in:0.00% out:0.00% (% of bandwidth)


OK - TenGigabitEthernet1/1/1 is up/up
interface TenGigabitEthernet1/1/1 usage is in:0.10% (0.01GBi/s) out:0.20% (0.02GBi/s)
interface TenGigabitEthernet1/1/1 errors in:0.00% out:0.00%
interface TenGigabitEthernet1/1/1 discards in:0.00% out:0.00%
interface TenGigabitEthernet1/1/1 broadcast in:2.20% out:0.00% (% of traffic) in:0.00% out:0.00% (% of bandwidth)
checking interfaces
TenGigabitEthernet1/1/1 is up/up
interface TenGigabitEthernet1/1/1 usage is in:0.10% (0.01GBi/s) out:0.20% (0.02GBi/s)
interface TenGigabitEthernet1/1/1 errors in:0.00% out:0.00%
interface TenGigabitEthernet1/1/1 discards in:0.00% out:0.00%
interface TenGigabitEthernet1/1/1 broadcast in:2.20% out:0.00% (% of traffic) in:0.00% out:0.00% (% of bandwidth) | 'TenGigabitEthernet1/1/1_usage_in'=0.10%;75;85;0;100 'TenGigabitEthernet1/1/1_usage_out'=0.20%;75;85;0;100 'TenGigabitEthernet1/1/1_traffic_in'=0.01;75;85;0;9.3132 'TenGigabitEthernet1/1/1_traffic_out'=0.02;75;85;0;9.3132 'TenGigabitEthernet1/1/1_errors_in'=0%;75;85;0;100 'TenGigabitEthernet1/1/1_errors_out'=0%;75;85;0;100 'TenGigabitEthernet1/1/1_discards_in'=0%;75;85;0;100 'TenGigabitEthernet1/1/1_discards_out'=0%;75;85;0;100 'TenGigabitEthernet1/1/1_broadcast_in'=2.20%;75;85;0;100 'TenGigabitEthernet1/1/1_broadcast_out'=0.00%;75;85;0;100 'TenGigabitEthernet1/1/1_broadcast_usage_in'=0.00%;75;85;0;100 'TenGigabitEthernet1/1/1_broadcast_usage_out'=0.00%;75;85;0;100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant