View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Feb 28, 2008 7:44 pm 
Offline
Joined: Tue Jan 24, 2006 1:29 am
Posts: 157
Location: Brisbane, Australia
I currently get the following output from the status page on mythweb:

Disk Usage:

* Master Backend:
o Total Space: 231,759 MB
o Space Used: 223,710 MB
o Space Free: 8,049 MB
* Total Disk Space:
o Total Space: 231,759 MB
o Space Used: 223,710 MB
o Space Free: 8,049 MB


As I only have a single backend system, I don't need both listings. I would like tochange one of them to give me info on my LVM which i use for non myth storage....

can anyone point me in the right direction?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 02, 2008 5:38 am 
Offline
Joined: Tue Jan 24, 2006 1:29 am
Posts: 157
Location: Brisbane, Australia
anyone?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 02, 2008 6:06 am 
Offline
Joined: Tue Jan 30, 2007 1:27 am
Posts: 299
Its possible that changing this involves changing the source code. Try posting on the mythtv mailing list (google for it).


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 02, 2008 11:50 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
You would need to change the PHP code under the /usr/share/mythtv/mythweb/modules/status directory. It's probably doable, but doesn't look trivial... You'll have to decide if the extra information bothers you enough to be worth the effort. Personally I think this is up there with worrying about whether people break their eggs on the small end or the big end... ;-)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 02, 2008 6:44 pm 
Offline
Joined: Tue Jan 24, 2006 1:29 am
Posts: 157
Location: Brisbane, Australia
thanks guys. I feared as much....


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 03, 2008 9:13 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
the status page is a little different then most of the rest of mythweb. While most of mythweb makes PHP/Mysql calls to collect data to display, the status page 'asks' the backend for the information.

There is a BackendStatusPort defined in the Settings table, you can get the data by submitting an http request to the port. The request returns a full html stream for display.

http://locallost:

On my box...

http://localhost:6544

You can either mod the server code to generate a different html stream for the request, or parse the resulting html in the $status variable in the code directory referenced above.

Cheers

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 32 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