paregupt / ucs_traffic_monitor

Cisco UCS traffic monitoring using Grafana, InfluxDB and Telegraf
MIT License
81 stars 25 forks source link

Output Discard not reporting in the Dashboard #61

Open Mskumarr opened 3 years ago

Mskumarr commented 3 years ago

Help on this is appreciated !!

We have observed output discards happening on the Ethernet port on the FI's, but the UTM is not showing it on the dashboard (seeing it from UCS Domain Traffic --> Errors in Eth).

These are discards happening on the env;

Ethernet1/13 is up 0 runts 0 giants 1819 CRC 0 no buffer 1819 input error 0 short frame 0 overrun 0 underrun 0 ignored 0 input with dribble 0 input discard 0 output errors 0 collision 0 deferred 0 late collision 0 lost carrier 0 no carrier 0 babble 14761 output discard Ethernet1/14 is up 0 runts 0 giants 1780 CRC 0 no buffer 1780 input error 0 short frame 0 overrun 0 underrun 0 ignored 0 input with dribble 0 input discard 0 output errors 0 collision 0 deferred 0 late collision 0 lost carrier 0 no carrier 0 babble 19256 output discard

image

paregupt commented 3 years ago

The CLI doesn't show when the discards happened. How long have you been running UTM? Increase the time range, for example last 6 months, and then check if you see spikes on the graphs.

Mskumarr commented 3 years ago

We have discards happening in our environment like every 15 mins (checked manually via cli, its increasing) and UTM is running on from today (running for more than 5 hours, yet it hasn't captured the discards).

paregupt commented 3 years ago

Can you please login to UCSM, check the statistics for these ports and ensure that the out discards are shown there? UTM gets the out_discards from XML API which is the same as shown on UCSM. The CLI output may not be in sync with the UCSM values. Also, please reach out to me directly for debugging in your environment. My email is same as github id at cisco.

Mskumarr commented 3 years ago

Thanks Paresh, on the UCSM the statistics are showing 'zero' but on cli it shows up the output discards.

are these different ?

paregupt commented 3 years ago

Thanks for checking. This explains why UTM doesn't show out discards. But I see FCS. Can you please check if your environment has FCS and if UTM shows them.

The UCSM and CLI outputs should be the same but for few stats the XML APIs don't pick up the stats correctly whereas the CLI pulls the stats directly from the hardware. I am not a UCS guy. The best approach is to open a TAC case and get an official response.