MRTG step-by-step guide
Forum » Forum / Installing & Configuring Programs » MRTG step-by-step guide
Started by: angryxpehangryxpeh
On: 1211299796|%e %b %Y, %H:%M %Z|agohover
Number of posts: 8
rss icon RSS: New posts
Summary:
Gather Ethernet Traffic, CPU, Memory, Temperature and Disk Usage statistics to see in your web browser.
MRTG step-by-step guide
angryxpehangryxpeh 1211299796|%e %b %Y, %H:%M %Z|agohover

Just posted a Step-By-Step Guide to install and configure MRTG.

If you have some thoughts about other stats can be added, feel free to suggest. I cannot imagine any :)

Reply  |  Options
Unfold MRTG step-by-step guide by angryxpehangryxpeh, 1211299796|%e %b %Y, %H:%M %Z|agohover
Re: MRTG step-by-step guide
wiztwizt 1211301597|%e %b %Y, %H:%M %Z|agohover

I will try in include this in the application (script+php) that I've written, so that the page will show network traffic too..
The application that I've started writing on can be found on the forum HERE!

Edit: just noticed that there is alot of stuff to be installed before you get that working (like installing GD that I've tryed to get passed). But I will still try to get it in there somehow :) thanks for the tutorial! Also noticed that the application includes most of the stuff that I've done too…there is just a bit more stuff to be done with this application :)

Last edited on 1211301998|%e %b %Y, %H:%M %Z|agohover By wizt + Show more
Reply  |  Options
Unfold Re: MRTG step-by-step guide by wiztwizt, 1211301597|%e %b %Y, %H:%M %Z|agohover
Re: MRTG step-by-step guide
angryxpehangryxpeh 1211303524|%e %b %Y, %H:%M %Z|agohover

Actually, all this stuff is needed because Optware's perl distribution is broken.
Otherwise it will be as easy as sudo ipkg install mrtg.

Reply  |  Options
Unfold Re: MRTG step-by-step guide by angryxpehangryxpeh, 1211303524|%e %b %Y, %H:%M %Z|agohover
Re: MRTG step-by-step guide
bzhoubzhou 1211320122|%e %b %Y, %H:%M %Z|agohover

It would help if more information or pointer is provided on what's broken in optware perl.

I'll gladly integrate any patch to unbreak perl for MBWE.

Reply  |  Options
Unfold Re: MRTG step-by-step guide by bzhoubzhou, 1211320122|%e %b %Y, %H:%M %Z|agohover
Re: MRTG step-by-step guide
angryxpehangryxpeh 1211668133|%e %b %Y, %H:%M %Z|agohover

It seems that perl is built dynamically and libperl.so is missed from distribution.
You should build static version to avoid libperl.so usage at all (though, it may be ok to have dynamic version — with .so file, of course, but I didn't try to make dynamic version, it's overhead for this weak computer).

If you can tell me how to make a package for ipkg, I can provide you with built version. Compilation time on WDMBWE takes about few hours.

Unfold Re: MRTG step-by-step guide by angryxpehangryxpeh, 1211668133|%e %b %Y, %H:%M %Z|agohover
Re: MRTG step-by-step guide
bzhoubzhou 1211680735|%e %b %Y, %H:%M %Z|agohover

libperl.so is installed at

/opt/lib/perl5/5.8.8/arm-linux/CORE/libperl.so

and RPATH is set correctly in /opt/bin/perl as

/opt/lib:/opt/lib/perl5/5.8.8/arm-linux/CORE

It's the stupid MBWE uclibc build that is causing problem. Building perl static is just a workaround.

You can try

export LD_LIBRARY_PATH=/opt/lib:/opt/lib/perl5/5.8.8/arm-linux/CORE
Last edited on 1211680928|%e %b %Y, %H:%M %Z|agohover By bzhou + Show more
Unfold Re: MRTG step-by-step guide by bzhoubzhou, 1211680735|%e %b %Y, %H:%M %Z|agohover
Re: MRTG step-by-step guide
soldstaticsoldstatic 1246636709|%e %b %Y, %H:%M %Z|agohover

is there a permanent solution to this issue? I am trying to set up some cron tasks, but the expot workaround only works through whatever ssh session i'm in. As soon as I log out and back in I have to do the export again…

Reply  |  Options
Unfold Re: MRTG step-by-step guide by soldstaticsoldstatic, 1246636709|%e %b %Y, %H:%M %Z|agohover
Re: MRTG step-by-step guide
starkstark 1232284886|%e %b %Y, %H:%M %Z|agohover

Hello!

Is there a way to show the MIN value underneth temperature graf?
Like " Max min Average Current" ?

-Stark


2 X MBWE 500gb
LED Display

Reply  |  Options
Unfold Re: MRTG step-by-step guide by starkstark, 1232284886|%e %b %Y, %H:%M %Z|agohover
New Post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License