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> 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 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.