Hi Truong,
may be more than what you need, but Nagios allows you to monitor any service on any machine and notify you when the service is down. You can get alerts via emails, text messages, etc. from nagios. You can set alerts when your filesystems reach a certain threshold. Plus a whole lot more. Nagios is not for the faint of heart though. Configuration can be a beast. There are other opensource products that do the same thing. For instance, OpenNMS or Cacti and there are probably many more. I would take a look at one of them.
Dave

Truong Duc Luong wrote:
Thank Andreas,

How can I use this script without webmin? Someone want to share more about this?



-----Original Message-----
From: Andreas Galatis [mailto:[email protected]] 
Sent: Thursday, May 28, 2009 1:50 PM
To: [email protected]
Subject: Re: [qmailtoaster] Script for qmail monitoring

Hi Truong,

within webmin you have various scripts to monitor services. 
Here the first few lines:
# mailserver-monitor.pl
# Check a remote mail server by sending email at period intervals and waiting
# for a response. This depends on the remote address being an autoreponder 
that
# replies to the sending address with the same or derived subject line.


Andreas 
Am Thursday 28 May 2009 06:46:05 schrieb Truong Duc Luong:
  
Hi list,



I have just installed qmail on my server. Now I need a script to monitor
qmailtoaster services: If qmail services (SMTP, POP3, IMAP) down script
return code 1, otherwise, return code 0. The script on qmailtoaster
failover thread only check server up or down (
<http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup>
http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup).



Anyone can share this script or suggestion? Help me, please.



Thank you very much.
    



---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
     Please visit qmailtoaster.com for the latest news, updates, and packages.
     
      To unsubscribe, e-mail: [email protected]
     For additional commands, e-mail: [email protected]



---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
     Please visit qmailtoaster.com for the latest news, updates, and packages.
     
      To unsubscribe, e-mail: [email protected]
     For additional commands, e-mail: [email protected]


  
--------------------------------------------------------------------------------- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! --------------------------------------------------------------------------------- Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

Reply via email to