Server :: Make Mrtg Graph ?
Mar 10, 2011I have problem with make mrtg graph.
For example:
I use this Options for CPU:
Code:
Now use this command:
Code:
receive this message:
Code:
I have problem with make mrtg graph.
For example:
I use this Options for CPU:
Code:
Now use this command:
Code:
receive this message:
Code:
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.
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 have nagios and pnp4nagios installed and running fine. I have some snmp data that's monitoring an ASA5510.
I have the both the Data In and Data Out varibles, which go into individual graphs. Now I know that I can put the 2 data onto 1 graph, such as this graph: [URL]
I just don't know how to do it. I have in nagios the info here:
define host{
use WAN-devices ; Inherit default values from a template
host_name firewall ; The name we're giving to this host
alias firewall ; A longer name associated with the host
address 10.x.x.x ; IP address of the host
action_url /pnp4nagios/graph?host=$HOSTNAME$&srv=_HOST_
}
[Code]....
I'm using munin to monitor our servers. Recently I created additional partitions on one of them and I noticed that munin has not picked up the changes.
I restarted munin-node and running the plugin manually as user munin on the machine
Code:
$ munin-run df
I get all my partitions
Also when I telnet 10.1.1.25 4949 and run
Code:
fetch df
I'm getting all of them. The graph however displays only the ones that were there at the time of munin install.
How can I get munin to add the new partitions to the graph ?
I need to generate graph for Huawei AR4620 router . As I don't know the MIB for CPU USAGE I cannot create graph for CPU USAGE of Huawei Ar4620 Router. But I can create graph for Interface Traffic for Huawei AR4620 Router.
View 1 Replies View RelatedI install squid-graph 3.2 need to know:
On analyze page have:
This mean! cache sending to my users as total object 84Mb? and proxy server sending object 52Mb which are not cached yet to the users?
Well been configuring mrtg for a week .. still not getting it done.. looked the search in google but not yet satisfying result came up...
The index maker command for mrtg is not working .... everytime i use this command as:
It shows the error as:
I am using Centos 5 as squid proxy server. I want to configure MRTG to monitor live visual representation of internet traffic.
View 8 Replies View RelatedI 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...
View 6 Replies View RelatedMy mrtg refreshes usually too late(15 min.)and i want to make it 5 min.But i dont know where to edit.
View 1 Replies View Relatedif there's a way to add additional devices within mrtg? it is setup to monitor my main fw and wanted to add additional fw's in.
View 8 Replies View Relatedrecently 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.
View 1 Replies View RelatedI 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?
[Code]....
I follow the steps to install MRTG ... and this error appear to me
My linux is RHEL 5.0.
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).
View 1 Replies View Relatedmade 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
View 1 Replies View RelatedI 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.
View 3 Replies View RelatedI 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:
...
... [ alot of configure output omitted ]
...
[code]....
I am trying to understand how can I make a graph in C. So I wrote some program.
Code:
#include "declarations.h"
graph root = NULL;
int main()
{
[Code]....
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?
View 1 Replies View RelatedI'm using mrtg to generate html files. With mrtg , i use indexmaker . Inside html files , i have found some html tag like "<SMALL>some text</SMALL>".
There is the manner to delete text inside two tags ? With bash script?
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.
cfgmaker --global 'WorkDir: /home/httpd/mrtg'
--global 'Options[_]: bits,growright'
--output /home/mrtg/cfg/mrtg.cfg
community@router.abc.xyz
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.
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 using Scilab5.2.2 in ubuntu9.10. Whenever I try to plot a graph, Scilab closes.
View 1 Replies View RelatedI need a script that takes data fom a file mydata.dat and create a graph. the content of mydata.dat is Bin Data1 Data2 Data3
Then it asks from the user to select which colums with use for x and which for y. the x and y titles must be generated automaticly by the names of each column from the first line of mydata.dat the limits must also be auto generated by the width of the column (for example for data2 is 12-45). in the end for graph title must shown the current time and date in this format:
So it asks for the user the columns and in the end it shows the graph with the above settings.
I use bmon for my networking manager. But I am confused with interface, I can't understand the graph, and other statistics. What is TX Rate, RX Rate, RX ,TX? In the graph what is the signifcant of dots, in the bracket [-0.02%]?
View 3 Replies View RelatedI installed scilab-5.2.2 in ubuntu 9.10. whenever I try to plot a graph scilab closes.
View 2 Replies View RelatedI am using GNUPLOT for plotting graphs but don't know how to save the graph as an image (irrespective of the format). If someone knows the correct GNUPLOT command for this, please tell me. Note that I have read: [url]but it does not satisfy.
View 6 Replies View Related