Latest LQ Deal: Latest LQ Deals
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 04-04-2009, 01:34 AM   #1
LQ Newbie
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
MRTG is misbehaving: updates graphs once or twice, then stops.

A few hours ago I installed MRTG on a Debian Lenny server. It worked fine for about 20-30 min, then the graphs stopped updating.

I tried restarting the snmpd service, daemonizing mrtg, undaemonizing mrtg, pretty much anything I could think of to no avail. 'ps aux | grep mrtg' shows that it is still running - which makes sense as the graphs keep updating with zero values.

I tried running 'snmpwalk -v1 localhost -c public' to see if snmp wasn't feeding the data properly, but it seems to come back okay. /var/log/mrtg/mrtg.log also has absolutely no errors.

The only thing that gets the graphs to update properly again is to do a system reboot, after which the updates work for 2-3 times (10-15min) and then stop again.

Here's what the graph looks like now.

Any ideas? I googled the hell out of this but couldn't find any concrete ideas to try apart from running MRTG as a daemon.

aesop:~# uname -a
Linux aesop.<>.com #4 SMP Wed Feb 18 16:30:23 UTC 2009 i686 GNU/Linux

aesop:~# apt-cache madison mrtg
      mrtg |   2.16.2-3 | lenny/main Packages
      mrtg |   2.16.2-3 | lenny/main Sources

aesop:~# apt-cache madison snmpd
     snmpd | 5.4.1~dfsg-12 | lenny/main Packages
  net-snmp | 5.4.1~dfsg-12 | lenny/main Sources
Old 04-05-2009, 02:20 PM   #2
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Did you try with crontab and execute mrtg in a time interval?
Old 05-14-2009, 12:42 PM   #3
LQ Newbie
Registered: May 2009
Posts: 1

Rep: Reputation: Disabled

I'm havin' the exact same problem.
I'm running:
Linux "my.server.domain" #5 SMP Wed Apr 1 13:09:49 UTC 2009 i686 GNU/Linux

I have tried installing it tree times and I have also formated it one time, without any luck.

I hope someone knows anything



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
Cannot Open My MRTG Graphs Webpage! hjehmssgm Linux - Server 2 09-01-2007 10:09 AM
How can I pull mrtg graphs from my Cisco switch and get them to display on the web? abefroman Linux - Networking 7 08-27-2007 12:24 PM
Weird Spike On Mrtg Graphs debloxie Linux - Networking 3 06-06-2006 04:38 AM
flashdrive misbehaving linmix Linux - Hardware 9 02-06-2005 04:32 AM
help with MRTG graphs!! debloxie Linux - Networking 4 10-05-2004 11:13 AM > Forums > Linux Forums > Linux - Software

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