View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 20 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Wed Dec 21, 2011 9:46 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
Just wanted to add that I am getting all of the rrd graphs except for
Disk Usage.

Any thoughts on why this isn't working?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 22, 2011 8:27 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Check /etc/rrdsettings.cfg and try running rrd_usage.pl by hand to see what it's doing.

You may also need to tweak /data/srv/httpd/htdocs/rrd/index.html to include the usage graphs. By default it only seems to show sda1. I just fixed mine to show /myth on sda3 and /video on sdb1.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 22, 2011 10:56 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
tjc,

Thanks for the post.
Ok it looks like it is pulling data for sda3 but there is non for sda1. For now I changed sda1 to sda3 in the /data/srv/httpd/htdocs/rrd/index.html

The /etc/rrdsettings.cfg says this:
Code:
DISKDEV=/dev/sda1:sys
DISKDEV=/dev/sda3:myth

With the new device uuid convention sda1 no longer exists.
Code:
Filesystem                                             1K-blocks     Used Available Use% Mounted on
udev                                                       10240        0     10240   0% /dev
run                                                        10240      240     10000   3% /run
/dev/disk/by-uuid/91a00fb3-1779-4661-906e-c6ad51cde312   7055288  3529060   3167828  53% /
shm                                                      1550540        0   1550540   0% /dev/shm
/dev/sda3                                              951582420 34776724 868468100   4% /myth

Any suggestions on how should I handle this?

Thanks for heading me in the right direction!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 23, 2011 8:18 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Try using that name. The script is using "df -P" and appears to be matching the device name from that, so it should work.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 23, 2011 7:14 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
tjc,

That's a winner!!
I'll just have add in another section in the: /data/srv/httpd/htdocs/rrd/index.html and create a better title.

Thanks !!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu