pass failed host from a hostgroup to an alert script?

2005-12-07 Thread J Paston
Afternoon, I have a hosgroup with 20 hosts. One fails. How can the alert script know which one failed? Thanks. ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon

Re: pass failed host from a hostgroup to an alert script?

2005-12-09 Thread J Paston
On 12/7/05, Ed Ravin [EMAIL PROTECTED] wrote: 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

Re: pass failed host from a hostgroup to an alert script?

2005-12-09 Thread J Paston
Note that this no -u problem only occurs when there is more than one host in a host group. On 12/7/05, Ed Ravin [EMAIL PROTECTED] wrote: 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