Xymon Mailing List Archive search

How to DELETE nad RENAME a host in the Xymon

12 messages in this thread

list Siddesha Dodderi Hanumantharayappa · Mon, 27 May 2013 16:19:41 +0000 ·
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.
list Larry Barber · Mon, 27 May 2013 14:57:44 -0500 ·
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 <
quoted from 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.

list Siddesha Dodderi Hanumantharayappa · Mon, 27 May 2013 20:29:58 +0000 ·
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
quoted from Larry Barber

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.
quoted from Larry Barber


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.
list Ryan Novosielski · Mon, 27 May 2013 16:55:27 -0400 ·
Apparently that is not where your xymon binary is. I don't think anyone on this list could tell you where it is.
quoted from Siddesha Dodderi Hanumantharayappa


From: Siddesha Dodderi Hanumantharayappa [mailto:user-1c59f3986e43@xymon.invalid]
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 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.
list Jeremy Laidman · Tue, 28 May 2013 09:53:58 +1000 ·
On 28 May 2013 06:29, Siddesha Dodderi Hanumantharayappa <
user-1c59f3986e43@xymon.invalid> wrote:
*$ ~/server/bin/xymon 127.0.0.1 "drop uspvl3k153"*
That should work.
quoted from Siddesha Dodderi Hanumantharayappa

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
list Siddesha Dodderi Hanumantharayappa · Thu, 30 May 2013 01:02:13 +0000 ·
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
quoted from Jeremy Laidman

From: Jeremy Laidman [mailto:user-71895fb2e44c@xymon.invalid]
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 <user-1c59f3986e43@xymon.invalid<mailto:user-1c59f3986e43@xymon.invalid>> 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>';
quoted from Ryan Novosielski

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 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.
list Jeremy Laidman · Thu, 30 May 2013 12:31:54 +1000 ·
On 30 May 2013 11:02, Siddesha Dodderi Hanumantharayappa <
quoted from Siddesha Dodderi Hanumantharayappa
user-1c59f3986e43@xymon.invalid> 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
list Mike Burger · Thu, 30 May 2013 07:58:08 -0400 (EDT) ·
quoted from Jeremy Laidman
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
This may be a dumb question, but is the xymon service running?

-- 
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
list Larry Barber · Thu, 30 May 2013 08:15:51 -0500 ·
Actually, sounds like maybe the webserver isn't running.

Thanks,
Larry Barber
quoted from Mike Burger


On Thu, May 30, 2013 at 6:58 AM, Mike Burger <user-cc5c6e80f4c5@xymon.invalid>wrote:
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
This may be a dumb question, but is the xymon service running?

--
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
list Siddesha Dodderi Hanumantharayappa · Thu, 30 May 2013 13:41:00 +0000 ·
It sounds like web service is not running, can anyone please help me with the web service start command or troubleshooting steps.
quoted from Siddesha Dodderi Hanumantharayappa

Thanks,
Siddesh

From: Larry Barber [mailto:user-6ef9c2864140@xymon.invalid]
Sent: Thursday, May 30, 2013 6:46 PM
To: Mike Burger
Cc: Siddesha Dodderi Hanumantharayappa; Jeremy Laidman; xymon at xymon.com
Subject: Re: [Xymon] How to DELETE nad RENAME a host in the Xymon

Actually, sounds like maybe the webserver isn't running.

Thanks,
Larry Barber

On Thu, May 30, 2013 at 6:58 AM, Mike Burger <user-cc5c6e80f4c5@xymon.invalid<mailto:user-cc5c6e80f4c5@xymon.invalid>> wrote:
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
This may be a dumb question, but is the xymon service running?

--
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1

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.
list Mike Burger · Thu, 30 May 2013 09:56:41 -0400 (EDT) ·
Could be either.

"ps -eaf | grep httpd" or "telnet localhost 80" would tell you if the
webserver, itself, is running.

"ps -eaf | grep xymon" would tell you if the xymon processes are running.

You may also be able to run "service httpd status" and "service xymond
status", depending on your Linux distribution, to check.

If either are not running, run "service <servicename> start" to start it up.
quoted from Siddesha Dodderi Hanumantharayappa

-- 
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1

Actually, sounds like maybe the webserver isn't running.

Thanks,
Larry Barber


On Thu, May 30, 2013 at 6:58 AM, Mike Burger
<user-cc5c6e80f4c5@xymon.invalid>wrote:
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
This may be a dumb question, but is the xymon service running?

--
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever
just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
list Paul Root · Thu, 30 May 2013 14:03:00 +0000 ·
Starting the http server:
/etc/init.d/httpd start
Checking if it will start at boot time:
chkconfig -list |grep http         <- that's 2 dashes.
Setting the httpd to start at boot time:
chkconfig httpd on
quoted from Siddesha Dodderi Hanumantharayappa

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Siddesha Dodderi Hanumantharayappa
Sent: Thursday, May 30, 2013 8:41 AM
To: Larry Barber; Mike Burger
Cc: xymon at xymon.com
Subject: Re: [Xymon] How to DELETE nad RENAME a host in the Xymon

It sounds like web service is not running, can anyone please help me with the web service start command or troubleshooting steps.

Thanks,
Siddesh

From: Larry Barber [mailto:user-6ef9c2864140@xymon.invalid]
Sent: Thursday, May 30, 2013 6:46 PM
To: Mike Burger
Cc: Siddesha Dodderi Hanumantharayappa; Jeremy Laidman; xymon at xymon.com
Subject: Re: [Xymon] How to DELETE nad RENAME a host in the Xymon

Actually, sounds like maybe the webserver isn't running.

Thanks,
Larry Barber

On Thu, May 30, 2013 at 6:58 AM, Mike Burger <user-cc5c6e80f4c5@xymon.invalid<mailto:user-cc5c6e80f4c5@xymon.invalid>> wrote:
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
This may be a dumb question, but is the xymon service running?

--
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1

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.