Ad Widget

Collapse

abstract script path under windows?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xs-
    Senior Member
    Zabbix Certified Specialist
    • Dec 2007
    • 393

    #1

    abstract script path under windows?

    Hi,

    I dont know a better description for this so i'll call it an abstract path

    We have, among other types, tons of windows servers. Depending on the type of server, zabbix is installed in either c:\program files\zabbix agent\ or d:\program files\zabbix agent\
    We use scripts for use with UserParameter, which are placed in a subdirectory of the zabbix agent install folder.
    I would like to be able to call these scripts from UserParameter in the zabbix_agentd.conf without the use of the drive letter and perferably the installation path, i.e. $ZABBIX_HOME\scripts\<script>.
    I have tried several things but i cant find any means to do this. Anyone got a good idea to do this?
Working...