[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] How to send alert via script ?
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] How to send alert via script ?
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Wed, 6 Jun 2007 15:12:17 +0200
- References: <000e01c7a83b$98c0af90$7363560a (at) cici>
- User-agent: Mutt/1.5.13 (2006-08-11)
On Wed, Jun 06, 2007 at 09:07:07PM +0800, casedj wrote:
> I put the commands in a script alert.sh and call that script in hobbit-alerts.cfg:
>
> HOST=my_linux SERVICE=disk
> SCRIPT alert.sh my_linux
You'd better use the full path to the script.
Henrik