[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 |
Greetings,
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,
monit
}
$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:
foo07.bar.example.com
foo07.baz.example.com
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?
Thanks!
-dave
--
Dave Paper
MCSE is to computers as McDonalds Certified Chef is to fine cuisine.
- [monit] Monit 5.0.2 question,
David Paper <=