cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

16168
Views
31
Helpful
25
Replies
Beginner

Re: How to monitor CWDM SFPs metrics using SNMP?

>> The MIB files are there just to give context and meaning to the values  returned by the agent.

I knew that

Before you sent me the new MIB, i actually changed the old one myself, because "IOS will ALWAYS send 14" and "The MIB files are there just to give context and meaning to the values  returned by the agent". So i figured. I changed the mib (added dBm) and expected to get dBm. But it was still 14. so i got confused and i wanted to double-check on the forum here....

I obviously didn't make the MIB changes in a proper way. But that's not important anymore, i got dBm using the MIB you attached.

Okay, the picture is much much clearer now, i have a proper MIB, i have a switch that supports the mib, i have a CWDM SFP with DOM support, and i'm getting all the optical monitoring values in my MIB browser client (or NMS).

The last thing for me to do is to use a Performance Management tool to collect these values on a regular basis i process this data for various usage (threshold, reporting, etc.).

I have to figure out the indexing mess in these MIBs (entPhysicalIndex is not accesible, etc.) to link the interface (from RFC1213-MIB-2, via ENTITY-MIB) with its SFP and (from SENSOR-MIB) to the optical monitoring measurements...

but that's another story.... if you have any comment on this last part, feel free to add something you think could help me. If not, thank you for your help, and to other guys.

Regards, Marko

Hall of Fame Cisco Employee

Re: How to monitor CWDM SFPs metrics using SNMP?

Non-accessible indexes are nothing new.  What you need to do is extract (in this case) the last element from the left-hand-side of the equal sign (so to speak).  That is, take the OID returned in a GET-NEXT query, and extract the last dotted element.  That will be your entPhysicalID.

Beginner

Re: How to monitor CWDM SFPs metrics using SNMP?

Yes, e.g. snmpwalk returns this entPhysicalID as a last dotted element, but unfortunately, we're planning to extract and process these values using a performance tool (HP OV Performance Insight - OVPI) and that tool doesn't (I assume, i'm not 100% sure) post full OID in number format (or string format) into a database, in any column, so once we have this data in DB, there will be no OID to parse the entPhysicalID out and tie it somehow to interface (index).

I guess we'll have to pull only the entPhysicalEntry table (from ENTITY mib) and entSensorValueTable (from SENSOR mib), the OVPI will add the device name as identifier to every row so we'll know what sensors belong to device, and in another table what values belong to device, but we'll have trouble matching what values belong to what sensor (in the context of the same device). The problem will be if the device have more than 1 SFP, and every SFP has 5 sensors.

E.g.

extracted from ENTITY MIB with PerfMon tool (Device1 has 2 SFPs on Gi0/1 and Gi0/2, with 5 sensors each):

DeviceentPhysicalDescrentPhysicalClass
Device1GigabitEthernet0/1 Module Temperature Sensorsensor
Device1GigabitEthernet0/1 Supply Voltage Sensorsensor
Device1GigabitEthernet0/1 Bias Current Sensorsensor
Device1GigabitEthernet0/1 Transmit Power Sensorsensor
Device1GigabitEthernet0/1 Receive Power Sensorsensor
Device1GigabitEthernet0/2 Module Temperature Sensorsensor
Device1GigabitEthernet0/2 Supply Voltage Sensorsensor
Device1GigabitEthernet0/2 Bias Current Sensorsensor
Device1GigabitEthernet0/2 Transmit Power Sensorsensor
Device1GigabitEthernet0/2 Receive Power Sensorsensor

extracted from SENSOR mib with PerfMon tool (2 sets with 5 values per SFP):

DeviceentSensorTypeentSensorScaleentSensorPrecisionentSensorValue
Device1celsiusunits1483
Device1voltsDCunits2324
Device1amperesmilli1332
Device1dBmunits132
Device1dBmunits1-130
Device1celsiusunits1500
Device1voltsDCunits2345
Device1amperesmilli1331
Device1dBmunits130
Device1dBmunits1-128

So, with this i can't be 100% sure to match "GigabitEthernet0/1 Transmit Power Sensor" from the first table with its value in the second table, and respectively "GigabitEthernet0/2 Transmit Power Sensor" to its value.

So this is my next problem.... i don't know how to get past this. I'll have to make some tests with OVPI first, maybe something will come up...

Re: How to monitor CWDM SFPs metrics using SNMP?

Hi, could you share the perfmon configuration to get it?

thanks a lots

Beginner

Re: How to monitor CWDM SFPs metrics using SNMP?

Hi,

i don't quite understand what you mean by "perfmon" configuration.

We're trying to get this info via SNMP....

marko

Re: How to monitor CWDM SFPs metrics using SNMP?

Yes, im trying this too. I see that you use perfmon tool to obtain the values and i need to know how to configure this.

Thanks a lots.

Beginner

Re: How to monitor CWDM SFPs metrics using SNMP?

Yes, we're using a certain performance monitoring tool, but this is step 2 of this story.

step 1 is the SNMP indexing issue which is preventing us from using this SNMP data in our chosen perf. mon. tool.

I don't know what perf. mon tool are you using, we're planning to use this data in HP OVPI, but this data can be utilized in any other perfmon tool.

Anyway, configuring a performance tool is not a topic here. The topic is how to relate two bits of SNMP data into something that can be used by any perfmon tool.

regards

marko

Beginner

Re: How to monitor CWDM SFPs metrics using SNMP?

but if you mean how did i get those tables posted earlier, these are form IReasoning MIB browser....

Re: How to monitor CWDM SFPs metrics using SNMP?

Yes, because i want to discover what values belong to each interface.

Thanks for your fast response

How to monitor CWDM SFPs metrics using SNMP?

Hi Marko,

Did you ever find a solution to your problem?

I'm in the exact same situation as you and I wish to monitor a number of transceivers on a number of different platforms.

Thanks!

Highlighted
Beginner

Re: How to monitor CWDM SFPs metrics using SNMP?

hi all i need help i try all what you write here .

i have

Vendor Name           :   CISCO-FINISAR

Vendor Part Number    :   FTRJ1319P1BTL-C

Vendor Revision       :   0x42 0x20 0x20 0x20

and when i try to get info from telnet i get normal information

#sho interfaces transceiver

If device is externally calibrated, only calibrated values are printed.

++ : high alarm, +  : high warning, -  : low warning, -- : low alarm.

NA or N/A: not applicable, Tx: transmit, Rx: receive.

mA: milliamperes, dBm: decibels (milliwatts).

                                           Optical   Optical

           Temperature  Voltage  Current   Tx Power  Rx Power

Port       (Celsius)    (Volts)  (mA)      (dBm)     (dBm)

---------  -----------  -------  --------  --------  --------

Gi0/26       52.5       3.25      26.9      -5.7     -13.8

but i couldnot get from snmp can some one tell me if is some configure in device or  oid i try is not thet what i need .

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards