On Wed, Dec 07, 2005 at 01:30:15PM +0100, J Paston wrote: > Afternoon, > I have a hosgroup with 20 hosts. One fails. How can the alert script > know which one failed? Thanks.
The monitor script is supposed to send the name of the failing host as the first line of its output (the summary). Please read over the mon man page - it covers how information is shared between monitors, mon, and alerts. Depending upon what you're doing, you might want to upgrade to the current mon 1.1 in CVS, since it has a couple of new features for caching of output from monitors. _______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon