I try to graph No of open files using simple shell script but it's unsuccessful to draw graph continuously. following are my mrtg.cfg and script. And i am bit unclear with MaxBytes. How we can define this?
I ahve installed Nagios 3.2.1 and to generate performance graphs i am trying to use opmon [URL] there are three utilities required to generate graphs: I have installed all prerequisites successfully.
opcfg opcp opdb
Here i have installed opcfg successfully and working good, For opcp requirement is "opdb" but no proper documentation available. But while compiling opdb from command
recently i have installed Squid Server and i want to monitor traffic in my lan with mrtg. so i have installed snmp but when i run "snmp -v 1 -c public localhost" i have got "Timeout: no response from localhost". i have turned off the firewall but i get same error.
i have done most of the setup for MRTG network monitor tool.
But i m stuck at configuration part.
the actual MRTG guide says following.
I m little confused about what should i put inplace of community@router.abc.xyz.
Quote:
The next step is to configure mrtg for monitoring a network device. This is done by creating an mrtg.cfg file which defines what you want to monitor. Luckily, you don't have to dive straight in and start writing your own configuration file all by yourself. Together with mrtg you also got a copy of cfgmaker. This is a script you can point at a router of your choice; it will create a mrtg configuration file for you. You can find the script in the bin subdirectory.
This example above will create an mrtg config file in /home/mrtg/cfg assuming this is a directory visible on your webserver. You can read all about cfgmaker in cfgmaker. One area you might want to look at is the possibility of using --ifref=ip to prevent interface renumbering troubles from catching you.
If you want to start rolling your own mrtg configuration files, make sure you read mrtg-reference to learn all about the possible configuration options.
I ahve configured MRTG to generate bandwidth utilization graphs of Network devices.
I ahve configured 30 Network device ( Cisco Switches and Routers), For most of the devices MRTG is working fine but for some devices it is not able to generate log file and giving the following error:
Does anybody know of a good graphing calculator program for Fedora 12 KDE? I tried fung-calc and some problems are occurring in the installation. I have followed the directions in the README, and I am doing something wrong, although I am following the directions in the README. Basically, it can't make. I get a message stating:
find a simple program. In summary, I just need something that functions like good, plain old graph paper for top-view designs. Is there anything like this on the repositories?
I looked but can't figure out if anything I have found while searching thru 'yum' is what I'm looking for.
I'm currently reading math courses at home, as opposed to doing it in school, and Swedish schools recommend getting a TI 80 or TI 83 calculator for these math courses. If I'd actually buy one of them, a TI 83 would probably be a better choice since it would last me through more courses, but for now a TI 80 calculator is enough. They are graphing calculators, for anybody that doesn't know.
Anyway, since I'm reading at home, and these calculators are a little expensive, I was looking at software to replace them... The gnome calculator that comes with Ubuntu is a good start, and is probably almost enough for what I will need for now, but it lacks the graphing capabilities, which I will need.
Is there either a more complete calculator, or something to complement the gnome calculator, that will suite my needs? I know I could look through all of the calculators in the repos, but frankly it takes quite a bit of time.
I have newly updated CentOS 5.6 server and would like to keep it "true" to CentOS, so try to avoid manually installing rpm's and CPAN modules. I need to install perl graphing modules, Chart::Base, GD, GD::Graph, GD::Text, etc. Have already done Yum install gd gd-devel php-gd
I set up MRTG on my ubuntu 10.10 using this link:[URL]...Now, i am trying to set it up so it refreshes every 5 minutes... I tried program scheduled task be entering /etc/init.d/mrtg start but it does not work... I also added the RunAsDaemon: Yes line to mrtg.cfg file but still nothing. It works fine from the terminal but not from the program...
Its my third week struggling to install mrtg on freebsd 8.0. I will be happy if someone can provide me with a HOW TO documentation on the issue. i would like to monitor my routers(bandwidth utilisation).
made software which we can get network traffic Report of of Switches for Daily,monthly and yearly base , in MRTG we can configure as a switch so we can get particular switch Traffic but how can we get each port of traffic of a switch in MRTG
I recently migrated my mail server over to a new machine. For some reason, after verifying that the OIDs are correct, MRTG won't graph anything. I've quadruple checked the OIDs and used the strings as well, it won't graph at all. Graphs for RAM, ethernet, packets, etc. are working. CPU is the only thing not working. They work when I use snmpwalk with them and they do populate values. The logs show unknown SNMP vars for cores 1 & 2, but there's no mention of cores 3 & 4 entries in the logs.
I am on a slackware13.0 machine, that I just finished upgrading to 13.1 with slackpkg.(did slackpkg update;slackpkg upgrade-all; slackpkg install-new. I did not restart the machine). Now im attempting to run the mrtg slackbuild but I get the following during the configure stage:Quote:
I'm trying to get MRTG working on my Debian Lenny server. I have installed all trhe mrtg packages but when I invoke the mrtg command I get this: $ mrtg -c mrtg.cfg Can't locate MRTG_lib.pm in @INC (@INC contains:
[code]...
where is MRTG_lib.pm?? /usr/lib/mrtg is not there?
is anyone familiar with MRTG? i have it up and running just fine, but i have a bunch of interfaces showing up with no data and i want to weed those out. how to specify which interfaces i want to receive and display data from?
I installed MRTG some hours ago. Everything works fine (disk, cpu,..), except the network graph. For this graph, it's only work for ~3 cycles (15min), then... nothing.
This is the part of mrtg.cfg:
Code:
The number for eth0 is 3
Code:
SNMP is running:
Code:
Crontab is configured for mrtg (and seems it's not the problem because the other graphs works well):
Code:
In attachement is the graph for the memory (working!) and .. for the network, as you can see, only one small pic at the beginning.
this morning after the latest updates for slackware-current my mrtg-2.15.2 from slackbuilds failed with
Code: Bareword "P_DETACH" not allowed while "strict subs" in use at /usr/bin/../lib/mrtg2/MRTG_lib.pm line 1133. Compilation failed in require at /usr/bin/mrtg line 89. BEGIN failed--compilation aborted at /usr/bin/mrtg line 89. As there's currently no newer version for mrtg on slackbuilds, i downloaded mrtg-2.17.0.tar.gz from oetiker's page and compiled it. Changing path in crontab and it works well.
I am running Redhat linux 8.0 with 2.4.22 kernel. I am using this server for traffic shaping my static ip clients using tc. There are about 250 clients and I am running mrtg to monitor traffic via cronjobs each 5 minutes. When mrtg run I see too much packets loss in my network. What could be the problem in my server? RAM is 1gb and processor is Intel Pentium D 2.66GHz.
I wanted to know if i can install mrtg on a client computer in network and measure the network's router traffic.i know that it can be installed on the server.
My Ubuntu system is occasionally becoming very sluggish. I'm running many things simultaneously and it's very difficult to tell which program is the culprit.
I suspect that the sluggishness is due to disk activity since the CPU usage is consistently under 50% on each of the 4 cores of the CPU, and over 30% of the 6GB of RAM are free.
Is there a tool that can show me in real time the number of disk IO operations per second and the amount of data read/written per second? Can all this info be broken down and displayed per process?
I want to write a shell script, so that at 9AM every morning a general will be sent automatically to my network users E-Mail ID. My users are as follows: akhtaruzzaman@a[URL], ariful.[URL] etc.
Below is my little effort: # !/bin/bash userlist=`cut -f 1 -d : /etc/passwd` mail -s "mailbackup" << END
keep mailbackup in another drive daily for security purpose