Hi Larry,
$ ~/server/bin/xymon 127.0.0.1 "drop uspvl3k153"
Executed above command to remove all traces of a host, but getting below error:
2013-05-27 15:07:22 Whoops ! Failed to send message (timeout)
2013-05-27 15:07:22 ->
2013-05-27 15:07:22 -> Recipient '127.0.0.1', timeout 15
2013-05-27 15:07:22 -> 1st line: 'drop uspvl3k153.rdigest.com'
Thanks,
Siddesh
From: Larry Barber [mailto:user-6ef9c2864140@xymon.invalid]
Sent: Tuesday, May 28, 2013 1:28 AM
To: Siddesha Dodderi Hanumantharayappa
Cc: xymon at xymon.com
Subject: Re: [Xymon] How to DELETE nad RENAME a host in the Xymon
You need to put a './' in front of the commands:
/home/xymon/server/bin $ ./xymon yada yads.
Unix/Linux is not DOS, the current directory is not in the search path by default, and it shouldn't be.
Thanks,
Larry Barber
On Mon, May 27, 2013 at 11:19 AM, Siddesha Dodderi Hanumantharayappa <user-1c59f3986e43@xymon.invalid<mailto:user-1c59f3986e43@xymon.invalid>> wrote:
Hi Team,
I am unable to deleted and rename a host in the Xymon. Please help to get this done with proper command and syntax.
To Delete of an entire host in Xymon I did the following:
Remove the host from the ~/server/etc/hosts.cfg file.
Then ran the following command from path /home/xymon/server/bin
xymon 127.0.0.1 "drop HOSTNAME"
[Getting below error:
bash: xymon: command not found]
To rename a host in the Xymon display I did the following:
Changed the ~/server/etc/hosts.cfg file so it has the new name.
Then ran the following command from path /home/xymon/server/bin
xymon 127.0.0.1 "rename OLDHOSTNAME NEWHOSTNAME"
[Getting below error:
bash: xymon: command not found]
Thanks,
Siddesh
The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to user-cad4aeeef902@xymon.invalid<mailto:user-cad4aeeef902@xymon.invalid> and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.
The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to user-cad4aeeef902@xymon.invalid and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.