What is ipmi_discrete

CMK version: Raw Edition 2.2.0p30
OS version: Debian Stable

Error message: Check_MK Agent

Version: 2.2.0p30, OS: linux, TLS is not activated on monitored host (see details), Agent plugins: 2, Local checks: 1, Timed out plugin(s): ipmi_discrete

What is impi_discrete? If i google it, i only find some no informational “werks”.
It not even mentioned in ~/share/check_mk/agents/cfg_examples/exclude_sections.cf

Anyone?

1 Like

look like it’s a section of the IPMI plugin:

$ grep -A 10 register.check_plugin lib/python3/cmk/base/plugins/agent_based/ipmi.py
register.check_plugin(
    name="ipmi",
    sections=["ipmi", "ipmi_discrete"],
    service_name="IPMI Sensor %s",
    discovery_function=discover_ipmi,
    discovery_ruleset_name="inventory_ipmi_rules",
    discovery_default_parameters={"discovery_mode": ("summarize", {})},
    check_function=check_ipmi,
    check_ruleset_name="ipmi",
    check_default_parameters={"ignored_sensorstates": ["ns", "nr", "na"]},
)

I am still not sure how the error occurred. But is was solved removing the following file

$ cat /var/lib/check_mk_agent/spool/ipmi_discrete.cachefail
<<<checkmk_cached_plugins:sep(124)>>>
timeout|ipmi_discrete|600|2132392

which shouldn’t be there because ipmi is disabled on this host:

$ grep -i ipmi /etc/check_mk/exclude_sections.cfg
MK_SKIP_IPMISENSORS=yes
MK_SKIP_IPMITOOL=yes

I guess this is just one of those, “it shouldn’t happen”, “not yet documented” or " … crickets … " bugs in checkmk. Hope this might help others.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.