Dain.Bora.Net  ver 2.0  
About Me
ÇÁ·ÎÇÊ
³ªÀÇ °¡Á·
¿ë's X-file
¼÷'s X-file
´ÙÀÎȨÇÇ ver 1.0
¼ÒÁßÇÑ »ç¶÷µé
°¡Á·µé
Ä£±¸µé
Á÷À嵿·áµé
´ÙÀÎ&°ÇÈñ
´ÙÀÎÀÌ À̾߱â
°ÇÈñ À̾߱â
¾ö¸¶ À̾߱â
±â¾ï¼ÓÀ¸·Î
°¡Á·µé°ú ÇÔ²²
Áñ°Å¿î Ãß¾ïµé
»çÁø & ¹°»ýÈ°
µðÄ« À̾߱â
ÇູÇÑ ¹°»ýÈ°
Æ÷Åä°¶·¯¸®
°Ô½ÃÆÇ
ºÎ½º·¯±âµé
ÀÚ·á½Ç
ÁÁÀº±Û
½ºÅ͵ð
¹æ¸í·Ï
¸Ô°íÀÚ°í³î°í
°¡º¼¸¸ÇÑ°÷
¸Ô°í½ÍÀº°Í
¸µÅ©
Ä«¿îÅÍ
¿À´Ã : 5
Àüü : 43901
³¯ÀÚ : 2024/12/04

Category Category
rrdtool ¼³Ä¡
# ¸®´ª½º/À¯´Ð½º   2007-02-27 22:32
ÀÌ»ó¿ë
- ÃÖÁ¾ ¼öÁ¤ÀÏ : 2006/12/31 -


-----------------------------------------------
1. °ü·Ã ÇÁ·Î±×·¥ ´Ù¿î·Îµå    
-----------------------------------------------
  (1) RRDTool ´Ù¿î·Îµå
      1) http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/download.en.html
      2) http://www.rootman.co.kr/NFS/Rrdtool/rrdtool-1.2.15.tar.tar

  (2) HotSaNIC ´Ù¿î·Îµå
      1) http://hotsanic.sourceforge.net/archive/
      2) http://www.rootman.co.kr/NFS/Rrdtool/HotSaNIC.tgz
      

  (3) ImageMagick
      1) Redhat 7.3 System
         http://www.rootman.co.kr/download/Lib/ImageMagic/7.3/
      2) Redhat 9.x System
         http://www.rootman.co.kr/download/Lib/ImageMagic/9.0/
      3) Souce Install
         ftp://ftp.imagemagick.org/pub/ImageMagick/linux/


-----------------------------------------------
2. RRDTool ¼³Ä¡
-----------------------------------------------
   [root@rootman root] # tar zxvf rrdtool-1.0.49.tar.gz
   [root@rootman root] # cd rrdtool-1.0.49
   [root@rootman rrdtool-1.0.49]# ./configure --prefix=/usr/local/rrdtool && make; make install && make site-perl-install


-----------------------------------------------
3. HotSaNIC ¼³Ä¡
-----------------------------------------------
   [root@rootman root]# tar xvfz HotSaNIC-0.4.0.tar
   [root@rootman root]# mv HotSaNIC /usr/local/
   [root@rootman root]# ./setup.pl

   * setup.pl ½ºÅ©¸³Æ®´Â À¥»ó¿¡¼­ º¸¿© ÁÙ ¸ð´ÏÅ͸µ ´ë»ó¿¡ ´ëÇØ Ã¼Å·ÇÑ´Ù.
     °¡±ÞÀû worm°ú pingÀº Á¦¿ÜÇÏ´Â °ÍÀÌ ÁÁ½À´Ï´Ù.


    Module found: SENSORS
    Module found: DNET
    Module found: PART
    Module found: PING
    Module found: TRAFFIC
    Module found: NETWORKS
    Module found: DISKIO
    Module found: SYSTEM
    Module found: WORMS
    ---------------------------------------
    checking for OS-type (current: not configured)
    OSTYPE="Linux"
    checking path to "rrdtimer" (current: not configured)
    DAEMONDIR="/usr/local/HotSaNIC"
    checking path to "rrdtool" (current: not configured)
    BINPATH="not configured"
    LOGDIR="$DAEMONDIR/log/"
    PIDFILE="$DAEMONDIR/log/rrdtimer.pid"
    DIAGRAMLOG="last"
    LOGSIZE="200000"
    LOGBACKUPS="5"
    DEBUGLEVEL="-1"
    STIME="120"
    RUN="sensors dnet part traffic networks diskio system"
    WEBDIR="not configured"
    WIDTH="600"
    HEIGHT="200"
    IMAGEFORMAT="gif"
    SHOW="sensors dnet part traffic networks diskio system"
    ORDER="traffic system part ping dnet sensors"
    DTIME="15"
    CTIME="24"
    CONVERTMETHOD="ImgMgck"
    checking path to "convert" from ImageMagick (current: not configured)
    CONVERTPATH="not configured"
    THUMBSIZE="20%"
    REFRESH="300"
    checking path to "snmpwalk" (current: not configured)
    detected: /usr/bin/snmpwalk
    is this corrrect? (y)y
    SNMPWALK="/usr/bin/snmpwalk"
    checking path to "snmpget" (current: not configured)
    detected: /usr/bin/snmpget
    is this corrrect? (y)y
    SNMPGET="/usr/bin/snmpget"

    Now adapt all settings files to satisfy your needs.
    They are all linked to the directory  ./settings.all .

   [root@rootman HotSaNIC]#  settings

   * Àü¿ªÀûÀÎ ¸ð´ÏÅ͸µ ȯ°æ ¼³Á¤À» ÇÕ´Ï´Ù.
     ±âº»ÀûÀÎ °Íµé¸¸ ¼öÁ¤Çϵµ·Ï ÇÏ°Ú½À´Ï´Ù.
  
   (1) settings ÆÄÀÏÀ» ¿­¾î ȯ°æ¿¡ ¸Â°Ô Àç ÁöÁ¤ÇÑ´Ù.

      1) HotSaNIC µð·ºÅ͸® À§Ä¡ ÁöÁ¤
         DAEMONDIR="/usr/local/HotSaNIC"

      2) rrdtool ½ÇÇà ÆÄÀÏ À§Ä¡ ÁöÁ¤
         BINPATH="/usr/local/rrdtool/bin"

      3) HotSaNICÀÇ ·Î±× µð·ºÅ͸® À§Ä¡ ÁöÁ¤
         LOGDIR="$DAEMONDIR/log/"

      4) convert ÆÄÀÏÀÇ À§Ä¡ ÁöÁ¤ (ImageMagicÀ» ¼³Ä¡¸¦ ÇؾßÇÔ)
         CONVERTPATH="/usr/bin/convert"

      5) ¸ð´ÏÅ͸µ ÆÄÀϵéÀÌ ½×ÀÌ´Â À§Ä¡ ÁöÁ¤
         WEBDIR="/home2/rootman/rrdtool"

      6) À̹ÌÁö ÀúÀå ÇüÅ ÁöÁ¤ (¿Ø¸¸Çϸé gif·Î ¼³Á¤)
        IMAGEFORMAT="gif"


   (2) ȯ°æ À§Ä¡ ¹× index »ý¼º, ½ÃÀÛ
      
       1) rrdtool µ¥ÀÌÅÍ°¡ ½×ÀÏ À§Ä¡ ÁöÁ¤
         [root@rootman HotSaNIC]# mkdir ~rootman/rrdtool

       2) ·Î±× À§Ä¡ µð·ºÅ丮 »ý¼º
         [root@rootman HotSaNIC]# mkdir -p /usr/local/HotSaNIC/var/log

       3) index page »ý¼º
         [root@rootman HotSaNIC]# ./makeindex.pl
           reading & checking config (/usr/local/HotSaNIC/settings) ...
           evaluating cmdline arguments...
           1124963864: Building main index...
           generating index-files for each plugin...
           ..........
           ..........
           --- ATTENTION ---

           In future please use "rrdtimer -i" to generate the index files.
           this wrapper-script may vanish without further announcement.


       4) µ¥¸ó ½ÃÀÛ
         [root@rootman HotSaNIC]# /usr/local/HotSaNIC/rrdgraph start
         Starting rrdtimer...
         reading & checking config (/usr/local/HotSaNIC/settings) ...
         evaluating cmdline arguments...
         entering daemon mode...

-----------------------------------------------
4. rrdtool ÀÚµ¿ ºÎÆà ½Ã ÀÚµ¿ ½ÇÇà µÇµµ·Ï ¼³Á¤
-----------------------------------------------
   [root@rootman root]# cat >>  /etc/rc.d/rc.local
    /usr/local/HotSaNIC/rrdgraph start




*************************************************************
* Âü°í »çÇ× *
*************************************************************
1. µ¥¸ó ½ÃÀÛ ¹× Á¤Áö
   [root@rootman root]# cd /usr/local/HotSaNIC
   [root@rootman HotSaNIC]# ./rrdgraph start   // µ¥¸ó ½ÃÀÛ
   [root@rootman HotSaNIC]# ./rrdgraph stop   // µ¥¸ó Á¤Áö


2. À̹ÌÁö ±×·ÁÁö´Â ½Ã°£À» ÁÙÀÌÀÚ
   [root@rootman root]# vi /usr/local/HotSaNIC/settings
   DTIME="10"

   * ºÐ ´ÜÀ§·Î ¼³Á¤À» Çϸç, ÀÌ ¼öÄ¡¿¡ µû¶ó CPUÀÇ ºÎÇÏ·®ÀÌ Áõ°¡µÉ ¼ö ÀÖ½À´Ï´Ù.


3. Ȥ½Ã ±×·¡ÇÁ°¡ º¸ÀÌÁö ¾Ê³ª¿ä?
   µ¥¸óÀÌ ½ÃÀÛµÇ¸é ¸î ºÐ ÈÄ DB Á¤º¸¿¡ ÀÇÇØ ÆÄÀϵéÀÌ »ý¼ºÀÌ µË´Ï´Ù.
   ±× ¶§ °¢ µð·ºÅ͸®¿¡ ÀÖ´Â diagram ½ºÅ©¸³Æ®°¡ ½ÇÇàµÇ¸é¼­ ±×·¡ÇÁ¸¦ ±×¸®°Ô µË´Ï´Ù.
   settings¿¡ ¼³Á¤µÈ DTIME¿¡ ÀÇÇØ µ¥¸óÀÌ ÀÚµ¿À¸·Î ½ÇÇàÀ» ½Ãŵ´Ï´Ù.
   ¸¸ÀÏ, ¸ÞÀÎ index¿¡ ±×·¡ÇÁ°¡ º¸ÀÌÁö ¾Ê´Â´Ù¸é, "convert.pl" ¶Ç´Â "convert.sh"¸¦ ½ÇÇàÇϽʽÿÀ.


4. convert.pl ¶Ç´Â convert.sh¸¦ ½ÇÇà ½Ã llegal seek at ./convert.pl line 62 ¹ß»ý ½Ã
   XFree86-libs-4.2.0-8.i386.rpm¸¦ ¼³Ä¡ÇØ ÁÝ´Ï´Ù.
   libdpstk.so.1 ¸¦ ãÁö ¸øÇØ ¿¡·¯°¡ ¹ß»ýÇÏ´Â Çö»óÀÔ´Ï´Ù.


5. ³×Æ®¿öÅ©°¡ ¾È µÈ´Ù¸é..
   iptables³ª ȤÀº ipchains°¡ ¼³Ä¡µÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù.
   Kernel¿¡ Network Option¿¡ "packet filter"°¡ ¼³Ä¡µÇ¾î ÀÖ³ª È®ÀÎÇØ º¸½Ã±æ ¹Ù¶ø´Ï´Ù.


6. apps Á¤º¸¸¦ º¸°í ½Í³ª¿ä?
   [root@rootman root]# vi /usr/local/HotSaNIC/modules/apps/settings      // ¿ì¼± ÆÄÀÏÀ» ¿©½Ã°í

   (1) ±âº» ¹®¹ý
       # APP=,
   (2) ±âº» ¿¹
       APP=httpd,Apache
       APP=mysqld,MysqlDB
       APP=sendmail,Sendmail
       ....
   [root@rootman root]# cd /usr/local/HotSaNIC/; ./makeindex.pl; ./rrdgraph stop; ./rrdgraph start

   ÇÏ½Ã¸é µË´Ï´Ù.


7. apps Á¤º¸¸¦ º¸°í ½Í³ª¿ä?
   [root@rootman root]# vi /usr/local/HotSaNIC/modules/diskio/settings      // ¿ì¼± ÆÄÀÏÀ» ¿©½Ã°í

   (1) ±âº» ¹®¹ý
       1) KERNEL="2.2"
          Ä¿³Î 2.1, 2.2 ¹öÀüÀº 2.4À¸·Î ¼¼ÆÃ

       2) KERNEL="2.4"
          Ä¿³Î 2.3.x, 2.4.x ¹öÀüÀº 2.4À¸·Î ¼¼ÆÃ

       3) ¹®¹ý
          # DEV=,

          *) device

          # Ä¿³Î 2.3.x ÀÌ»óÀÇ °æ¿ì
          # DEV=8_0,sda
          # DEV=8_1,sdb
          ....
          # DEV=3_0,hda
          # DEV=22_0,hdc

   [root@rootman root]# cd /usr/local/HotSaNIC/; ./makeindex.pl; ./rrdgraph stop; ./rrdgraph start

   ÇÏ½Ã¸é µË´Ï´Ù.


8. ScreenShot
   http://www.rootman.co.kr/rrdtool/
qqq http://www.fjallravenkanken.org http://www.airmax270.org http://www.suprashoes.us.com http://www.mulberrybagssale.org.uk http://www.pandorajewelry.us.org http://www.coach-outlets.us.com http://www.hydroflask.us.com http://www.adidas-shoes.us.com http://www.outlettruereligion.in.net http://www.edhardyclothing.in.net http://www.persolsunglasses.orgqqq
2019-05-13 12:24
x
Name       Pass       Secret Code   Resize  
List
28    [C/C++] [Á¤º¸º¸¾È][Á¤º¸º¸¾ÈÀü¹®°¡][¸®´ª½º]GDB»ç¿ë¹ý  ÀÌ»ó¿ë 2011.05.12 679
27    [º¸¾È] À¥ º¸¾È [3] ÀÌ»ó¿ë 2008.05.28 2883
26    [ÀÚ¹Ù½ºÅ©¸³Æ®] JavasScript ÃÑ Á¤¸® [5] ÀÌ»ó¿ë 2007.04.10 1342
   [¸®´ª½º/À¯´Ð½º] rrdtool ¼³Ä¡ [1] ÀÌ»ó¿ë 2007.02.27 1954
24    [°øÅë] Open Source Æз¯´ÙÀÓ ½¬ÇÁÆ® [146] ÀÌ»ó¿ë 2007.02.27 1402
23    [ÀÚ¹Ù½ºÅ©¸³Æ®] Table Row »èÁ¦Çϱâ [74] ÀÌ»ó¿ë 2006.12.01 1029
22    [¸®´ª½º/À¯´Ð½º] swatch¸¦ ÀÌ¿ëÇØ ·Î±×ÆÄÀÏÀ» ½Ç½Ã°£À¸·Î ¸ð´ÏÅÍÇØ º¸ÀÚ. [1] ÀÌ»ó¿ë 2006.08.29 1068
21    [¸®´ª½º/À¯´Ð½º] cfengine À» ÀÌ¿ëÇÏ¿© ¿©·¯´ëÀÇ ½Ã½ºÅÛ°ü¸® ÀÚµ¿È­ Çϱâ [1] ÀÌ»ó¿ë 2006.08.04 1863
20    [¸®´ª½º/À¯´Ð½º] Content Management Systems (CMS) - OpenSource  ÀÌ»ó¿ë 2006.08.04 2047
19    [À¥] Web 2.0À̶õ ¹«¾ùÀΰ¡ [1] ÀÌ»ó¿ë 2006.08.02 975
18    [À¥] [PHPA] using PHP Accelerator [2] ÀÌ»ó¿ë 2006.02.16 9368
17    [°øÅë] Á¤±Ô Ç¥Çö½Ä  ÀÌ»ó¿ë 2006.01.05 810
16    [¸®´ª½º/À¯´Ð½º] SELinux ?  ÀÌ»ó¿ë 2006.01.04 948
15    [¸®´ª½º/À¯´Ð½º] apache2.0 + tomcat5.x ¼³Ä¡Çϱâ [1] ÀÌ»ó¿ë 2005.11.21 2563
14    [DB] mysql ¼³Ä¡ °¡ÀÌµå  ÀÌ»ó¿ë 2005.11.20 1059
13    [³×Æ®¿÷] Catalyst 4000-L3 Switch ±¸Á¶¿Í setting [206] ÀÌ»ó¿ë 2005.11.08 64235
12    [³×Æ®¿÷] ³×Æ®¿öÅ© Áø´Ü ¸í·É¾î(À©µµ¿ì) [1] ÀÌ»ó¿ë 2005.11.08 1404
11    [³×Æ®¿÷] DNS ¿î¿µ ÀÚ·á  ÀÌ»ó¿ë 2005.11.08 850
10    [³×Æ®¿÷] Cisco 6509 ¿î¿µ ¸Þ´º¾ó [1] ÀÌ»ó¿ë 2005.11.08 4732
9    [¸®´ª½º/À¯´Ð½º] GD ¼³Ä¡ÇØ º¸ÀÚ...  ÀÌ»ó¿ë 2005.09.29 1836
List   1 [2]  
Copyright 1999-2024 Zeroboard / skin by eggnara