>> However, I will have a thorough look at "monit".

If you go that route, here is my config:

set mail-format { 
                        from: assp.monit AT somedomain.com
                     subject: [Monit] $SERVICE $EVENT at $DATE
                     message: Monit $ACTION $SERVICE 
                              at $DATE on $HOST: 
                              $DESCRIPTION.
                }

check process assp with pidfile /assp/pid

start program = "/etc/init.d/assp start"
stop program = "/etc/init.d/assp stop"

if failed host 127.0.0.1 port 25 protocol smtp
    with timeout 10 seconds
    for 1 times within 1 cycles
    then restart

Doug

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to