How to DELETE nad RENAME a host in the Xymon
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 MailAdmin at 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.
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 < Siddesha.Hanumantharayappa at ness.com> 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 MailAdmin at 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.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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:lebarber at gmail.com] 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 <Siddesha.Hanumantharayappa at ness.com<mailto:Siddesha.Hanumantharayappa at ness.com>> 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 MailAdmin at ness.com<mailto:MailAdmin at 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.
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
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 at 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.
On 28 May 2013 06:29, Siddesha Dodderi Hanumantharayappa < Siddesha.Hanumantharayappa at ness.com> wrote:
*$ ~/server/bin/xymon 127.0.0.1 "drop uspvl3k153"*
That should work.
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'
Are you running the command on the Xymon server? If so, it's unusual that you get a time-out trying to connect to localhost. If the Xymon daemon is running, you should get an instant connection. If it's not running, you should get an instant connection refused. A time-out is more typical of a filtered connection, such as when a Xymon client cannot connect to a Xymon server because of a firewall in the middle. But to localhost? I'm a bit puzzled by this. Are you running a host-based packet filter, such as netfilter, iptables, ipfw?
Can you connect using telnet:
$ *telnet 127.0.0.1 1984* Trying 127.0.0.1... Connection to 127.0.0.1 Escape character is '^]'. *^]* telnet> *quit* $
Cheers Jeremy
Now I am find new issue, I have rebooted server and Xymon URL is home page not working.
Please someone help me on this. I am using Red Hat Linux.
Thanks, Siddesh
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Tuesday, May 28, 2013 5:24 AM To: Siddesha Dodderi Hanumantharayappa Cc: Larry Barber; xymon at xymon.com Subject: Re: [Xymon] How to DELETE nad RENAME a host in the Xymon
On 28 May 2013 06:29, Siddesha Dodderi Hanumantharayappa <Siddesha.Hanumantharayappa at ness.com<mailto:Siddesha.Hanumantharayappa at ness.com>> wrote: $ ~/server/bin/xymon 127.0.0.1 "drop uspvl3k153"
That should work.
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<http://uspvl3k153.rdigest.com>'
Are you running the command on the Xymon server? If so, it's unusual that you get a time-out trying to connect to localhost. If the Xymon daemon is running, you should get an instant connection. If it's not running, you should get an instant connection refused. A time-out is more typical of a filtered connection, such as when a Xymon client cannot connect to a Xymon server because of a firewall in the middle. But to localhost? I'm a bit puzzled by this. Are you running a host-based packet filter, such as netfilter, iptables, ipfw?
Can you connect using telnet:
$ telnet 127.0.0.1 1984 Trying 127.0.0.1... Connection to 127.0.0.1 Escape character is '^]'. ^] telnet> quit $
Cheers Jeremy 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 at 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.
On 30 May 2013 11:02, Siddesha Dodderi Hanumantharayappa < Siddesha.Hanumantharayappa at ness.com> wrote:
Now I am find new issue, I have rebooted server and Xymon URL is home page not working.
Describe how it's not working. What error message, if any, are you seeing? Other symptoms?
J
Apparently that is not where your xymon binary is. I don't think anyone on this list could tell you where it is.
From: Siddesha Dodderi Hanumantharayappa [mailto:Siddesha.Hanumantharayappa at ness.com] Sent: Monday, May 27, 2013 12:19 PM To: xymon at xymon.com <xymon at xymon.com> Subject: [Xymon] How to DELETE nad RENAME a host in the Xymon
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 MailAdmin at 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.
participants (4)
-
jlaidman@rebel-it.com.au
-
lebarber@gmail.com
-
novosirj@umdnj.edu
-
Siddesha.Hanumantharayappa@ness.com