We’ve got a mixture of Cisco and HP Procurve switches deployed that we are monitoring, I got all the interface descriptions to show up in the Cisco devices by using this in the main.mk file:
if_inventory_uses_description = True
But the HP switches don’t show any interface descriptions. From what I read I needed to add:
if_inventory_uses_alias = True
From the table here to my main.mk file:
http://mathias-kettner.de/checkmk_check_if64.html
However the names / aliases don’t show up in the checks on the device. Can you only use one command or the other in the main.mk file? I did try it with just the uses_alias line in the main.mk file and it didn’t come up with the names anyway.
A snmpwalk against the HP switch I’m testing with and it does show the aliases across all the interfaces we have labeled:
IF-MIB::ifAlias.1 = STRING:
IF-MIB::ifAlias.2 = STRING:
IF-MIB::ifAlias.3 = STRING: Nathan’s-Office
IF-MIB::ifAlias.4 = STRING: Test-PC
IF-MIB::ifAlias.5 = STRING: IP-Phone
Thanks,
Nathan
We've got a mixture of Cisco and HP Procurve switches deployed that we
are monitoring, I got all the interface descriptions to show up in the
Cisco devices by using this in the main.mk file:
if_inventory_uses_description = True
But the HP switches don't show any interface descriptions. From what I
read I needed to add:
if_inventory_uses_alias = True
From the table here to my main.mk file:
http://mathias-kettner.de/checkmk_check_if64.html
However the names / aliases don't show up in the checks on the device.
Can you only use one command or the other in the main.mk file? I did try
it with just the uses_alias line in the main.mk file and it didn't come
up with the names anyway.
A snmpwalk against the HP switch I'm testing with and it does show the
aliases across all the interfaces we have labeled:
IF-MIB::ifAlias.1 = STRING:
IF-MIB::ifAlias.2 = STRING:
IF-MIB::ifAlias.3 = STRING: Nathan's-Office
IF-MIB::ifAlias.4 = STRING: Test-PC
IF-MIB::ifAlias.5 = STRING: IP-Phone
Thanks,
Nathan
You can enable both options at the same time, but I'm not sure which will
take precedence for the Cisco switch.
I'd recommend you make the HP Procurves work in a different - test - site
at first and check out the right settings. 90% of times where you don't get
the Alias/Descr showing up right it will be due to not using SNMPv2+ 
Florian