Xymon Mailing List Archive search

Dropping an entire Host from Xymon

5 messages in this thread

list Pierre Lalonde · Thu, 9 Oct 2014 17:47:11 +0000 ·
I know that the command to get rid of an host in Xymon is...


        ~/server/bin/xymon 127.0.0.1 "drop HOSTNAME"

But i dont seem able to do it or adapt it for my Xymon.  I get this error message :

-bash: /home/it/server/bin/xymon: No such file or directory
I made a ls of the home/it directory and got
                libpng-1.5.2         libxml2-2.6.32         openssl-1.0.0d         pango-1.17.5         pcre-8.02         rrdtool-1.4.3              web          xymon-4.3.3.tar.gz  xymon-4.3.4.tar.gz
libpng-1.5.2.tar.gz  libxml2-2.6.32.tar.gz  openssl-1.0.0d.tar.gz  pango-1.17.5.tar.gz  pcre-8.02.tar.gz  rrdtool_1.4.3.orig.tar.gz  xymon-4.3.3  xymon-4.3.4

So no server directory....

What i want to do is to remove  the history for an host so i can reload it.... It seem to stay purple all the time even if i have restart the BBwin service... reinstall the client... rebooted my Xymon server...

Thank you


Pierre Lalonde
Technicien réseautique

Barrette-Chapais Ltée

C.P. 248, KM 346 Route 113, Chapais, Qc, CA, G0W 1H0
D: XXX.XXX.XXXX F: XXX.XXX.XXXX
www.batiparbarrette.com<http://www.batiparbarrette.com>;
[Description : Logo Barrette]
list Steve Coile · Thu, 9 Oct 2014 14:14:12 -0400 ·
~/server/bin/xymoncmd xymon localhost 'drop HOSTNAME'


-- 

*Steve Coile*Senior Network and Systems Engineer, McClatchy Interactive
<http://www.mcclatchyinteractive.com/>;
Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX

On Thu, Oct 9, 2014 at 1:47 PM, Lalonde, Pierre <
quoted from Pierre Lalonde
user-4564853b3aed@xymon.invalid> wrote:
 I know that the command to get rid of an host in Xymon is…


        ~/server/bin/xymon 127.0.0.1 "drop HOSTNAME"


But i dont seem able to do it or adapt it for my Xymon.  I get this error
message :


-bash: /home/it/server/bin/xymon: No such file or directory

I made a ls of the *home/it* directory and got

                libpng-1.5.2         libxml2-2.6.32
openssl-1.0.0d         pango-1.17.5         pcre-8.02
rrdtool-1.4.3              web          xymon-4.3.3.tar.gz
xymon-4.3.4.tar.gz

libpng-1.5.2.tar.gz  libxml2-2.6.32.tar.gz  openssl-1.0.0d.tar.gz
pango-1.17.5.tar.gz  pcre-8.02.tar.gz  rrdtool_1.4.3.orig.tar.gz
xymon-4.3.3  xymon-4.3.4


So no *server* directory….


What i want to do is to remove  the history for an host so i can reload
it…. It seem to stay purple all the time even if i have restart the BBwin
service… reinstall the client… rebooted my Xymon server…


Thank you


Pierre Lalonde
Technicien réseautique

Barrette-Chapais Ltée

C.P. 248, KM 346 Route 113, Chapais, Qc, CA, G0W 1H0
*D:* XXX.XXX.XXXX *F:* XXX.XXX.XXXX

*www.*batiparbarrette.com <http://www.batiparbarrette.com>;

[image: Description : Logo Barrette]

list Ryan Novosielski · Thu, 9 Oct 2014 14:46:58 -0400 ·
Your xymon/server directory is where you put it. How would we know where you installed your software? It's probably in one of those xymon directories.

____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>- 973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
quoted from Steve Coile
    `'

On Oct 9, 2014, at 13:57, Lalonde, Pierre <user-4564853b3aed@xymon.invalid<mailto:user-4564853b3aed@xymon.invalid>> wrote:

I know that the command to get rid of an host in Xymon is…


        ~/server/bin/xymon 127.0.0.1 "drop HOSTNAME"

But i dont seem able to do it or adapt it for my Xymon.  I get this error message :

-bash: /home/it/server/bin/xymon: No such file or directory
I made a ls of the home/it directory and got
                libpng-1.5.2         libxml2-2.6.32         openssl-1.0.0d         pango-1.17.5         pcre-8.02         rrdtool-1.4.3              web          xymon-4.3.3.tar.gz  xymon-4.3.4.tar.gz
libpng-1.5.2.tar.gz  libxml2-2.6.32.tar.gz  openssl-1.0.0d.tar.gz  pango-1.17.5.tar.gz  pcre-8.02.tar.gz  rrdtool_1.4.3.orig.tar.gz  xymon-4.3.3  xymon-4.3.4

So no server directory….

What i want to do is to remove  the history for an host so i can reload it…. It seem to stay purple all the time even if i have restart the BBwin service… reinstall the client… rebooted my Xymon server…

Thank you


Pierre Lalonde
Technicien réseautique

Barrette-Chapais Ltée

C.P. 248, KM 346 Route 113, Chapais, Qc, CA, G0W 1H0
D: XXX.XXX.XXXX F: XXX.XXX.XXXX
www.batiparbarrette.com<http://www.batiparbarrette.com>;

<image001.gif>
list Paul Root · Thu, 9 Oct 2014 18:48:37 +0000 ·
You don’t need xymoncmd.

The problem is probably that he’s going into HIS home directory instead of Xymon’s home directory.

If the user running the xymon server is xymon then the command would be

~xymon/server/bin/xymon 127.0.0.1 “drop HOSTNAME”

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Coile
Sent: Thursday, October 09, 2014 1:14 PM
To: Lalonde, Pierre
Cc: xymon at xymon.com
Subject: Re: [Xymon] Dropping an entire Host from Xymon

~/server/bin/xymoncmd xymon localhost 'drop HOSTNAME'


--
Steve Coile
Senior Network and Systems Engineer, McClatchy Interactive<http://www.mcclatchyinteractive.com/>;
quoted from Ryan Novosielski
Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX

On Thu, Oct 9, 2014 at 1:47 PM, Lalonde, Pierre <user-4564853b3aed@xymon.invalid<mailto:user-4564853b3aed@xymon.invalid>> wrote:
I know that the command to get rid of an host in Xymon is…


        ~/server/bin/xymon 127.0.0.1 "drop HOSTNAME"

But i dont seem able to do it or adapt it for my Xymon.  I get this error message :

-bash: /home/it/server/bin/xymon: No such file or directory
I made a ls of the home/it directory and got
                libpng-1.5.2         libxml2-2.6.32         openssl-1.0.0d         pango-1.17.5         pcre-8.02         rrdtool-1.4.3              web          xymon-4.3.3.tar.gz  xymon-4.3.4.tar.gz
libpng-1.5.2.tar.gz  libxml2-2.6.32.tar.gz  openssl-1.0.0d.tar.gz  pango-1.17.5.tar.gz  pcre-8.02.tar.gz  rrdtool_1.4.3.orig.tar.gz  xymon-4.3.3  xymon-4.3.4

So no server directory….

What i want to do is to remove  the history for an host so i can reload it…. It seem to stay purple all the time even if i have restart the BBwin service… reinstall the client… rebooted my Xymon server…

Thank you


Pierre Lalonde
Technicien réseautique

Barrette-Chapais Ltée

C.P. 248, KM 346 Route 113, Chapais, Qc, CA, G0W 1H0
D: XXX.XXX.XXXX F: XXX.XXX.XXXX
www.batiparbarrette.com<http://www.batiparbarrette.com>;
[Description : Logo Barrette]
list Robert Herron · Fri, 10 Oct 2014 07:57:53 -0400 ·
Or do a ps -ef |grep "bin/xymon" to see where executables are installed.
This command will return something like:

[rherron at xymonsvr ~]$ ps -ef |grep "bin/xymon"
xymon     2436     1  0 Sep10 ?        00:01:05
/home/xymon/server/bin/xymonlaunch
--config=/home/xymon/server/etc/tasks.cfg
--env=/home/xymon/server/etc/xymonserver.cfg
--log=/var/log/xymon/xymonlaunch.log
--pidfile=/var/log/xymon/xymonlaunch.pid

In this case, Xymon is installed under /home/xymon/ and run by the xymon
user.  So, you would run /home/xymon/server/bin/xymon 127.0.0.1 “drop
HOSTNAME” to drop the host.

Also, depending on file permissions, you need to run the command as the
xymon user.


Robert Herron
user-8b27ea4290da@xymon.invalid

On Thu, Oct 9, 2014 at 2:46 PM, Novosielski, Ryan <user-6e4f7a3bb37f@xymon.invalid>
quoted from Ryan Novosielski
wrote:
Your xymon/server directory is where you put it. How would we know where
you installed your software? It's probably in one of those xymon
directories.

____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist

|| \\ and Health | user-46c89e614701@xymon.invalid- 973/972.0922 (2x0922)
quoted from Paul Root
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
    `'

On Oct 9, 2014, at 13:57, Lalonde, Pierre <user-4564853b3aed@xymon.invalid>
wrote:

 I know that the command to get rid of an host in Xymon is…


        ~/server/bin/xymon 127.0.0.1 "drop HOSTNAME"


But i dont seem able to do it or adapt it for my Xymon.  I get this error
message :


-bash: /home/it/server/bin/xymon: No such file or directory

I made a ls of the *home/it* directory and got

                libpng-1.5.2         libxml2-2.6.32
openssl-1.0.0d         pango-1.17.5         pcre-8.02
rrdtool-1.4.3              web          xymon-4.3.3.tar.gz
xymon-4.3.4.tar.gz

libpng-1.5.2.tar.gz  libxml2-2.6.32.tar.gz  openssl-1.0.0d.tar.gz
pango-1.17.5.tar.gz  pcre-8.02.tar.gz  rrdtool_1.4.3.orig.tar.gz
xymon-4.3.3  xymon-4.3.4


So no *server* directory….


What i want to do is to remove  the history for an host so i can reload
it…. It seem to stay purple all the time even if i have restart the BBwin
service… reinstall the client… rebooted my Xymon server…


Thank you


Pierre Lalonde
Technicien réseautique

Barrette-Chapais Ltée

C.P. 248, KM 346 Route 113, Chapais, Qc, CA, G0W 1H0
*D:* XXX.XXX.XXXX *F:* XXX.XXX.XXXX
*www.*batiparbarrette.com <http://www.batiparbarrette.com>;

<image001.gif>