LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-22-2004, 09:15 AM   #1
topcat
Member
 
Registered: Feb 2003
Distribution: ubuntu 6.06, ubuntu 7.04 AMD 64bit, 7.10 AMD 64bit
Posts: 62

Rep: Reputation: 15
Setting email Alerts for mail server


Hello experts/enthusiasts. Hoping you could help me. Thanks in advance.

I have a redhat 9.0/postfix/ldap/courier/maildrop/spamassassin setup for a virtual mail server hosting many domains.


I would like to set up a number of alerts on it (email alert/ sms alert/mobile-email) to monitor the system.

The alerts would be :

a) Everything ok Alert-SMTP working..
The system should send me an email every X min so I know that the email server can send emails.

b) Disk Usage Alert:
The System should send me an email whenever any partition crosses 90% of its total space.

c) Apache not working Alert:
The System should check and send me an email when apache goes down.

e) Postfix down alert:
The system should check and send email when postfix is not running.

f) Ldap Alert:
Email to be sent when ldap is not running

g) Courier Alert:
Email to be sent when courier not running

h) A program will try to log in to a test account (as if logging via squirrelmail) and if login is a failure then, send an alert. This will happen at pre-determined intervals.


i) High Processor usage alert:
If any particular process or combination of processes is taking up a lot of system resources, i should get an alert.



I have seen this forum as very active and vey helpful. I look forward to your assistance.

Thanks
topcat
 
Old 04-22-2004, 01:33 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Nagios should be perfect for this (I use it myself) - see:
http://www.nagios.org

Logging into squirrelmail will probably involve writing a new plugin but I'm sure it will be possible and quite probably a welcome addition to the nagios-plugin project on sourceforge.
 
Old 04-23-2004, 01:52 PM   #3
topcat
Member
 
Registered: Feb 2003
Distribution: ubuntu 6.06, ubuntu 7.04 AMD 64bit, 7.10 AMD 64bit
Posts: 62

Original Poster
Rep: Reputation: 15
looks really useful!! thanks!!

hi.. thanks.. looks really good. I will pass it on to the sys admin..
But the documentation said that its gonna be complex, this installation.

Do you think you would have the time to help out in case i get stuck? i may post a lot so if thats NOT ok, let me know.

It could be possible that questions related to this have been done to death by now on this forum, so if you could point me to some such links, i'd really appreciate it.

thanks again.

err.. where is the affero button?
 
Old 04-23-2004, 02:01 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
To be honest I can't say I've seen too many posts about nagios on this site although there are bound to be some. To be honest I don't think the install is that difficult. Just take your time and go through it step by step and you'll be fine. If you have any problems then just keep posting them. I'm subscribed to this thread so I'll know when you post.
 
Old 06-18-2004, 05:52 AM   #5
topcat
Member
 
Registered: Feb 2003
Distribution: ubuntu 6.06, ubuntu 7.04 AMD 64bit, 7.10 AMD 64bit
Posts: 62

Original Poster
Rep: Reputation: 15
I used monit instead

used the monit alert system. and it works fine. for local and remote monitoring...

Very easy to configure too.


thanks!
 
  


Reply



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
Setting up an email server SnellgroveC Linux - Newbie 2 11-11-2005 08:19 AM
Setting up mail server with Email spying joppu7 Linux - Software 3 10-22-2005 09:13 AM
setting default mail browser and email client novacrasher Linux - General 9 01-12-2005 02:31 PM
setting up an email server tommytomato Linux - Newbie 1 09-03-2004 04:46 PM
Setting up Email server rdefino Linux - Newbie 2 02-11-2003 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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