Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I am using Centos 5 as squid proxy server. I want to configure MRTG to monitor live visual representation of internet traffic. Kindly guide me that how can I do it?
You can set up MRTG on CentOS by following one of the many guides found on the internet. You should know by now that LQ is not the place to come to when looking for step by step or copy / paste guides. Have a look at this site found through Google.
thanks for the reply. Actually i have google it before poasting my question.but there is a confustion that in some configure it use apachi.The reason is not clear. Is it a reason fatching data from localhost? Without configureing Apachi I know MRTG will configure but what we will miss without Apachi?
garden
For as far as I know MRTG doesn't come with a webserver to display your data/graphs. So you need a webserver like Apache for example to do that. The MRTG cfgmaker creates a html page that you need to save to your Apache document root (or another directory if you've set that up with Apache). After that you can browse to that URL to view your data/graphs in a webbrowser.
One thing more I want to clear instead of internet bandwidth, for Lan card sent/received bytes,CPU,Memory and Hard Disk I/O does MRTG gives facility about its statistics ?
Location: netherlands, europe, in a crapy house. xD
Distribution: openBSD
Posts: 73
Rep:
mu excueses.
as what i see.
# No of open files -12
#Target[Est_Master-files]: `lsof | wc -l | awk '{printf("%d\n",$1); printf("%d\n",0); printf("%d\n",0)}'`
Target[Est_Master-files]: `/usr/local/mrtg/scripts/openfiles_lsof.sh`
above script, as far i guess, there is no scripts directory in mrtg default install.
i can be wrong, becouse i use openBSD 4.9 ...
and as for the loadmbits, usefull, ...
mu excueses.
as what i see.
# No of open files -12
#Target[Est_Master-files]: `lsof | wc -l | awk '{printf("%d\n",$1); printf("%d\n",0); printf("%d\n",0)}'`
Target[Est_Master-files]: `/usr/local/mrtg/scripts/openfiles_lsof.sh`
above script, as far i guess, there is no scripts directory in mrtg default install.
i can be wrong, becouse i use openBSD 4.9 ...
and as for the loadmbits, usefull, ...
Yup in default the script not there in MRTG, but you can write own script to plot graph
Location: netherlands, europe, in a crapy house. xD
Distribution: openBSD
Posts: 73
Rep:
ya, i manage to script,cough,cough, some nice things.
uhm, and copy/past it (some from above,so ,thank you).
currently i also use statgrab, works great to.
but making a script for getting IFstats per machine is a bitch..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.