LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-20-2010, 08:54 AM   #1
Mycado
Member
 
Registered: Jun 2006
Location: Paris, France
Distribution: RHEL
Posts: 73

Rep: Reputation: 15
Unhappy MRTG snmp network graph empty


Hello,

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:
### Interface 3 >> Descr: 'eth0' | Name: 'eth0' | Ip: 'localhost' | Eth: '00-1c-c0-c3-93-1b' ###
Options[127.0.0.1_3]: growright,nopercent,pngdate
Target[127.0.0.1_3]: 3:public@127.0.0.1:
SetEnv[127.0.0.1_3]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="eth0"
MaxBytes[127.0.0.1_3]: 12500000
Title[127.0.0.1_3]: Traffic Analysis for eth0
XSize[127.0.0.1_3]: 550
YSize[127.0.0.1_3]: 150
PageTop[127.0.0.1_3]: <h1>Traffic Analysis for eth0</h1>
The number for eth0 is 3
Code:
r349xx:/etc/snmp# snmpwalk localhost -c public -v1 | grep IF-MIB::ifName
IF-MIB::ifName.1 = STRING: lo
IF-MIB::ifName.2 = STRING: dummy0
IF-MIB::ifName.3 = STRING: eth0
IF-MIB::ifName.4 = STRING: tunl0
IF-MIB::ifName.5 = STRING: gre0
SNMP is running:
Code:
r349xx:/home/mycado# ps aux | grep snmp 
snmp     20872  0.0  1.1  51808  5728 ?        S    14:19   0:01 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1
Crontab is configured for mrtg (and seems it's not the problem because the other graphs works well):
Code:
r34976:/home/mycado# crontab -l
5 * * * * mrtg
In attachement is the graph for the memory (working!) and .. for the network, as you can see, only one small pic at the beginning.
Attached Thumbnails
Click image for larger version

Name:	Picture 6.png
Views:	45
Size:	17.3 KB
ID:	4641  

Last edited by Mycado; 09-21-2010 at 02:32 AM.
 
Old 10-19-2010, 03:44 PM   #2
gjarboni
LQ Newbie
 
Registered: Aug 2009
Posts: 13

Rep: Reputation: 3
If you run mrtg from the command line, you can see if mrtg is reporting any errors with the SNMP query. That might give you some more information to go on.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
snmp and mrtg explanation maxreefer Linux - Networking 4 01-25-2008 10:34 AM
snmp-mrtg ahmed4linux Linux - General 1 11-03-2004 07:27 AM
snmp error in mrtg AZIMBD03 Linux - Networking 0 01-20-2004 04:11 AM
help with mrtg and snmp cristi1979 Linux - Networking 1 06-24-2003 08:49 PM
Snmp/mrtg hydro Linux - Software 1 06-15-2003 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration