Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-30-2008, 06:41 AM   #1
Registered: Nov 2006
Posts: 54

Rep: Reputation: 15
MRTG error: not showing traffic


I wonder if anyone can help. I've installed MRTG on CentOS and am having problems getting it to display traffic data - all other graphs (CPU/memory/load/open connections etc) are working with no problems.

When I run MRTG I get the following errors:

# /usr/bin/mrtg /etc/mrtg/mrtg.cfg
WARNING: Problem with External get '/usr/local/apache/htdocs/mrtg/core/system network eth0':
   Expected a Number for 'in' but got ''

WARNING: Problem with Externale get '/usr/local/apache/htdocs/mrtg/core/system network eth0':
   Expected a Number for 'out' but got ''

ERROR: Target[index][_IN_] ' $target->[0]{$mode} ' did not eval into defined data
ERROR: Target[index][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data
For some reason it's just not getting the traffic stats, does anyone have an idea of what could be causing this?

Thanks in advance
Old 01-31-2008, 04:06 AM   #2
Registered: Oct 2007
Location: Italy
Distribution: Ubuntu
Posts: 84

Rep: Reputation: 17
Probably, he's looking for traffic stats on the wrong SID, if you are using snmp to gather gata, google to find the right one and then insert it in the mrtg.conf.



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
mrtg not showing wholel network traffic jatender Linux - Server 1 10-08-2007 12:05 AM
SNMP MRTG RRDTOOL Configu of CPU memory Disk Port data traffic doc traffic manish_2479 Linux - Networking 1 06-19-2007 07:08 AM
error message when run MRTG: SNMP error zhgalaxy Linux - Newbie 0 02-18-2004 12:08 PM
specific port traffic graph using mrtg newpenguin Linux - Networking 7 12-16-2003 06:00 PM
mrtg and snmp showing only incoming bytes ivannus Linux - Networking 3 10-10-2001 08:10 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:12 PM.

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