Hi All,
I've made myself a LDD for discovering physical disk in an array controller.
when I test my key from the command line I get a valid result;
But when running it through the discovery process it goes "not supported"
this is from the zabbix_agentd.log;
am I reading the log file right in saying that it is getting [0] result? Can I get some direction on how to further troubleshoot the problem?
I've made myself a LDD for discovering physical disk in an array controller.
when I test my key from the command line I get a valid result;
zabbix_agentd.exe -c .\zabbix_agentd.conf -t system.run["cscript /b %zbxpth%scripts\RAID-LLD-HP.vbs"]
system.run[cscript /b c:\zabbix_agent\scripts\RAID-LLD-HP.vbs][cscript /b c:\zabbix_agent\scripts\RAID-LLD-HP.vbs] [t|{ "data":[
{ "{#SLOTNUM}":"0","{#DRIVEID}":"1I:1:1" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"1I:1:2" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"1I:1:3" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"1I:1:4" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"2I:1:5" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"2I:1:6" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"2I:1:7" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"2I:1:8" }
] }]
system.run[cscript /b c:\zabbix_agent\scripts\RAID-LLD-HP.vbs][cscript /b c:\zabbix_agent\scripts\RAID-LLD-HP.vbs] [t|{ "data":[
{ "{#SLOTNUM}":"0","{#DRIVEID}":"1I:1:1" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"1I:1:2" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"1I:1:3" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"1I:1:4" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"2I:1:5" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"2I:1:6" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"2I:1:7" },
{ "{#SLOTNUM}":"0","{#DRIVEID}":"2I:1:8" }
] }]
But when running it through the discovery process it goes "not supported"
this is from the zabbix_agentd.log;
1592:20130722:214326.453 Executing command 'cscript /b %zbxpth%scripts\RAID-LLD-HP.vbs'
1592:20130722:214326.516 Run remote command [cscript /b %zbxpth%scripts\RAID-LLD-HP.vbs] Result [0] []...
1592:20130722:214326.516 For key [system.run["cscript /b %zbxpth%scripts\RAID-LLD-HP.vbs"]] received value [ZBX_NOTSUPPORTED]
1592:20130722:214326.516 In process_value() key:'HOST-HYPERV:system.run["cscript /b %zbxpth%scripts\RAID-LLD-HP.vbs"]' value:'ZBX_NOTSUPPORTED'
1592:20130722:214326.516 Run remote command [cscript /b %zbxpth%scripts\RAID-LLD-HP.vbs] Result [0] []...
1592:20130722:214326.516 For key [system.run["cscript /b %zbxpth%scripts\RAID-LLD-HP.vbs"]] received value [ZBX_NOTSUPPORTED]
1592:20130722:214326.516 In process_value() key:'HOST-HYPERV:system.run["cscript /b %zbxpth%scripts\RAID-LLD-HP.vbs"]' value:'ZBX_NOTSUPPORTED'
am I reading the log file right in saying that it is getting [0] result? Can I get some direction on how to further troubleshoot the problem?
Comment