Http://www.zabbix.com/downloads/2.4.4/zabbix_agents_2.4.4.win.zip
1. Modify the file
D:\zabbix\zabbix_agents_2.4.4.win\conf\zabbix_agentd.win.conf
Logfile=c:\zabbix_agentd.log
server=10.173.230.158
serveractive=10.173.230.158
Hostname=platform-web1
2. Installation Agent
>d:\zabbix\zabbix_agents_2.4.4.win\bin\win64\zabbix_agentd.exe-c D:\zabbix\z
Abbix_agents_2.4.4.win\conf\zabbix_agentd.win.conf-i
Zabbix_agentd.exe [12884]: Service [Zabbix Agent] installed successfully
Zabbix_agentd.exe [12884]: Event source [Zabbix Agent] installed successfully
3. Start Agent client-S stop:-X
>d:\zabbix\zabbix_agents_2.4.4.win\bin\win64\zabbix_agentd.exe-c D:\zabbix\z
Abbix_agents_2.4.4.win\conf\zabbix_agentd.win.conf-s
Zabbix_agentd.exe [12684]: Service [Zabbix Agent] started successfully
---------------------------------------------------------------------------
Email Alert notification:
Http://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_12.5.orig.tar.gz
Http://www.linuxfromscratch.org/patches/blfs/7.7/heirloom-mailx-12.5-fixes-1.patch
[Email protected] heirloom-mailx-12.5]# patch-np1-i. /heirloom-mailx-12.5-fixes-1.patch
[[email protected] heirloom-mailx-12.5]# make prefix=/usr ucbinstall=/usr/bin/install Install
# Whereis MAILX
MAILX:/usr/bin/mailx/usr/share/man/man1/mailx.1
# mailx-v
12.5 6/20/10
[email protected] ~]# cat >>/etc/nail.rc << EOF
Set [email protected]
Set smtp=smtp.163.com
Set [email protected]
Set [email protected]$*19
Set Smtp-auth=login
Eof
/usr/lib/zabbix/alertscripts/sendmail.sh
#!/bin/bash
echo "$ $" | /usr/bin/mailx-s "$" $
Zabbix Windows Client installation settings and server mail notification settings