-
Problem report
-
Resolution: Won't fix
-
Trivial
-
None
-
None
-
None
-
Server and Proxies at 4.4.4
active agents at 4.0.16 over the proxies
We have the problem, that some hosts don't get their block devices correctly discovered.
While /proc/discstats is perfectly gathered with resulting in this value for example:
{{
{"values":
,"lld":[{"
{#DEVNAME}":"sdb"},{"{#DEVNAME}":"sda"},{"
{#DEVNAME}":"sda1"},{"{#DEVNAME}":"sda2"},{"
{#DEVNAME}":"sda3"},{"{#DEVNAME}":"sr0"},{"
{#DEVNAME}":"dm-0"},{"{#DEVNAME}":"dm-1"},{"
{#DEVNAME}":"dm-2"},{"{#DEVNAME}":"dm-3"},{"
{#DEVNAME}":"dm-4"},{"{#DEVNAME}":"dm-5"},{"
{#DEVNAME}":"dm-7"},{"{#DEVNAME}":"dm-8"},{"
{#DEVNAME}":"dm-9"},{"{#DEVNAME}":"dm-10"},{"
{#DEVNAME}":"dm-11"}]}}}Block devices discovery is throwing this:
Cannot create item: invalid value for preprocessing step #1: unsupported construct in jsonpath starting with: "\'sdb\'][12]".
Cannot create item: invalid value for preprocessing step #1: unsupported construct in jsonpath starting with: "\'sda\'][12]".
Cannot create item: invalid value for preprocessing step #1: unsupported construct in jsonpath starting with: "\'sdb\'][13]".
Cannot create item: invalid value for preprocessing step #1: unsupported construct in jsonpath starting with: "\'sda\'][13]".
Not one block device is created. If I test the preprocessing step with the given value it outputs a good result:
{{[{"{#DEVNAME}
":"sdb"},{"
{#DEVNAME}":"sda"},{"{#DEVNAME}":"sda1"},{"
{#DEVNAME}":"sda2"},{"{#DEVNAME}":"sda3"},{"
{#DEVNAME}":"sr0"},{"{#DEVNAME}":"dm-0"},{"
{#DEVNAME}":"dm-1"},{"{#DEVNAME}":"dm-2"},{"
{#DEVNAME}":"dm-3"},{"{#DEVNAME}":"dm-4"},{"
{#DEVNAME}":"dm-5"},{"{#DEVNAME}":"dm-7"},{"
{#DEVNAME}":"dm-8"},{"{#DEVNAME}":"dm-9"},{"
{#DEVNAME}":"dm-10"},{"{#DEVNAME}":"dm-11"}]}}
While I modified the template, I already have reimported and tested it with the current one in git:master but it results in the same problem.