Advertenties

Zabbix – Monitoring Windows Server 2008

Download zabbix agent file from http://www.zabbix.com/download.php and extract the file. Open command prompt from Start > Run and  then type cmd then click ok
Create new folder for zabbix agent
mkdir c:\Program Files\zabbix

Now copy zabbix_agentd.exe, zabbix_get.exe and zabbix_sender.exe from win32 (or win64 for 64-bit windows)  folder to this new directory.
Now create a new configuration file for zabbix using command prompt or notepad (as you please). For the command prompt method you can use these commands:

Echo Server=xxx.xxx.xxx.xxx > “c:\Program Files\zabbix\zabbix_agentd.conf”
Echo Hostname=%COMPUTERNAME% >> “c:\Program Files\zabbix\zabbix_agentd.conf”
 “C:\Program Files\zabbix\zabbix_agentd.exe” -c “c:\Program Files\zabbix\zabbix_agentd.conf” –i
 “C:\Program Files\zabbix\zabbix_agentd.exe” -c “c:\Program Files\zabbix\zabbix_agentd.conf” –s
Please do not forget to change the xxx.xxx.xxx.xxx above to the ip address of your zabbix server. After this your Zabbix process has been installed and is automatically started with Windows.
Now you can monitor all aspects of the server and/or execute remote commands on it. Have fun !
Advertenties

Geef een reactie

%d bloggers liken dit: