View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 55 posts ] 
Go to page Previous  1, 2, 3, 4  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Sun Jan 21, 2007 12:03 pm 
Offline
Joined: Sat Dec 24, 2005 11:33 am
Posts: 400
Location: Kitsap Peninsula, Wa., United States
I haven't installed the mbmon script listed on the page.
Why do I say it doesn't report correctly?
Here is an example of my mbmon output when i run it from the shell.

Code:
root@mythtv:~# mbmon

Temp.= 119.0, 240.0, 15.0; Rot.=    0, 4218, 135000
Vcore = 2.50, 3.42; Volt. = 3.18, 5.11,  2.31,  -3.56, -0.00

Temp.= 119.0, 240.0, 15.0; Rot.=    0, 4218, 135000
Vcore = 2.42, 3.41; Volt. = 3.18, 5.08,  2.31,  -3.56, -0.00


This is a second run while typing this post.
Code:
root@mythtv:~# mbmon

Temp.= 35.0, 34.0, 13.0; Rot.=    0, 10546, 5672
Vcore = 2.53, 3.42; Volt. = 3.18, 5.08,  2.31,  -9.65, -7.71

Temp.= 35.0, 34.0, 13.0; Rot.=    0, 10546, 5625
Vcore = 2.58, 3.42; Volt. = 3.18, 5.11,  2.31,  -9.65, -7.71


Those numbers for the CPU info are not even realistic in the first attempt then more realistic in the second one but some of the others are wacky. The box runs cool. When I first saw those at fire up I was concerned, but after feeling around when it was running it felt fine.

If I run xmbmon it displays something more realistic.

May there is a patch I am missing not sure yet, or maybe I don't understand the outputs.

_________________
KnoppMyth R5.5
MBE: AMD64 3400+, K8N Neo4 Plat., 1Gig, Asus Extreme N6200, 320G pata, 2x320Gsata, 750Gsata, PVR-150 Retail w/Blaster
SBE: AMD XP2000, GA 7ZMMH, 1 Gig, XFX 256M 6200, 20 Gig, PVR-150 Retail w/Blaster
SBE: AMD Dur1800, 512M, PVR500


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 21, 2007 12:33 pm 
Offline
Joined: Sun Jan 01, 2006 3:26 pm
Posts: 46
Location: Raleigh, NC
Due to my ineptitude or use of odd hardware, I couldn't get mbmon to report anything...
Quote:
No Hardware Monitor found!!
InitMBInfo: Success

The command 'sensors' does work fine for my setup and reports all info. I made a quick mod to /usr/local/bin/rrd_mbtemp.pl as follows:

Code:
.
.
.
# an educated guess about which component corresponds to which temp
# Note TEMP0 = T 1, TEMP1 = T 2, TEMP2 = T 3
#&ProcessHDD("mbtemp", "T 1", "Motherboard");
#&ProcessHDD("cputemp", "T 2", "CPU");
#&ProcessHDD("ambtemp", "T 3", "Case ambient");
# vtdstein95 modified to use sensors instead of mbmon
&ProcessHDD("mbtemp", "SYS Temperature", "Motherboard");
&ProcessHDD("cputemp", "CPU Temperature", "CPU");
&ProcessHDD("ambtemp", "PWM Temperature", "Case ambient");


sub ProcessHDD
{
# process HDD
# inputs: $_[0]: component being measured (used for graph filenames)
#          $_[1]: code (mbmon code)
#         $_[2]: description

        # get temp value from mbmon
        # my $temp=`/usr/bin/mbmon -c 1 -$_[1]`;

        # vtdstein95 added to uses sensors instead of mbmon
         my $temp=`/usr/bin/sensors | /bin/grep "$_[1]" | /usr/bin/cut -c28,29`;

.
.
.


I am sure there is a more efficient way to parse the sensors output. If you use this you may need to adjust the "SYS Temperature" string, etc. and which characters to cut in the output.


Last edited by vtdstein95 on Tue Jan 23, 2007 6:42 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 21, 2007 12:37 pm 
Offline
Joined: Sun Jan 01, 2006 3:26 pm
Posts: 46
Location: Raleigh, NC
Sorry somehow have a duplicate post.


Last edited by vtdstein95 on Tue Jan 23, 2007 6:43 am, edited 1 time in total.


Top
 Profile  
 
 Post subject: Drive Space
PostPosted: Sun Jan 21, 2007 12:38 pm 
Offline
Joined: Tue Jun 21, 2005 6:09 pm
Posts: 57
I would prefer to monitor drive space instead of swap any pointers would be greatly appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 21, 2007 1:29 pm 
Offline
Joined: Sat Dec 24, 2005 11:33 am
Posts: 400
Location: Kitsap Peninsula, Wa., United States
Have tried Mbmon from the Shell.
It is usually giving me really wacky reports like 15K rpm fanspeeds and Cpu/system temps in the 110 degree celsius range.

I am making a couple of changes so I will add it to my webpages and watch it for a bit.

Thanks!


Top
 Profile  
 
 Post subject: Disk Space
PostPosted: Sun Jan 21, 2007 2:34 pm 
Offline
Joined: Tue Jun 21, 2005 6:09 pm
Posts: 57
Any chance there is a way to convert the cache monitoring to hard disk monitoring


Top
 Profile  
 
 Post subject: Disk Space
PostPosted: Sun Jan 21, 2007 4:48 pm 
Offline
Joined: Tue Jun 21, 2005 6:09 pm
Posts: 57
Is it possible to replace the cache monitor with disk space monitoring?
Maybe someone has done this already?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 23, 2007 1:30 pm 
Offline
Joined: Tue Jan 17, 2006 7:34 am
Posts: 126
Location: Australia
I'm just doing the finishing touches to one now, I'll post the update in sometime today.


Top
 Profile  
 
 Post subject: Thanks
PostPosted: Tue Jan 23, 2007 1:32 pm 
Offline
Joined: Tue Jun 21, 2005 6:09 pm
Posts: 57
Sorry about the double posting.
The forum seemed to be having problems when I posted the first time.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 23, 2007 4:38 pm 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
working great after following the R5E50 notes on the wiki

Only problem is that nothing is shown on eth0 However the manual traffic command appears to work fine.

any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 23, 2007 6:00 pm 
Offline
Joined: Tue Jan 17, 2006 7:34 am
Posts: 126
Location: Australia
I have just added disk partition usage to the wiki.

I have also included a replacement rrd_*.html page writen in php so you don;t have to edit the html ones each time something is changed with you rrd graph settings

http://knoppmythwiki.org/index.php?page=RRD+Disk+Partition+Usage


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 23, 2007 6:12 pm 
Offline
Joined: Sat Jun 25, 2005 7:39 pm
Posts: 162
chrisj wrote:
I have just added disk partition usage to the wiki.

I have also included a replacement rrd_*.html page writen in php so you don;t have to edit the html ones each time something is changed with you rrd graph settings

http://knoppmythwiki.org/index.php?page=RRD+Disk+Partition+Usage

Looks promising but I can't get it to run correctly.
Code:
-bash: /usr/local/bin/rrd_usage.pl: /usr/bin/perl^M: bad interpreter: No such file or directory


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 23, 2007 6:33 pm 
Offline
Joined: Tue Jan 17, 2006 7:34 am
Posts: 126
Location: Australia
doH , I'll see if I can fix the wiki , its added some thing to code when cut/pasting. (I've edited it so I hope it works now)

you can download then if you like.

to replace the old rrd_usage.pl
Code:
cd /usr/local/bin
rm -f rrd_usage.pl
wget http://www.chrisjoyce.id.au/mythtv/rrd_usage.pl
chmod +x rrd_usage.pl


to replace the old rrdsettings.cfg
Code:
cd /etc
rm -f rrdsettings.cfg
wget http://www.chrisjoyce.id.au/mythtv/rrdsettings.cfg


to replace the old rrd.php
Code:
cd /var/www/
rm -f rrd.php
wget http://www.chrisjoyce.id.au/mythtv/rrd.php.txt
mv rrd.php.txt rrd.php


I think that should do it , the history line will take some time to work (1 day old , 7 day old , 8 week old ) .. till the time is up you will not see it


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 23, 2007 7:19 pm 
Offline
Joined: Sat Jun 25, 2005 7:39 pm
Posts: 162
chrisj wrote:
doH , I'll see if I can fix the wiki , its added some thing to code when cut/pasting. (I've edited it so I hope it works now)

you can download then if you like.

I think that should do it , the history line will take some time to work (1 day old , 7 day old , 8 week old ) .. till the time is up you will not see it


Alright it's working well now but I just have one little issue. For some reason the new data appears about 3-5 pixels to the left of the right side and always shows some white space. Is it just offset somewhere in the .pl file? I couldn't find it anywhere but I'm not to knowledgeable on rrd syntax.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 23, 2007 7:33 pm 
Offline
Joined: Tue Jan 17, 2006 7:34 am
Posts: 126
Location: Australia
I'm not sure why that is , this was my first go at perl and first time using rrd :-)

I'll play aroung with it and see if I can figure it out


Top
 Profile  
 

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



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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu