Hi,
i want to monitor if the Windows Host on which the zabbix agent runs, can ping an other server in the LAN. So I created a batchfile (uPing.cmd) which returns 0 if OK and 1 if it fails. In the zabbix_agentd.conf i created two UserParameters:
UserParameter=uPing[*],c:\zabbix\uPing.cmd $1
UserParameter=uPing21,c:\zabbix\uPing.cmd 10.20.1.21
On the Server i created two items:
NAME:uPing / TYPE:Zabbix Agent / KEY:uPing[10.20.1.21] / TYPE OF INFORMATION:float
NAME:uPing21 / TYPE:Zabbix Agent / KEY:uPing21 / TYPE OF INFORMATION:float
The second one works
, the first not
. Why???
zabbix_server.log:
009242:20061025:105003 Parameter [uPing[10.20.1.21]] is not supported by agent on host [work] Old status [0]
I have tried this with 1.1.1, 1.1.2 and 1.1.3 on Windows XP.
Thanks for help,
Robert
i want to monitor if the Windows Host on which the zabbix agent runs, can ping an other server in the LAN. So I created a batchfile (uPing.cmd) which returns 0 if OK and 1 if it fails. In the zabbix_agentd.conf i created two UserParameters:
UserParameter=uPing[*],c:\zabbix\uPing.cmd $1
UserParameter=uPing21,c:\zabbix\uPing.cmd 10.20.1.21
On the Server i created two items:
NAME:uPing / TYPE:Zabbix Agent / KEY:uPing[10.20.1.21] / TYPE OF INFORMATION:float
NAME:uPing21 / TYPE:Zabbix Agent / KEY:uPing21 / TYPE OF INFORMATION:float
The second one works
, the first not
. Why???zabbix_server.log:
009242:20061025:105003 Parameter [uPing[10.20.1.21]] is not supported by agent on host [work] Old status [0]
I have tried this with 1.1.1, 1.1.2 and 1.1.3 on Windows XP.
Thanks for help,
Robert
Comment