Xymon Mailing List Archive search

Decommissioned systems showing in ghosts

3 messages in this thread

list Colin Coe · Tue, 3 Jan 2023 11:08:46 +0800 ·
Hi all

I decommissioned (i.e. physically removed) a bunch of Cisco switches some
time ago but I see that they are still showing in the ghost report.

I've checked hosts.cfg and devmon's hosts db but can't find them.

Any ideas on how to track down why they're still showing up?

Thanks
list Adam Thorn · Tue, 3 Jan 2023 11:07:53 +0000 ·
On 03/01/2023 03:08, Colin Coe wrote:
Hi all

I decommissioned (i.e. physically removed) a bunch of Cisco switches some time?ago but I see that they are still showing in the ghost report.

I've checked hosts.cfg and devmon's hosts db but can't find them.
The ghost report tells you which IP sent the message to xymon, so you should check there.

If you want to see the full message sent (which will let you see the full content of the status messages including which test is being reported), then on your xymon server:

xymoncmd xymon_channel --channel=status --filter=hostname.example.com tee /tmp/debug

Note that the final arguments ("tee /tmp/debug") can be anything which reads stdin, and the argument to --filter is a PCRE. If you leave off --filter you'll see every status message being sent to your xymon server which could be somewhat overwhelming! You'll need to leave the command running until whatever is sending the ghost reports has sent a message, of course, whereupon you can hit ctrl-c.

Adam
list Colin Coe · Wed, 4 Jan 2023 07:31:45 +0800 ·
Thanks, I'll see if this gets me what I need.
quoted from Adam Thorn

On Tue, 3 Jan 2023 at 19:08, Adam Thorn <user-f6b877930936@xymon.invalid> wrote:
On 03/01/2023 03:08, Colin Coe wrote:
Hi all

I decommissioned (i.e. physically removed) a bunch of Cisco switches
some time ago but I see that they are still showing in the ghost report.

I've checked hosts.cfg and devmon's hosts db but can't find them.
The ghost report tells you which IP sent the message to xymon, so you
should check there.

If you want to see the full message sent (which will let you see the
full content of the status messages including which test is being
reported), then on your xymon server:

xymoncmd xymon_channel --channel=status --filter=hostname.example.com
tee /tmp/debug

Note that the final arguments ("tee /tmp/debug") can be anything which
reads stdin, and the argument to --filter is a PCRE. If you leave off
--filter you'll see every status message being sent to your xymon server
which could be somewhat overwhelming! You'll need to leave the command
running until whatever is sending the ghost reports has sent a message,
of course, whereupon you can hit ctrl-c.

Adam