SNMP Check from core, how to discovery from WATO/GUi?

Hello there, i tried wandering for solution but i’m still confused.
I have some HPE 5800 and 5500 switches and i want to check the Fan and PSU status. I see from core plugins hp_hh3c_power and hp_hh3c_fan.

Great! from CLI

cmk -vI --detect-plugins=hp_hh3c_power,hp_hh3c_fan hostname

i get success from discovery plugin, and with cmk -R i see the checks running for this host.

But, if i made a normal run service discovery from the GUI, the snmp plugins disappear.

I wandering in the setup and i made in “snmp rules” - “disabled or enabled sections SNMP” one rule for fan and one for power, obivously in the right folder in wato.

A this point things are weird, a few switch starting discovery but many others not. And for the few, if i make a run service discovery, check disappear again…

I missing something? there is a correct path to enabled this checks from wato?

Thanks

The SNMP scan function seems not to work for your devices.

It’s this section of the plugin:

    detect=all_of(
        startswith(OID_SysObjectID, ".1.3.6.1.4.1.25506"),
        any_of(contains(OID_SysDesc, "H3C"), contains(OID_SysDesc, "HPE")),
    ),

Does your sysDescription OID contain H3C or HPE?

When you call the service discovery with --detect-plugins this is ignored.

Thanks for the reply, seems is report HP without E

HP Comware Platform Software, Software Version 5.20, Release 1211P06 HP A5800AF-48G Switch Copyright (c) 2010-2012 Hewlett-Packard Development Company, L.P.

ok, i think this can point me in the right direction
Thank you

BTW i changed the python file and is worked
Thanks

Do not change the file as it will be lost with the next update.
Copy the file into the same directory below $OMD_ROOT/local of the site and change it there.
And send a feedback to the checkmk developers.

Thanks,
the firmware is old, before switching HP/HPE. this causing the issue. The core plugin is correct.
I will inform the developers, but i guess the response.