Xymon Mailing List Archive search

how to get the alias (diff hostname than the actual) in mail alert?

list Larry Barber
Thu, 25 Apr 2013 12:58:05 -0500
Message-Id: <CAOnF4RAn6bjjh6M=d_J8GwRYb6quu9Oo=user-8e387347f702@xymon.invalid>

It's better to put the name you want to refer to a system as in the
hosts.cfg name field and then use the CLIENT: directive to map what the
machine thinks its name is to what you want to call it. You can switch
things over to using CLIENT easily enough if there aren't too many hosts
using NAME. Simply edit hosts.cfg, moving the entry behind NAME to the name
field, deleting NAME and adding CLIENT. Then use the rename command in
xymon to move all the history over.

Thanks,
Larry Barber


On Thu, Apr 25, 2013 at 12:50 PM, Root, Paul T <user-76fdb6883669@xymon.invalid>wrote:
 --hostname <hostname> on the command line of the runclient.sh script.****

** **

*From:* xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] *On
Behalf Of *deepak deore
*Sent:* Thursday, April 25, 2013 12:35 PM
*To:* xymon at xymon.com
*Subject:* [Xymon] how to get the alias (diff hostname than the actual)
in mail alert?****

** **

we are using NAME for the odd hostnames on amazon EC2,****

** **

NAME:server01-prod****

** **

But when we get the mail alerts, the actual servername comes which is
confusing, how can we set the same name of the host in mail which is set in
NAME option in hosts.cfg.****

** **

Thanks,****

Deepak****