I have probably a dumb question, but I'm stuck for the moment and maybe someone has a easy and fast solution for me.
I try to poll a Cisco router SHDSL Interface. I have lots of routers, most of them running in 2-wire or 4-wire mode.
I'm interested in graphing the quality of the links, specially the ATTENUATION and the NOISE MARGIN, also in CRC ERROR tracking ecc.
When I poll the interface for example for the ATTENUATION using the following OID: .184.108.40.206.220.127.116.11.18.104.22.168 I get the following answer
HDSL2-SHDSL-LINE-MIB::hdsl2ShdslEndpointCurrAtn.15.xtuC.customerSide.wirePair1 = INTEGER: 0 dB
HDSL2-SHDSL-LINE-MIB::hdsl2ShdslEndpointCurrAtn.15.xtuR.networkSide.wirePair1 = INTEGER: 1 dB
for the NOISE MARGIN OID: .22.214.171.124.126.96.36.199.188.8.131.52
HDSL2-SHDSL-LINE-MIB::hdsl2ShdslEndpointCurrSnrMgn.15.xtuC.customerSide.wirePair1 = INTEGER: 0 dB
HDSL2-SHDSL-LINE-MIB::hdsl2ShdslEndpointCurrSnrMgn.15.xtuR.networkSide.wirePair1 = INTEGER: 18 dB
The thing is I'm not interested in the xtuC
values, only xtuR
as this are the values seen by the router.
Is there a way to "cancel" them out? Maybe by a regex? Someone has an idea for me?