CMK version: 2.0.0p18 OS version:Centos Linux 7 x86_64
Error message:[special_bi] Agent exited with code 1: too many values to unpack (expected 2)(!!)
Output of “cmk --debug -vvn hostname”:*
[agent] Version: 2.0.0p18, OS: linux, [special_bi] Agent exited with code 1: too many values to unpack (expected 2)(!!), execution time 18.2 sec | execution_time=18.210 user_time=0.070 system_time=0.020 children_user_time=0.250 children_system_time=0.040 cmk_time_agent=17.780 cmk_time_ds=0.050
There is more output from the debug command but it doesn’t look relevant.
This was working on 1.6 - seems to be broken on 2.0.
We have aggregation rule setup to apply the check status of an aggregation to a host. This works ok when aggregation group filtering and host assignment are not selected but fails with the above error when they are selected in the rule.
Please can you do a “cmk -D hostname” and then execute the command for the special agent manually.
There you should get the real error message from this special agent.
Running the “cmk -D hostname” command gets the following output for the special agent:
Type of agent:
TCP: 10.20.141.200:6556
Program: /omd/sites/cmktst/share/check_mk/agents/special/agent_bi
Program stdin:
[{'site': 'local', 'credentials': 'automation', 'filter': {'groups': ['CMK-TST']}, 'assignments': {'affected_hosts': 'affected_hosts'}}]
Process piggyback data from /omd/sites/cmktest/tmp/check_mk/piggyback/cmkhost
Running the special agent command manually as follows returns the following error:
echo "[{'site': 'local', 'credentials': 'automation', 'filter': {'groups': ['CMK-TST']}, 'assignments': {'affected_hosts': 'affected_hosts'}}]" | /omd/sites/cmktst/share/check_mk/agents/special/agent_bi
too many values to unpack (expected 2)