<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Hi Larry,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">$ ~/server/bin/xymon 127.0.0.1 "drop uspvl3k153"</span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Executed above command to remove all traces of a host, but getting below error:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">2013-05-27 15:07:22 Whoops ! Failed to send message (timeout)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">2013-05-27 15:07:22 -></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">2013-05-27 15:07:22 ->  Recipient '127.0.0.1', timeout 15</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">2013-05-27 15:07:22 ->  1st line: 'drop uspvl3k153.rdigest.com'</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Thanks,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Siddesh</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Larry Barber [mailto:lebarber@gmail.com]
<br>
<b>Sent:</b> Tuesday, May 28, 2013 1:28 AM<br>
<b>To:</b> Siddesha Dodderi Hanumantharayappa<br>
<b>Cc:</b> xymon@xymon.com<br>
<b>Subject:</b> Re: [Xymon] How to DELETE nad RENAME a host in the Xymon</span></p>
<p class="MsoNormal"> </p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">You need to put a './' in front of the commands:</p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">/home/xymon/server/bin $ ./xymon yada yads.</p>
</div>
<p class="MsoNormal">Unix/Linux is not DOS, the current directory is not in the search path by default, and it shouldn't be.
<br>
<br>
Thanks,</p>
</div>
<p class="MsoNormal">Larry Barber</p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> </p>
<div>
<p class="MsoNormal">On Mon, May 27, 2013 at 11:19 AM, Siddesha Dodderi Hanumantharayappa <<a href="mailto:Siddesha.Hanumantharayappa@ness.com" target="_blank">Siddesha.Hanumantharayappa@ness.com</a>> wrote:</p>
<div>
<div>
<p class="MsoNormal" style="">Hi Team,</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">I am unable to deleted and rename a host in the Xymon. Please help to get this done with proper command and syntax.</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style=""><a name="13ee78a0db4dab52_drophost"><b><span style="font-size:13.5pt">To Delete of an entire host in Xymon</span></b></a><b><span style="font-size:13.5pt"> I did the following:</span></b></p>
<p class="MsoNormal" style=""><span style="font-size:13.5pt">Remove the host from the ~/server/etc/hosts.cfg file.
</span></p>
<p class="MsoNormal" style=""><span style="font-size:13.5pt">Then ran the following command from path
</span><span style="font-size:10.0pt; font-family:"Courier New"">/home/xymon/server/bin</span></p>
<p class="MsoNormal" style=""><span style="font-size:10.0pt; font-family:"Courier New"">xymon 127.0.0.1 "drop HOSTNAME"</span></p>
<p class="MsoNormal" style=""><span style="font-size:10.0pt; font-family:"Courier New""> </span></p>
<p class="MsoNormal" style=""><span style="font-size:10.0pt; font-family:"Courier New"">[Getting below error:</span></p>
<p class="MsoNormal" style=""><span style="font-size:10.0pt; font-family:"Courier New"">bash: xymon: command not found]</span></p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style=""><a name="13ee78a0db4dab52_renamehost"><b><span style="font-size:13.5pt">To rename a host in the Xymon display</span></b></a><b><span style="font-size:13.5pt"> I did the following:</span></b></p>
<p class="MsoNormal" style=""><span style="font-size:13.5pt">Changed the ~/server/etc/hosts.cfg file so it has the new name.
</span></p>
<p class="MsoNormal" style=""><span style="font-size:13.5pt">Then ran the following command from path
</span><span style="font-size:10.0pt; font-family:"Courier New"">/home/xymon/server/bin</span></p>
<p class="MsoNormal" style=""><span style="font-size:10.0pt; font-family:"Courier New"">xymon 127.0.0.1 "rename OLDHOSTNAME NEWHOSTNAME"</span></p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style=""><span style="font-size:10.0pt; font-family:"Courier New"">[Getting below error:</span></p>
<p class="MsoNormal" style=""><span style="font-size:10.0pt; font-family:"Courier New"">bash: xymon: command not found]</span></p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">Thanks,</p>
<p class="MsoNormal" style="">Siddesh</p>
</div>
<p class="MsoNormal">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 <a href="mailto:MailAdmin@ness.com" target="_blank">
MailAdmin@ness.com</a> 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.
</p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a></p>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
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 MailAdmin@ness.com 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.
</body>
</html>