On 23. jan. 2007, at 17.18, Jose Raul Baron wrote:
check host blablabla with address 999.999.999.999
if failed port 21 protocol ftp with timeout 15 seconds then
ALERT [EMAIL PROTECTED] MAIL-FORMAT { from: [EMAIL PROTECTED] }
Alert is a statement defining the alert to be sent for just one
service, but since alert also is an action the statement should say:
check host blablabla with address 999.999.999.999
if failed port 21 protocol ftp with timeout 15 seconds then alert
ALERT [EMAIL PROTECTED] MAIL-FORMAT { from: [EMAIL PROTECTED] }
It may look confusing and an alternative is to define a global alert
which may be more clear:
set [EMAIL PROTECTED] MAIL-FORMAT { from: [EMAIL PROTECTED] }
check host blablabla with address 999.999.999.999
if failed port 21 protocol ftp with timeout 15 seconds then alert
Jan-Henrik
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general