Ad Widget

Collapse

UserParameter Variables on Windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RobertS
    Member
    • Aug 2006
    • 57

    #1

    UserParameter Variables on Windows

    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
  • RobertS
    Member
    • Aug 2006
    • 57

    #2
    OK, I found it on my own: Windows Agent does not support wildcards.

    Solution:

    Comment

    Working...