On Thu, Sep 15, 2005 at 04:37:38PM +0100, Aled Treharne wrote:
> Just looking at a few options to extend on my bulksms alert script and
> I was wondering what happens if the alert script generates any output
> either on stdout or stderr? One of the potential options for bulksms
> is a lack of credit, or network problems which I can poll the system
> for using the msgid, however I'd need to pass a failure back to mon to
> deal with (just log it probably).

There's no in-channel way of doing that - you'll need to syslog or
email a notice.  Also, unless you're using mon 1.1, remember that
alerts block Mon until they exit, so be sure to put in an alarm to
catch any blocking conditions.

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to