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
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