[Xymon] Bug? Dropping host doesn't remove hostdata

John Horne john.horne at plymouth.ac.uk
Thu Jul 18 19:08:02 CEST 2013


On Wed, 2013-07-17 at 00:38 +0000, cleaver at terabithia.org wrote:
> 
> > Hello,
> >
> > Using Xymon 4.3.10 I wanted to remove a host completely, so used the
> > following command on the Xymon server:
> >
> >    xymon xxx.xxx.xxx.xxx "drop lib-srvr10"
> >
> > This removed all of the host data except for the 'lib-srvr10'
> > subdirectory in the 'data/hostdata' directory. The subdirectory still
> > contained all of the data files for the host.
> >
> > I had already removed the host from the hosts.cfg file, and restarted
> > Xymon. No errors were seen in any of the log files.
> >
> 
> Hmm. Just ran this myself on the occasion of having a host to drop and it
> seemed to be working okay. Worked both for a host I was dropping "live"
> and one that had already been deleted a restart or two ago ; in both cases
> the directory under hostdata/* was removed properly.
> 
> Is this still occurring for you? Had it happened before?
> 
I can probably test this with some test servers. However, where does the
deletion of 'hostdata' directories occur? I'll add some
logging/debugging to see if I can see what is going on.



John.

-- 
John Horne, Plymouth University, UK
Tel: +44 (0)1752 587287    Fax: +44 (0)1752 587001




More information about the Xymon mailing list