Hi,
I would like to add a template for discover logical disk and physical disk.
This template is "Template OS Windows Discovery".
In this template there is logical disk discovery, physical disk discovery and Network interface discovery. Everything works except logical disk discovery because I have this error : Value should be a JSON object.
If I test since zabbix server with command it's ok :
root@ENT-SC-ZBX01:/home/administrator# zabbix_get -s 192.168.110.20 -p 10050 -k windowsldisk.discovery
{
"data":[
{ "{#DISKNUMLET}" : "C:" },
{ "{#DISKNUMLET}" : "D:" },
{ "{#DISKNUMLET}" : "D:\ExchangeDB\Arbitration" },
{ "{#DISKNUMLET}" : "D:\ExchDB\ElvAutres_01_DB" },
{ "{#DISKNUMLET}" : "D:\ExchDB\ElvAutres_02_DB" },
{ "{#DISKNUMLET}" : "D:\ExchDB\ElvAutres_03_DB" },
{ "{#DISKNUMLET}" : "D:\ExchDB\PersEducNat_01_DB" },
{ "{#DISKNUMLET}" : "D:\ExchDB\PersEducNat_02_DB" },
{ "{#DISKNUMLET}" : "D:\ExchDB\PersEducNat_03_DB" },
{ "{#DISKNUMLET}" : "D:\ExchLOG\ElvAutres_01_LOG" },
{ "{#DISKNUMLET}" : "D:\ExchLOG\ElvAutres_02_LOG" },
{ "{#DISKNUMLET}" : "D:\ExchLOG\ElvAutres_03_LOG" },
{ "{#DISKNUMLET}" : "D:\ExchLOG\PersEducNat_01_LOG" },
{ "{#DISKNUMLET}" : "D:\ExchLOG\PersEducNat_02_LOG" },
{ "{#DISKNUMLET}" : "D:\ExchLOG\PersEducNat_03_LOG" }
]
}
But not since interface web.
I would like to add a template for discover logical disk and physical disk.
This template is "Template OS Windows Discovery".
In this template there is logical disk discovery, physical disk discovery and Network interface discovery. Everything works except logical disk discovery because I have this error : Value should be a JSON object.
If I test since zabbix server with command it's ok :
root@ENT-SC-ZBX01:/home/administrator# zabbix_get -s 192.168.110.20 -p 10050 -k windowsldisk.discovery
{
"data":[
{ "{#DISKNUMLET}" : "C:" },
{ "{#DISKNUMLET}" : "D:" },
{ "{#DISKNUMLET}" : "D:\ExchangeDB\Arbitration" },
{ "{#DISKNUMLET}" : "D:\ExchDB\ElvAutres_01_DB" },
{ "{#DISKNUMLET}" : "D:\ExchDB\ElvAutres_02_DB" },
{ "{#DISKNUMLET}" : "D:\ExchDB\ElvAutres_03_DB" },
{ "{#DISKNUMLET}" : "D:\ExchDB\PersEducNat_01_DB" },
{ "{#DISKNUMLET}" : "D:\ExchDB\PersEducNat_02_DB" },
{ "{#DISKNUMLET}" : "D:\ExchDB\PersEducNat_03_DB" },
{ "{#DISKNUMLET}" : "D:\ExchLOG\ElvAutres_01_LOG" },
{ "{#DISKNUMLET}" : "D:\ExchLOG\ElvAutres_02_LOG" },
{ "{#DISKNUMLET}" : "D:\ExchLOG\ElvAutres_03_LOG" },
{ "{#DISKNUMLET}" : "D:\ExchLOG\PersEducNat_01_LOG" },
{ "{#DISKNUMLET}" : "D:\ExchLOG\PersEducNat_02_LOG" },
{ "{#DISKNUMLET}" : "D:\ExchLOG\PersEducNat_03_LOG" }
]
}
But not since interface web.
Comment