General :: Configuring SNMP For MRTG?
Dec 10, 2010
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.
View 1 Replies
ADVERTISEMENT
Aug 12, 2010
I'm trying to configure SNMP service to send traps to SNMP server. I've installed net-snmp-utils, now I need to configure the "snmpd.conf" file...
View 2 Replies
View Related
Sep 20, 2010
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.
View 1 Replies
View Related
Aug 5, 2010
My 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 Related
Mar 26, 2010
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?
[Code]....
View 1 Replies
View Related
Jul 26, 2009
I follow the steps to install MRTG ... and this error appear to me
My linux is RHEL 5.0.
View 5 Replies
View Related
May 4, 2010
I'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?
View 1 Replies
View Related
Mar 11, 2010
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.
View 1 Replies
View Related
Jul 9, 2010
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:
View 4 Replies
View Related
Aug 7, 2010
I want to add a few linux server to our monitoring system (solarwinds).
We have to get this information by snmp.The items we need are:
1-In Byte Transferred on every network interface
2-Out Byte Transferred on every network interface.
3-Memory Usage
4-Memory Free
5-CPU usage
6-Free Disk space on partiotion
7-Uptime
I could not find snmp OID or names for this object to fetch.
View 2 Replies
View Related
Jan 26, 2010
I've got a new install of the following...
[root@big-bad-joe /]# more /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
------------------------------------------------------------------
[code]....
View 1 Replies
View Related
Feb 12, 2010
I have been trying to set up SNMP monitoring using Cricket. I believe I have Cricket running fine, however I also believe that I have SNMP set up wrong. When I do an SNMPWALK I get the following:
[Code]....
This tells me I have SNMP running, however I would expect to see a lot more data... Am I correct, should I see more data? I spoke to a friend, and he suggested that I have something not set up correctly in SNMP dealing with the community string...
View 1 Replies
View Related
May 24, 2011
I just narrowly passed another exam on UNIX Academy. Their DVDs are incredible. While I made some mistakes here and there.I was really stumbled upon a question that was formulated something like "SNMP for managing Linux machines remotely".I can't remember the exact definition. I'm not sure what it was about.I was under impression that SNMP it is a carrier protocol for commands like "ping" and "traceroute". I was trying to read about it online but it is way too broad and technical, they're loosing me on very first page. I suspect there's some kind of product or technology that uses SNMP in some way to handle Linux, I'm not sure.
View 2 Replies
View Related
Jul 2, 2010
Iam using snmp to access the remote system data.But according to the requirement iam encoding the snmp request data to OAMPDU packet format and sending to remote system.the remote system receives the OAMPDU packet,decodes it and is sending the snmp packet to snmp agent through UDP socket which is bind to port 161.but iam unable to receive the response from snmp agent.i have created a udp socket which is bind to 161 port to receive the response.
if i use any other free port number other than 161 for receiving snmp agent is not sending the response to that port.can any one please suggest me how to overcome this problem.Can we configure the different ports for tx,rx ?How do we know on which port does snmp sends the response ???
View 1 Replies
View Related
Oct 24, 2010
I need to be able to send snmp traps based on certain severity or content of syslog messages. Can this be done from standard linux? Alternatively, are there MIB's out there that support syslog events so I can get the status from snmp?
View 1 Replies
View Related
Jan 8, 2011
In cisco 6509 switch port 1status is being traped it is showing "SNMP CRITICAL - *down(2)*"
View 2 Replies
View Related
Dec 23, 2010
I am trying to calculate band Width on few interfaces. Every thing works fine, bandWidth goes up when user loged in it goes down the moment working hrs are over. Only problem is once in a while it show negative bandWidth ? I make that script to send information in-case it negative. here are few examples
Code:
from IP XX.X.X.X interface X
inCounters new = 1056124169 old = 484753332
outCounters new = 71539457 old = 4205963496
inDelta = 571370837
[code]....
Code:
inPut utilization = (change x 8 X 100) / (change in time X connection speed)
but that would not matter because , problem is caused by lowering count on in and out packets.
View 4 Replies
View Related
Jun 13, 2009
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:
View 1 Replies
View Related
Jun 6, 2011
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 Related
Jul 8, 2011
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...
View 6 Replies
View Related
Mar 16, 2011
if 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 Related
Mar 10, 2011
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:
View 1 Replies
View Related
Jun 13, 2011
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 Related
Mar 5, 2010
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
View 1 Replies
View Related
Feb 25, 2010
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.
View 3 Replies
View Related
Feb 1, 2011
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:
...
... [ alot of configure output omitted ]
...
[code]....
View 3 Replies
View Related
Mar 14, 2010
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?
View 1 Replies
View Related
Dec 23, 2008
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 Related
Jan 4, 2011
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.
View 2 Replies
View Related
May 10, 2010
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.
View 8 Replies
View Related