티스토리 뷰

Study/System

Cacti를 통한 모니터링

pursh 2012. 3. 16. 01:16


Cacti는 MRTG처럼 그래프롤 통해 모니터링을 지원한다.
기본적으로 APM은 설치되어져 있어야하며, 그래프 생성을 위해 RRDTool을 설치한다.

RRDTool 설치


[root@Cacti download]# tar zxvf rrdtool-1.4.7.tar.gz
rrdtool-1.4.7/
rrdtool-1.4.7/bindings/
rrdtool-1.4.7/bindings/lua/
rrdtool-1.4.7/bindings/lua/test.lua.bottom
rrdtool-1.4.7/bindings/lua/rrdlua.c
.......
.......
rrdtool-1.4.7/m4/acinclude.m4
rrdtool-1.4.7/etc/
rrdtool-1.4.7/etc/rrdcached-init
rrdtool-1.4.7/etc/rrdcached-default
[root@Cacti download]#
[root@Cacti download]#
[root@Cacti download]# cd rrdtool-1.4.7
[root@Cacti rrdtool-1.4.7]# ./configure --prefix=/usr/local/rrdtool --disable-tcl

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
.......
.......

             Libraries: -lxml2 -lglib-2.0 -lcairo -lcairo -lcairo -lm  -lwrap -lcairo -lpng12   -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 

Type 'make' to compile the software and use 'make install' to
install everything to: /usr/local/rrdtool.

       ... that wishlist is NO JOKE. If you find RRDtool useful
make me happy. Go to http://tobi.oetiker.ch/wish and
place an order.


댓글