<ul> <li>NAS4FreeZabbix Agent kometchtech</li> <li>Agenda NAS4Free Zabbix Agent FAQ</li> <li>NAS4Free FreeBSD9NAS FreeNAS FreeBSD89 NAS4Free http://www.nas4free.org/</li> <li>GEOMRAIDZFS Web</li> <li>SNMPZFS FreeBSD</li> <li>Zabbix</li> <li>Zabbix Agent</li> <li>hp Microserver N36L Mem: 8GB USB boot HDD: 1TB *4</li> <li>Zabbix Agent # wget http://downloads.sourceforge. net/project/zabbix/ZABBIX%20Latest%20Stable/2.0.7 /zabbix-2.0.7.tar.gz wget: Command not found. wget /: write failed, filesystem is full</li> <li>orz HDD</li> <li>Zabbix Agent # pkg_add -r zabbix2-agent Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1- release/Latest/zabbix2-agent.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1- release/All/libiconv-1.14.tbz... Done. ===> Creating users and/or groups. Creating group 'zabbix' with gid '122'. Creating user 'zabbix' with uid '122'.</li> <li>config/usr/local/etc/zabbix2/ # ls -l /usr/local/etc/zabbix2/ total 8 -rw-r--r-- 1 root wheel 1605 Apr 10 20:08 zabbix_agent. conf.sample -rw-r--r-- 1 root wheel 5718 Apr 10 20:08 zabbix_agentd. conf.sample</li> <li>Zabbix Server FreeBSD</li> <li>Zabbix config USB Boot</li> <li>NAS4Free</li> <li>#!/bin/sh # Valiable ZBX_CONF=/usr/local/etc/zabbix2/zabbix_agentd.conf ZBX_RC=/usr/local/etc/rc.d ZABBIX_SERVER_IP="" SERVER_NAME="" # add Zabbix-agent /usr/sbin/pkg_add -r zabbix2-agent # copy configure /bin/cp ${ZBX_CONF}.sample ${ZBX_CONF} # Value reWritable sed -i '' -e 's/Server=127.0.0.1/Server='${ZABBIX_SERVER_IP}'/' ${ZBX_CONF} sed -i '' -e 's/ServerActive=127.0.0.1/ServerActive='${ZABBIX_SERVER_IP}'/' ${ZBX_CONF} sed -i '' -e 's/Hostname=Zabbix server/Hostname='${SERVER_NAME}'/' ${ZBX_CONF} sed -i '' -e 's/# EnableRemoteCommands=0/EnableRemoteCommands=1/' ${ZBX_CONF} # auto start config echo "zabbix_agentd_enable="YES"" >> /etc/rc.conf # Zabbix agent start ${ZBX_RC}/zabbix_agentd start</li> <li>1. zabbix-agent 2. config 3. zabbix-agentd 4. zpool NAS4Free https://github. com/kometchtech/zabbix_nas4free</li> <li>system.run</li> <li>NAS4FreeZabbix Agent</li> </ul>