Ad Widget

Collapse

Can you confirm this userparameter setting ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oliverm
    Senior Member
    • May 2006
    • 155

    #1

    Can you confirm this userparameter setting ?

    Hi,

    I'm looking at using userparameter to run an script on a windows box.

    Can you confirm this should work?

    In the agents conf file on the windows box I put

    UserParameter=<KEY NAME>,<PATH TO SCRIPT>

    So...

    UserParameter=CustomEventlog,scripts/customeventlog.bat

    will run the customeventlog.bat file when it receives a call for the key 'CustomEventlog' ??? Also, if in the Items section of the Zabbix web interface i create an item with a key of 'CustomEventlog["PARAM_GOES_HERE"]' will "PARAM_GOES_HERE" be passed to the script as a parameter ?

    Olly
Working...