[Top][All Lists]

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

[monit] Monit 5.0.2 question

From: David Paper
Subject: [monit] Monit 5.0.2 question
Date: Wed, 13 May 2009 11:12:46 -0400


Congrats on getting 5.0 released! I've got 5.0.2 running and have finally noticed something that has probably been there all along.

Using the mail-format specifications from the monit.html documentation:

 mail-format {
      from: address@hidden
   subject: $SERVICE $EVENT at $DATE
   message: Monit $ACTION $SERVICE at $DATE on $HOST: $DESCRIPTION.
            Yours sincerely,

$HOST appears to be the short name that the host is known by. This presents a problem when there are two hosts that have identical short names, but different subdomains like:

On SuSE linux, 'hostname' returns just foo07. 'hostname -f' returns the fully qualified domain name.

Is it possible to tell monit in the monitrc file either to use the FQDN of the host, or to specify what the FQDN is?



Dave Paper

MCSE is to computers as McDonalds Certified Chef is to fine cuisine.

reply via email to

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