LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Setting email Alerts for mail server (https://www.linuxquestions.org/questions/linux-networking-3/setting-email-alerts-for-mail-server-173307/)

topcat 04-22-2004 09:15 AM

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

david_ross 04-22-2004 01:33 PM

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.

topcat 04-23-2004 01:52 PM

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?

david_ross 04-23-2004 02:01 PM

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.

topcat 06-18-2004 05:52 AM

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

Very easy to configure too.


thanks!


All times are GMT -5. The time now is 08:48 PM.