Welcome, Guest. Please login or register.

Author Topic: no interface colors on Device-Status-page  (Read 1408 times)

miraculiks

  • Newbie
  • *
  • Posts: 7
    • View Profile
no interface colors on Device-Status-page
« on: March 13, 2023, 10:56:59 am »
After an upgrade from v.2.1 to v2.2 we found that on the Device-Status-page (of CISCO-switches) the colors for connected (green) or not connected (yellow) ports are no longer present. Only disabled ports would still appear in red color. When I open a device that was last discovered before the upgrade, the colors are still present. When I use "Interfaces List" in the "Devices"-Menu, the colors are also still there.

Has anybody experienced this issue?

regards,
miraculiks

cmesser

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Re: no interface colors on Device-Status-page
« Reply #1 on: April 21, 2023, 08:50:34 am »
Hi,

I just updated 2.2 and noticed the same issue.
So I tried to copy the "Devices-Status.php" from the 2.1 package to the html sub directory.
This works, and also, it seems to be much faster displaying the interface list.

Regards
« Last Edit: April 21, 2023, 03:28:30 pm by cmesser »

miraculiks

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: no interface colors on Device-Status-page
« Reply #2 on: May 02, 2023, 08:44:15 am »
Thanks for the hint. Works for me, too. However, there seem to be a number of differences between both old and new "Devices-Status.php". I will monitor whether there are interoperability problems with new modules.

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2901
    • View Profile
    • NeDi
Re: no interface colors on Device-Status-page
« Reply #3 on: May 10, 2023, 10:20:26 am »
Set  snmp_set_enum_print to 1 around line 1495:

I can't post the exact call, as the forum won't permit code :-(
Apparently some systems behave differently than others...
« Last Edit: May 10, 2023, 10:22:05 am by rickli »
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

miraculiks

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: no interface colors on Device-Status-page
« Reply #4 on: May 24, 2023, 10:33:16 am »
I inserted it in devices-status.php and it works fine again. Thanks very much!