Re: Shell script for a mail queue notification!



On Thu, 08 Mar 2007 02:18:58 +0100, Nightman wrote:

I am looking for a script to run in cron and notify the admin, if the mail
queue exceed some predefined level. i have made the script and it working
fine by executing the qmHandle -s command.

But I found out these mail notification is not suitable to alert the
admin, since if the mail queue is huge then notification mail will also
wait until the other mails been delivert. so the solution is not ideal.

What other way I can make this alert? is there any way to alert another
server to send an email? or any other suggestions?

Does your distro have nail (now known as Heirloom mailx)?
http://heirloom.sourceforge.net/mailx.html
"Supports SMTP to send messages directly to a remote server."

Alternatively you could consider sending via IM or as SMS message to
admin's cellphone.


--


--
Posted via a free Usenet account from http://www.teranews.com

.



Relevant Pages

  • Re: Monitoring and Alerts
    ... Stop and Disabled the WMI service. ... After this command is completed, start the WMI service and run this command ... |> Relay settings for Exchange SMTP Virtual Server: ... I didn't receive a performance alert. ...
    (microsoft.public.windows.server.sbs)
  • Re: Performance Alert - Passing command line arguments to email script
    ... Your script is good. ... the command line arguments that is available in the perfmon utility. ... > two scripts to fire an email every time an alert is triggered. ... > server = WScript.Arguments.Item ...
    (microsoft.public.windows.server.general)
  • Re: Shell script for a mail queue notification!
    ... Anyway the sms option will be perfect. ... Is there any way to pass some data to another server to trigger something to ... But I found out these mail notification is not suitable to alert the ... What other way I can make this alert? ...
    (alt.os.linux)
  • Re: 2 Critical Alerts since I added more RAM
    ... This newsgroup only focuses on SBS technical issues. ... Do you SBS server encounter any performance issue? ... The inetinfo.exe process uses lots of memory and memory usage continues to ... the allocating more memory than usual alert ...
    (microsoft.public.windows.server.sbs)
  • RE: SMTPSVC repeatedly times out along with RESvc, IISADMIN, and W
    ... alert of the inetinfo.exe process from the SBS 2003 server. ... You may safely ignore this alert. ... than the predefined threshold value. ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)