<div dir="ltr">Thanks, I'll see if this gets me what I need.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 3 Jan 2023 at 19:08, Adam Thorn <<a href="mailto:alt36@cam.ac.uk">alt36@cam.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 03/01/2023 03:08, Colin Coe wrote:<br>
> Hi all<br>
> <br>
> I decommissioned (i.e. physically removed) a bunch of Cisco switches <br>
> some timeĀ ago but I see that they are still showing in the ghost report.<br>
> <br>
> I've checked hosts.cfg and devmon's hosts db but can't find them.<br>
<br>
The ghost report tells you which IP sent the message to xymon, so you <br>
should check there.<br>
<br>
If you want to see the full message sent (which will let you see the <br>
full content of the status messages including which test is being <br>
reported), then on your xymon server:<br>
<br>
xymoncmd xymon_channel --channel=status --filter=<a href="http://hostname.example.com" rel="noreferrer" target="_blank">hostname.example.com</a> <br>
tee /tmp/debug<br>
<br>
Note that the final arguments ("tee /tmp/debug") can be anything which <br>
reads stdin, and the argument to --filter is a PCRE. If you leave off <br>
--filter you'll see every status message being sent to your xymon server <br>
which could be somewhat overwhelming! You'll need to leave the command <br>
running until whatever is sending the ghost reports has sent a message, <br>
of course, whereupon you can hit ctrl-c.<br>
<br>
Adam<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>