Cmk 2.3.0p30, werk 17786 leads to duplicate interface items on some switches

CRE 2.3.0p30 on Debian 12

OMD[mysite]:~$ cmk -vII switch-host-name           
Discovering services and host labels on: switch-host-name
switch-hostname:                                                     
+ FETCHING DATA                                                                
No piggyback files for 'switch-host-name'. Skip processing.
No piggyback files for '10.x.x.x'. Skip processing.                                                                                                       
Get piggybacked data                                                                                                                                          
+ ANALYSE DISCOVERED HOST LABELS                                               
SUCCESS - Found 1 host labels
+ ANALYSE DISCOVERED SERVICES
+ EXECUTING DISCOVERY PLUGINS (19)                                             
  1 cisco_cpu_memory                                                           
  1 cisco_cpu_multiitem                                                                                                                                       
  2 cisco_fan                                                                  
  2 cisco_mem              
  1 cisco_power                                                                
  1 cisco_redundancy
  1 cisco_stack
  3 cisco_temperature
 17 if64
 17 interfaces
  1 snmp_info
  1 uptime
SUCCESS - Found 48 services

There are duplicate interface items found by if64 and interfaces. There was only if64 items until version CRE 2.3.0p29.
I found the problem in the werk 17786. After renaming ~/lib/python3/cmk/plugins/collection/agent_based/if32_with_alias.py the problem disappears.

Can confirm this as a 2.3.0p30 bug in CEE as well, I don’t have the time to fix it myself right now but raised a ticket with checkmk GmbH :slight_smile:

2 Likes

FYI this will be fixed in 2.3.0p31 Werk #17881: if64/interfaces: Duplicate service description

1 Like