SNMP check failed

Hi,

I’ve configured SNMP check for one of the Dell servers and I can get the CPU temperature via cli:
snmpget -v 2c -c $comunity $server .1.3.6.1.4.1.674.10892.1.700.20.1.6.1.1 # this is CPU1 temp
SNMPv2-SMI::enterprises.674.10892.1.700.20.1.6.1.1 = INTEGER: 670

However, when I run it via web ui, I get the error:
UNKNOWN - check failed - please submit a crash report!

and when I click on the little bomb icon I see this:
TypeError (float argument required, not NoneType)

How should I deal with this?

Thanks!

You could try setting the Host to No agent + NO special configured but have SNMP activated.

Also you can try to see what you get by switching to the OMD user

omd su

and running :
cmk -IIv HOSTNAME
cmk -IIv --debug HOSTNAME

This often shows you where or why it fails.
There is also the offchance that, if the server is too new, that the automated checks don’t have those MIBs included yet, which is rare but could happen (was the case with some Aruby Type switches we had but the check for it was fixed in the next minor update).

Hm, I set it no No agent, so only SNMP and it showed CPU temperatures. Then I reverted it to dual agent, and it still works. I have no idea why, but I am happy…

Thanks!