LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-22-2006, 02:28 PM   #1
bship
LQ Newbie
 
Registered: Mar 2005
Location: NC
Distribution: Red Hat and Novell OES (formerly SUSE), LPI 101 and Net+
Posts: 25

Rep: Reputation: 15
Stop MRTG cron! Flooded with e-mail since HW upgrade!


I have searched and searched for help and I seem to have tried everything except the solution. I've got 2 versions of mrtg installed at 15 locations. Version 2.9.17 was installed to run from crontab. I have stopped all monitoring and e-mails from those locations.

However, 2.9.29 doesn't seemed to be installed in crontab.
I have traced mrtg all over my servers...
/etc/mrtg/mrtg.cfg = which is where the HW config files are located
/etc/cron.d/mrtg = which is where the one liner (cron config file is ?)
/usr/local/mrtg = which is where the pl scripts and some log files live
/usr/bin/mrtg = which is where the actual config is, right?

I have killed processes, commented out lines, tried to search for daemons, etc. I have tried all the help listed on this site and googled til I can google no more.

Please help!

I want to stop mrtg, thus stopping all e-mails from flooding my inbox. I have temporarily stopped sendmail to prevent the flooding til I find a solution to stop mrtg.

Any and all suggestions will be graciously accepted.

Thx in advance

Last edited by bship; 05-22-2006 at 02:29 PM.
 
Old 05-23-2006, 07:51 PM   #2
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
On my system, I moved /etc/cron.d/mrtg to my home directory. This stopped mrtg from being run every 5 minutes via cron.
 
Old 05-24-2006, 07:45 AM   #3
bship
LQ Newbie
 
Registered: Mar 2005
Location: NC
Distribution: Red Hat and Novell OES (formerly SUSE), LPI 101 and Net+
Posts: 25

Original Poster
Rep: Reputation: 15
Do you get any e-mail errors about it not finding configs or other files? I am also concerned about it writing to log files that never end and eat up disk space.

Of course, if this works - it'd be too easy.

This is the story of my life, though.
 
Old 05-25-2006, 12:37 PM   #4
bship
LQ Newbie
 
Registered: Mar 2005
Location: NC
Distribution: Red Hat and Novell OES (formerly SUSE), LPI 101 and Net+
Posts: 25

Original Poster
Rep: Reputation: 15
MRTG fix - stop MRTG and stop e-mails from flooding inbox.

Moving it didn't seem to work.

It was already stopped, though.
I just had old e-mails that had to flush thru the system.
On MRTG 2.9.17 you comment out the run line with crontab -e
On MRTG 2.9.29 you comment out the run line in /etc/cron.d/mrtg
Then of course, you restart with service crond restart

Good Luck and hope this helps somebody.

 
  


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
Stop MRTG Emails sti2envy Linux - Networking 2 12-28-2005 01:57 AM
How do I get cron mail to stop forwarding through localhost on CentOS 4? alexmkt Linux - Enterprise 3 11-23-2005 01:27 PM
Our mail server is being flooded with email address to non-existent recipients. gaslq Linux - Networking 5 12-14-2004 08:29 PM
How do I stop MRTG? dani81 Linux - Networking 4 09-03-2004 04:17 AM
Created a Cron job, now my inbox is getting flooded TruckStuff Linux - General 10 04-27-2003 07:19 AM


All times are GMT -5. The time now is 07:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration