monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: check host mailserver


From: Martin Pala
Subject: Re: check host mailserver
Date: Tue, 1 Mar 2011 13:24:00 +0100

The "mailserver" is in conflict with reserved word ... you can use IP address 
instead of the hostname like this:

check host mailserver with address 1.2.3.4
 if failed icmp type echo count 3 with timeout 3 seconds for 3 cycles then alert


Regards,
Martin


On Mar 1, 2011, at 11:19 AM, Nick Upson wrote:

> This doesn't work, I get "/etc/monit.d/mailserver:5: Error: syntax
> error 'mailserver'"
> the same syntax works fine for other machines so I assume the problem
> is the machine name (? can someone confirm)
> 
> is there a workaround?
> 
> check host mailserver with address mailserver
>  if failed icmp type echo count 3 with timeout 3 seconds for 3 cycles
> then alert
> 
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

[Prev in Thread] Current Thread [Next in Thread]