Errors CRC

Hello!

I need check the errors CRC of ethernet in my network. I try with a script but I did not succeed.
Is possible create a funcion to check if the number of CRC errors is greater than 100 for example?

Thanks!

I believe this is possible but you will need to hand code every single link you want to monitor.

lebowski, it sounds kind of complicated.. is there any other way?
jorgemke, did you solve the problem?

__
http://midiplayer.info/

Not yet. any other idea?
Thanks!

This is the oid for errors for g9/30 “1.3.6.1.2.1.2.2.1.14.90” This is not crc errors this is “errors”. I could not find CRC errors quickly with snmpwalk.

Anyhow the below graphic shows an interface to g9/30 where I modified the link label to show the errors. The problem is when I try to use [interface.index] inside of an oid I get the index read but the oid never reads so the value on the label is Errors[oid("1.3.6.1.2.1.2.2.1.14.90)] instead of “Errors: 55221” like in the hand coded one.
linkerrors.png
I suspect that the read of the interface.index should detect that it is nested and a 2nd snmp read should take place. If you can figure out a way to get the oid to read the value with interface.index as a reference to the object you are interested in you could then change the global appearance of your link object. Then every link would show what ever you added.

HTH,
Lebowski

Hello,

if you put the same code, for example: Errors: [oid(“1.3.6.1.2.1.2.2.1.14.[Interface.Index]”)] in the Tooltip (Settings → Map → Link Appearance → Tooltip:) instead of Label from a Link it works :smiley: Thank you Lebowski.

HTH
Sebastian

NO SHIT :slight_smile:

Learn something new every day, good idea and simple. I wanted a way to see link errors quickly.
Lebowski

Hello Lebowski,

if you only want to know/show the [oid(“1.3.6.1.2.1.2.2.1.14.[Interface.Index]”)] in the Link Label you can use the variable [Interface.InErrors] or the [Interface.OutErrors]. It seems to be the same like the oid 1.3.6.1.2.1.2.2.1.14. or 1.3.6.1.2.1.2.2.1.20.

Sebastian