LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-22-2004, 04:22 PM   #1
vladimir-dk
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Debian, FreeBSD
Posts: 53

Rep: Reputation: 15
Statistic MRTG wont show the graph


I have just installed MRTG but it wont show the graphs i get this error when i type:

cfgmaker localhost public

Error: http://www.dannyfb.dk/mrtg.txt

Can anyone help me. My graps wont show...
 
Old 06-24-2004, 03:35 PM   #2
vladimir-dk
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Debian, FreeBSD
Posts: 53

Original Poster
Rep: Reputation: 15
can anyone help ?
 
Old 07-29-2004, 03:31 PM   #3
pauljtester
LQ Newbie
 
Registered: Apr 2004
Posts: 28

Rep: Reputation: 15
make sure that snmpwalk works by itself. Try something like:
Code:
snmpwalk -Os -c public -v 1 your.router.name.here system
you can replace system with 'if' for interface a number of other things associated with MIBs (though I'm not real familiar with them myself).

If that doesn't work, make sure you have snmp(d) turned on on the server you are trying to monitor. To check if it's running, try
Code:
prompt# /etc/init.d/snmpd status     or
prompt# chkconfig --list snmpd
Yet, these are RH commands, I don't know that it's the same with Debian.

Hope this helps.
PJT
 
Old 07-30-2004, 04:53 PM   #4
vladimir-dk
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Debian, FreeBSD
Posts: 53

Original Poster
Rep: Reputation: 15
Question

I have struggerling with this for a month now and I'm still haveing problems with it.

I'm sure that my snmpd i startet:

/etc/init.d/snmpd start
Starting network management services: snmpd.

On my webpage the graph are now visible but are not showing any stats

what more can i tjek. ??

The command you gave my didn't really worked out

Last edited by vladimir-dk; 07-30-2004 at 04:55 PM.
 
Old 08-02-2004, 09:03 AM   #5
pauljtester
LQ Newbie
 
Registered: Apr 2004
Posts: 28

Rep: Reputation: 15
My recommendation is to make sure that you can get snmpwalk working first because MRTG relies on that. For documentationn on snmpwalk check out
http://net-snmp.sourceforge.net/
snmpwalk then fills in the numbers in the .log files. For example /home/httpd/mrtg/192.168.0.1_cpu.log and I believe the graph then plots the lines from these numbers.

Two other things that you can check is 1) make sure that a firewall or ACL (on a router) is blocking the snmp traffic and 2) capture the packets with Ethereal and make sure that they are actually going to and from the device you are trying to monitor.

HTH,
PJT
 
  


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
problem with mrtg graph orko Linux - Networking 2 02-02-2005 05:31 AM
Flat line in MRTG graph orko Linux - Networking 6 06-09-2004 10:40 PM
X wont show movitto Linux - Hardware 3 06-08-2004 09:36 PM
specific port traffic graph using mrtg newpenguin Linux - Networking 7 12-16-2003 06:00 PM
Text wont show up - Help WarChild Linux - Hardware 33 03-18-2003 10:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:53 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