26 May
2007
26 May
'07
2:07 p.m.
On Sat, May 26, 2007 at 08:56:05PM +0800, casedj wrote:
Following scripts were added in hobbit-alerts.cfg: HOST=linux_1 SERVICE=disk SCRIPT echo "my_linux disk went to warning state" |smbclient -M cici SCRIPT echo "disk reached warning state" |write hobbit
Sorry, the parameter for the SCRIPT command must be a single executable.
Put the commands you have here into a shell script, and use the filename of the script in your SCRIPT rule.
Regards, Henrik