Ad Widget

Collapse

Zabbix Win32 script execution

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • very_little_jedi
    Junior Member
    • Jan 2007
    • 1

    #1

    Zabbix Win32 script execution

    Hi,

    With the Zabbix client Linux, it's possible to execute a custom script and send back the resultat to the zabbix server.
    Is it possible to do the same wit the Zabbix client Win32.
    I have seen parameters in Win32 zabbix configuration file to "listen" the event viewer but I don't find the parameter to use a script.

    Do you have any idea ?

    If it's not possible in the current version, do you envisage this feature in a next
    one?

    Thanks in advance,
  • AlfieRB
    Junior Member
    • Oct 2006
    • 16

    #2
    Hello...

    You actually can do that with the Win32 agent using the UserParameter directive in the Zabbix_Agentd.conf file.

    Here's an example I have of a userparameter that returns a string of any services which are set to automatic but aren't running:

    UserParameter=ServicesNotRunning,cscript.exe //nologo "C:\Program Files\Zabbix Agent\Scripts\autoservicesnotrunning.vbs"

    I'm using Zabbix Win32 agent version 1.1.3.

    HTH,
    - Alfonso

    Comment

    Working...