Ad Widget

Collapse

Windows agent scripting (cscript)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bbrendon
    Senior Member
    • Sep 2005
    • 870

    #1

    Windows agent scripting (cscript)

    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
    Last edited by bbrendon; 10-02-2006, 09:51.
    Unofficial Zabbix Expert
    Blog, Corporate Site
  • mpeide
    Junior Member
    • Jul 2005
    • 21

    #2
    Windows agent scripting (cscript)

    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

    Comment

    Working...