Welcome, Guest. Please login or register.

Author Topic: RX/TX Data from SFP-Modules (C9500-48Y4C)  (Read 1348 times)

ingoh

  • Newbie
  • *
  • Posts: 9
    • View Profile
RX/TX Data from SFP-Modules (C9500-48Y4C)
« on: October 27, 2022, 03:59:32 pm »
We are trying to get RX/TX-Data from SFP-Modules into nedi. They are reported fine at the CLI and /var/nedi/nedi.pl -v -SGg -a"XXX.XXX.XXX.XXX" shows them as expected - but writes "no module" to the end of every line. In the Devices Status only the default values (-100dbm) are displayed:

Code: [Select]
Use of uninitialized value in exists at /var/nedi/inc/libsnmp.pm line 5355.
OPT :1263 Twe1/0/25 RX -6 (no module)
Use of uninitialized value in exists at /var/nedi/inc/libsnmp.pm line 5355.
OPT :1118 Twe1/0/1 TX -23 (no module)

Code: [Select]
TwentyFi1/0/25 RX:-100dBm TX: -100dBm SFP-10G-LRM
Nedi version is 2.1.071 and the extended def-file is attached. Did we miss anything?

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2897
    • View Profile
    • NeDi
Re: RX/TX Data from SFP-Modules (C9500-48Y4C)
« Reply #1 on: February 02, 2023, 11:03:05 am »
Did updating to 2.2 fix this?
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

ingoh

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: RX/TX Data from SFP-Modules (C9500-48Y4C)
« Reply #2 on: February 02, 2023, 11:24:53 am »
Still the same. The error message in libsnmp.pm has moved to line 5363.
thanks for investigating :)

Code: [Select]
Use of uninitialized value in exists at /var/nedi/inc/libsnmp.pm line 5363.

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2897
    • View Profile
    • NeDi
Re: RX/TX Data from SFP-Modules (C9500-48Y4C)
« Reply #3 on: February 02, 2023, 11:33:49 am »
I suspect it to be the new TwentyfiveGig interface names. Have a look at Shif() in libmisc.pm and replace the line matching twentyfive:

      $n =~ s/twentyfive(-)?gigabitethernet|TwentyFiveGigE|TwentyFi/Twe/i;

It will be like this in NeDi 2.3...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

ingoh

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: RX/TX Data from SFP-Modules (C9500-48Y4C)
« Reply #4 on: February 02, 2023, 12:12:53 pm »
Looks good now. Error is gone and values are shown :)

Thanks a lot!