Closed CheckB closed 5 years ago
If you execute all parameters from userparameter_md.conf, then they will execute correctly.
Hi. Execute this command
$ zabbix_get -s 192.168.0.3 -k 'md.discover'
{"data":[{"{#MDNAME}":"md0"}]}
Where 192.168.0.3 is your phisical server
You should store userparameter_md.conf
at your server with MD Raid, but not Zabbix server.
If I execute this command, I have the same message because zabbix (localhost) server is virtual server w/o MD Raid.
$ zabbix_get -s localhost -k 'md.discover'
ZBX_NOTSUPPORTED: Unsupported item key.
@krom
@CheckB
service zabbix-agent restart
// or another command
zabbix_get -s localhost -k 'md.discover'
?
Of course I did a restart. And the problem with all the templates added, except for the standard ones from zabbix.
I would gladly conclude, but I can’t solve this problem yet:
zabbix_get [10193]: Check access restrictions in Zabbix agent configuration
On Zabbix 3.0, everything works without problems.
Did you import template_md_4.0.xml
?
I created template_md_3.0.xml
for zabbix v3 then migrated to zabbix 4.0 with exists template and params.
template_md_4.0.xml
was added by PR
I tried 3.0, 4.0. Watched diff between 3.0 and 4.0. Nothing that could be a solution.
Im closing issue this look like miss configuration.
Hi. On a host with debian 8, everything is ok, on a host with debian 9 in the detection rules: Unsupported item key. What could be the problem? p.s. zabbix 4.0