sorry for answer so late but i was out of city
first Luca, i dont know where to put a SMTP as default to use the mail command, also i dont know well how mail command works.... that why i try this script
btw what you mean with "adding some newlines to the script"
that is the same i think and i try to resolve it doing this
command_line /usr/bin/nc6 myserver 25 }
mail from: email@example.com
rcpt to: $1
but dont work also not send mail either T_T!
pd: if you mean "$SERVICESTATE$ is completed" when services state is down or UP yes is completed
coz it works once but in the mail dont give me any details
Edited Fri Jan 27 2006, 03:16AM ]