PDA

View Full Version : Zabbix Win32 script execution


very_little_jedi
15-01-2007, 16:00
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
15-01-2007, 22:37
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