ZABBIX
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
*ZABBIX [#q49ef0c8]
#contents
**ZABBIX HP [#vc35bee2]
-[[ZABBIX-JP>http://www.zabbix.jp]]
***ZABBIX Server [#l163a4a5]
-Software
-OS
--AIX
--FreeBSD
--HP-UX
--Linux
--MacOS X
--OpenBSD
--SCO Open Server
--Solaris
--Tru64/OSF
***ZABBIX Agent [#d37ef1d2]
-OS
--AIX
--FreeBSD
--HP-UX
--Linux
--MacOS X
--OpenBSD
--SCO Open Server
--Solaris
--Tru64/OSF
--Windows NT 4.0, Windows 2000, Windows 2003, Windows XP
--Novell NetWare
-[[ZABBIX 1.4.4>http://prdownloads.sourceforge.net/zabbix...
**need rpm(RedHat) [#d2bc9c6b]
-mysql
--mysql-devel-4.1.20-2.RHEL4.1.0.1.i386.rpm
--mysql-server-4.1.20-2.RHEL4.1.0.1.i386.rpm
--mysqlclient10-3.23.58-4.RHEL4.1.i386.rpm
-net-snmp
--net-snmp-5.1.2-11.EL4.11.i386.rpm
--net-snmp-devel-5.1.2-11.EL4.11.i386.rpm
--net-snmp-libs-5.1.2-11.EL4.11.i386.rpm
--net-snmp-perl-5.1.2-11.EL4.11.i386.rpm
--net-snmp-utils-5.1.2-11.EL4.11.i386.rpm
-etc
--perl-DBD-MySQL-2.9004-3.1.i386.rpm
--beecrypt-devel-3.1.0-6.i386.rpm
--elfutils-devel-0.97.1-5.i386.rpm
--elfutils-libelf-devel-0.97.1-5.i386.rpm
-php
--php-4.3.9-3.22.9.i386.rpm
--php-devel-4.3.9-3.22.9.i386.rpm
--php-gd-4.3.9-3.22.9.i386.rpm
--php-mysql-4.3.9-3.22.9.i386.rpm
--php-snmp-4.3.9-3.22.9.i386.rpm
***zabbix server [#x7050032]
-build
tar zxvf zabbix-1.4.4.tar.gz
cd zabbix-1.4.4
./configure --enable-server --with-mysql --with-net-snmp
make
su
make install
-zabbix user
groupadd zabbix
-mysql
create database zabbix;
grant all privileges on zabbix.* to zabbix@localhost ide...
flush privileges;
quit
cd create/schema
cd ../data
-config file
su
mkdir /etc/zabbix
cp misc/conf/zabbix_server.conf /etc/zabbix/
-log/id files
mkdir /var/run/zabbix
mkdir /var/log/zabbix
chown zabbix:zabbix /var/run/zabbix
chown zabbix:zabbix /var/log/zabbix
-init script
cp misc/init.d/redhat/zabbix_server_ctl /etc/init.d/
-change script
# base zabbix dir
BASEDIR=/usr/local
# PID file
PIDFILE=/var/run/zabbix/zabbix_server.pid
# binary file
ZABBIX_SUCKERD=$BASEDIR/sbin/zabbix_server
-start zabbix servetr
/etc/init.d/zabbix_server_ctl start
-frontends
mkdir /var/www/html/zabbix
cp -a frontend/php/* /var/www/html/zabbix/
max_execution_time = 300
***zabbix agent [#uc6da7ec]
-build
tar zxvf zabbix-1.4.4.tar.gz
cd zabbix-1.4.4
./configure --enable-agent
make
su
make install
-zabbix user
groupadd zabbix
-config file
su
mkdir /etc/zabbix
cp misc/conf/zabbix_agentd.conf /etc/zabbix/
-log/id files
mkdir /var/run/zabbix
mkdir /var/log/zabbix
chown zabbix:zabbix /var/run/zabbix
chown zabbix:zabbix /var/log/zabbix
-init script
cp misc/init.d/redhat/zabbix_agentd_ctl /etc/init.d/
-change script
# base zabbix dir
BASEDIR=/usr/local
# pid file (as of 1.0 beta 10)
PIDFILE=/var/run/zabbix/zabbix_agentd.pid
# binary file
ZABBIX_AGENTD=$BASEDIR/sbin/zabbix_agentd
-start zabbix agent
/etc/init.d/zabbix_agentd_ctl start
-rc symlink
cd /etc/rc.d/rc0.d
ln -s ../init.d/zabbix_agentd K20zabbix-agentd
cd /etc/rc.d/rc1.d
ln -s ../init.d/zabbix_agentd K20zabbix-agentd
cd /etc/rc.d/rc2.d
ln -s ../init.d/zabbix_agentd S20zabbix-agentd
cd /etc/rc.d/rc3.d
ln -s ../init.d/zabbix_agentd S20zabbix-agentd
cd /etc/rc.d/rc4.d
ln -s ../init.d/zabbix_agentd S20zabbix-agentd
cd /etc/rc.d/rc5.d
ln -s ../init.d/zabbix_agentd S20zabbix-agentd
cd /etc/rc.d/rc6.d
ln -s ../init.d/zabbix_agentd K20zabbix-agentd
sudo apt-get install zabbix-server-mysql
sudo apt-get install zabbix-frontend-php
mysql-server
mysql-client
apache2
php5
gcc
ntp
dbconfig-common
fping
libiksemel3
libopenipmi0
libsnmp15
snmpd
snmp
libmysqlclient-dev
libdbd-mysql
libmysql-cil-dev
libsnmp-dev
php-date
php5-gd
php5-mysql
otf-ipafont
ttf-monapo
-configure
./configure --enable-server --with-mysql --with-net-snmp
-font
sudo ln -s /usr/share/fonts/opentype/ipafont/ipag.otf ip...
-defines.inc.php
sudo vim /var/www/zabbix/include/defines.inc.php
misc/conf/zabbix_agentd.conf
**iptables [#p06ce5ec]
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tc...
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tc...
**Linux Disk System[#m810874c]
-zabbix_agentd
UserParameter=custom.vfs.dev.read.ops[*],cat /proc/disks...
UserParameter=custom.vfs.dev.read.ms[*],cat /proc/diskst...
UserParameter=custom.vfs.dev.write.ops[*],cat /proc/disk...
UserParameter=custom.vfs.dev.write.ms[*],cat /proc/disks...
UserParameter=custom.vfs.dev.io.active[*],cat /proc/disk...
UserParameter=custom.vfs.dev.io.ms[*],cat /proc/diskstat...
UserParameter=custom.vfs.dev.read.sectors[*],cat /proc/d...
UserParameter=custom.vfs.dev.write.sectors[*],cat /proc/...
-template: &ref(zabbix_Linux_File_System_template.xml);
終了行:
*ZABBIX [#q49ef0c8]
#contents
**ZABBIX HP [#vc35bee2]
-[[ZABBIX-JP>http://www.zabbix.jp]]
***ZABBIX Server [#l163a4a5]
-Software
-OS
--AIX
--FreeBSD
--HP-UX
--Linux
--MacOS X
--OpenBSD
--SCO Open Server
--Solaris
--Tru64/OSF
***ZABBIX Agent [#d37ef1d2]
-OS
--AIX
--FreeBSD
--HP-UX
--Linux
--MacOS X
--OpenBSD
--SCO Open Server
--Solaris
--Tru64/OSF
--Windows NT 4.0, Windows 2000, Windows 2003, Windows XP
--Novell NetWare
-[[ZABBIX 1.4.4>http://prdownloads.sourceforge.net/zabbix...
**need rpm(RedHat) [#d2bc9c6b]
-mysql
--mysql-devel-4.1.20-2.RHEL4.1.0.1.i386.rpm
--mysql-server-4.1.20-2.RHEL4.1.0.1.i386.rpm
--mysqlclient10-3.23.58-4.RHEL4.1.i386.rpm
-net-snmp
--net-snmp-5.1.2-11.EL4.11.i386.rpm
--net-snmp-devel-5.1.2-11.EL4.11.i386.rpm
--net-snmp-libs-5.1.2-11.EL4.11.i386.rpm
--net-snmp-perl-5.1.2-11.EL4.11.i386.rpm
--net-snmp-utils-5.1.2-11.EL4.11.i386.rpm
-etc
--perl-DBD-MySQL-2.9004-3.1.i386.rpm
--beecrypt-devel-3.1.0-6.i386.rpm
--elfutils-devel-0.97.1-5.i386.rpm
--elfutils-libelf-devel-0.97.1-5.i386.rpm
-php
--php-4.3.9-3.22.9.i386.rpm
--php-devel-4.3.9-3.22.9.i386.rpm
--php-gd-4.3.9-3.22.9.i386.rpm
--php-mysql-4.3.9-3.22.9.i386.rpm
--php-snmp-4.3.9-3.22.9.i386.rpm
***zabbix server [#x7050032]
-build
tar zxvf zabbix-1.4.4.tar.gz
cd zabbix-1.4.4
./configure --enable-server --with-mysql --with-net-snmp
make
su
make install
-zabbix user
groupadd zabbix
-mysql
create database zabbix;
grant all privileges on zabbix.* to zabbix@localhost ide...
flush privileges;
quit
cd create/schema
cd ../data
-config file
su
mkdir /etc/zabbix
cp misc/conf/zabbix_server.conf /etc/zabbix/
-log/id files
mkdir /var/run/zabbix
mkdir /var/log/zabbix
chown zabbix:zabbix /var/run/zabbix
chown zabbix:zabbix /var/log/zabbix
-init script
cp misc/init.d/redhat/zabbix_server_ctl /etc/init.d/
-change script
# base zabbix dir
BASEDIR=/usr/local
# PID file
PIDFILE=/var/run/zabbix/zabbix_server.pid
# binary file
ZABBIX_SUCKERD=$BASEDIR/sbin/zabbix_server
-start zabbix servetr
/etc/init.d/zabbix_server_ctl start
-frontends
mkdir /var/www/html/zabbix
cp -a frontend/php/* /var/www/html/zabbix/
max_execution_time = 300
***zabbix agent [#uc6da7ec]
-build
tar zxvf zabbix-1.4.4.tar.gz
cd zabbix-1.4.4
./configure --enable-agent
make
su
make install
-zabbix user
groupadd zabbix
-config file
su
mkdir /etc/zabbix
cp misc/conf/zabbix_agentd.conf /etc/zabbix/
-log/id files
mkdir /var/run/zabbix
mkdir /var/log/zabbix
chown zabbix:zabbix /var/run/zabbix
chown zabbix:zabbix /var/log/zabbix
-init script
cp misc/init.d/redhat/zabbix_agentd_ctl /etc/init.d/
-change script
# base zabbix dir
BASEDIR=/usr/local
# pid file (as of 1.0 beta 10)
PIDFILE=/var/run/zabbix/zabbix_agentd.pid
# binary file
ZABBIX_AGENTD=$BASEDIR/sbin/zabbix_agentd
-start zabbix agent
/etc/init.d/zabbix_agentd_ctl start
-rc symlink
cd /etc/rc.d/rc0.d
ln -s ../init.d/zabbix_agentd K20zabbix-agentd
cd /etc/rc.d/rc1.d
ln -s ../init.d/zabbix_agentd K20zabbix-agentd
cd /etc/rc.d/rc2.d
ln -s ../init.d/zabbix_agentd S20zabbix-agentd
cd /etc/rc.d/rc3.d
ln -s ../init.d/zabbix_agentd S20zabbix-agentd
cd /etc/rc.d/rc4.d
ln -s ../init.d/zabbix_agentd S20zabbix-agentd
cd /etc/rc.d/rc5.d
ln -s ../init.d/zabbix_agentd S20zabbix-agentd
cd /etc/rc.d/rc6.d
ln -s ../init.d/zabbix_agentd K20zabbix-agentd
sudo apt-get install zabbix-server-mysql
sudo apt-get install zabbix-frontend-php
mysql-server
mysql-client
apache2
php5
gcc
ntp
dbconfig-common
fping
libiksemel3
libopenipmi0
libsnmp15
snmpd
snmp
libmysqlclient-dev
libdbd-mysql
libmysql-cil-dev
libsnmp-dev
php-date
php5-gd
php5-mysql
otf-ipafont
ttf-monapo
-configure
./configure --enable-server --with-mysql --with-net-snmp
-font
sudo ln -s /usr/share/fonts/opentype/ipafont/ipag.otf ip...
-defines.inc.php
sudo vim /var/www/zabbix/include/defines.inc.php
misc/conf/zabbix_agentd.conf
**iptables [#p06ce5ec]
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tc...
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tc...
**Linux Disk System[#m810874c]
-zabbix_agentd
UserParameter=custom.vfs.dev.read.ops[*],cat /proc/disks...
UserParameter=custom.vfs.dev.read.ms[*],cat /proc/diskst...
UserParameter=custom.vfs.dev.write.ops[*],cat /proc/disk...
UserParameter=custom.vfs.dev.write.ms[*],cat /proc/disks...
UserParameter=custom.vfs.dev.io.active[*],cat /proc/disk...
UserParameter=custom.vfs.dev.io.ms[*],cat /proc/diskstat...
UserParameter=custom.vfs.dev.read.sectors[*],cat /proc/d...
UserParameter=custom.vfs.dev.write.sectors[*],cat /proc/...
-template: &ref(zabbix_Linux_File_System_template.xml);
ページ名: