PDA

View Full Version : Windows agent scripting (cscript)


bbrendon
10-02-2006, 08:42
I'm using the beta6 agent and I'm trying to use cscript to create cusom parameters. Has anyone done this successfully? I created a script that only does:

wscript.echo "1"

I was able to change the item to "character" and I get a bunch of 1's in zabbix, but as soon as i change it back to float I get a bunch of nothing in zabbix.

Is this a bug? anyone have luck with this?

I see it was discussed here once before and apparently works. http://www.zabbix.com/forum/showthread.php?t=480

mpeide
10-02-2006, 19:10
I found that after I upgraded my WIN32 agents to the beta6 version that I was able to sucessfully recieve integer values from user parameters(cscript).

I was using a pretty old agent because I was having issues with beta4 and beta5. Turns out that when I was ftp'ing the file from my zabbix box to a windows server I wasn't forcing binary transfers (smart FTP software has made me lazy) and then the WIN32 wouldn't exist.

Good Luck