Page 3 of 6 FirstFirst 12345 ... LastLast
Results 31 to 45 of 84

Thread: RRDTool Traffic Graph Tutorial - Extremely easy to follow !

  1. #31
    did you remember to mount a disk on /opt ?

    To me it looks like you are trying to write directly to the flash, which isnt supported in Olegs firmware (that part of the flash anyway).
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  2. #32
    I als got the "/opt/usr/bin" (it doesn't exist) issue but I changed the path to /opt/bin and changed the line in the config

    But when I try to acces my-ip-/rrd is says: file not found
    ps aux only shows that cron has started

    1 root 660 S /sbin/init
    2 root SW [keventd]
    3 root SWN [ksoftirqd_CPU0]
    4 root SW [kswapd]
    5 root SW [bdflush]
    6 root SW [kupdated]
    7 root SW [mtdblockd]
    61 root 320 S telnetd
    66 root 376 S httpd vlan1
    70 root 388 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
    71 root 340 S klogd
    73 nobody 496 S dnsmasq
    74 root 460 S snmpd -c /tmp/snmpd.conf
    81 root SW [khubd]
    90 root 276 S lpd
    92 root 260 S p9100d -f /dev/usb/lp0 0
    95 root 344 S waveservermain
    97 root 344 S rcamdmain
    101 root SW [usb-storage-0]
    102 root SW [scsi_eh_0]
    107 root 320 S infosvr br0
    108 root 468 S watchdog
    111 root 344 S ntp
    122 root SW [kjournald]
    136 root 432 S udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcp
    140 root 408 S /opt/sbin/cron
    154 root 568 S upnp -D -L br0 -W vlan1
    198 root 544 S -sh
    211 root 392 R ps aux

    BTW...thttpd config was saying port: 8080 instead of 81
    with port 81 or 8080 i got http://192.168.1.254/rrd "file not found"
    (btw rrdtool.log is empty)

    What to check to make it work?

  3. #33
    Join Date
    May 2006
    Location
    Netherlands
    Posts
    25
    My problem still is the same. THHTPD seems to shutdown on its own Where is the logfile ? Has anyone else suffered from this fenomenon?

    I began from scratch, installed SSH, VSFTPD, THTTPD but still the problem stays
    My current collection:

    WL-500gX (original firmware), WL-500gX (Oleg 1.9.2.7-7g), WL-500gX (Oleg 1.9.2.7-8), WL-700gE (Asus 2.0.0.7)

  4. #34
    OK, i finally got it working. I just copied the script in /opt/bin i.s.o. /opt/usr/bin.

  5. #35
    Quote Originally Posted by netvista View Post
    OK, i finally got it working. I just copied the script in /opt/bin i.s.o. /opt/usr/bin.

    I have one more question though. Why is my WAN graph always at a steady 222 bytes...

    It doesn't matter if download a lot or not....it's always 220 bytes...strange. Also i tested the LAN & WLAN graph bij transferring a big file from my pc (wired) to my laptop (wireless).

    The LAN graph shows a big peak for INCOMING traffic and the WLAN graph shows a big peak for OUTGOING traffic... I think it should be the other way around... do i interpret it incorrectly?

    Thanks in advance

  6. #36
    nice tutorial. working perfectly. thanks!

  7. #37
    Thanks for the tutorial, works fine.

    Only problem I had was with the graph creation, since I currently don't have a wireless client the data is 0 and this apparently caused the generation to hang.

  8. #38
    Join Date
    Jun 2005
    Location
    The Netherlands, Haarlem
    Posts
    33
    I have some problems with rrdrun.sh, it wont execute ok so-ever

    it wont create png files

    root@Devil-Strike cron.5mins]$ ./rrdrun.sh
    /bin/sh: Can't open

    dont know what to do know.

  9. #39
    have you made it executable? (chmod +x)

  10. #40
    For the record and history purposes...the link tot the page on the router in the tutorial isn't quite right...must be
    http://192.168.1.254:8080/rrd/

  11. #41
    Join Date
    Feb 2007
    Location
    Bangkok Thailand
    Posts
    22

    Smile Nice program

    Hi.
    Thank you for good script to view the traffic.
    I have one question.
    How to log every 2 second? like this http://www.polarcloud.com/v/scbwm.htm

    Thank you.

  12. #42
    I'm having this problem:

    <------------------------------------------------------------->

    Tue Mar 6 11:30:01 GMT 2007
    WAN Interface: vlan1
    LAN Interface: vlan0
    WLAN Interface: eth1
    WAN -> in: 2057306 out: 737424
    LAN -> in: 0 out: 294284
    WLAN -> in: 0 out: 0
    /opt/usr/bin/rrdtool.sh: /opt/usr/bin/rrdtool.sh: 136: rrdupdate: not found
    /opt/usr/bin/rrdtool.sh: /opt/usr/bin/rrdtool.sh: 137: rrdupdate: not found
    /opt/usr/bin/rrdtool.sh: /opt/usr/bin/rrdtool.sh: 138: rrdupdate: not found
    Daily Graphs created.....
    /opt/usr/bin/rrdtool.sh: /opt/usr/bin/rrdtool.sh: 172: rrdtool: not found
    mv: unable to rename `/opt/share/www/rrd//wanday.png.new': No such file or dire$
    /opt/usr/bin/rrdtool.sh: /opt/usr/bin/rrdtool.sh: 172: rrdtool: not found
    mv: unable to rename `/opt/share/www/rrd//landay.png.new': No such file or dire$
    /opt/usr/bin/rrdtool.sh: /opt/usr/bin/rrdtool.sh: 172: rrdtool: not found
    mv: unable to rename `/opt/share/www/rrd//wlanday.png.new': No such file or dir$
    And the graphs don't get created...

    Any clue on this?
    Thanks...

    [edit:] - I guess I may have found the problem: there are compatibility issues with the latest uClibc in -7f... This only works in -7g... damm...
    Last edited by lourenco; 06-03-2007 at 12:02.

  13. Is it possible to add another graph which shows the load of the router?

  14. #44
    I think that I've installed, because I can load the page, but It didn't show any graph, Will I need to w8 a day to see it? or is the admin root problem? I'm running wl500gP, if that's the problem How do I solve it?

    I've admin in crontab...

    solved with chmod +x rrdtool
    Last edited by guilherme; 03-04-2007 at 02:54.

  15. #45

    Angry

    One thing just kills me. All router power goes to make those crapy lines and i havent installed nothing except samba, wwwphp, dropbear, nano. Refresh goes every 5 min and still :/
    If that wont help i will say byebye to rrdtool.sh and find other way to generate stats
    EDIT:
    imo txt stat version would be nice
    Last edited by zwitter; 25-06-2007 at 10:34.

Page 3 of 6 FirstFirst 12345 ... LastLast

Similar Threads

  1. Tutorial, hoe bekijk ik mijn webcam vanaf het internet
    By carl in forum Dutch Discussion - Nederlands
    Replies: 9
    Last Post: 29-06-2009, 15:37
  2. samba and oleg tutorial
    By ddieter in forum WL-500g Q&A
    Replies: 4
    Last Post: 15-02-2008, 13:08
  3. Easy-to use cron-system.
    By macsat in forum WL-500g/WL-500gx Tutorials
    Replies: 3
    Last Post: 29-05-2007, 21:18
  4. Replies: 0
    Last Post: 17-09-2005, 18:34
  5. How can I log the traffic ?
    By exilist in forum WL-500g Q&A
    Replies: 3
    Last Post: 06-06-2004, 09:31

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •