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>
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)
|| \\ 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>