GHOSTLIST.CGI(1)

πŸ‘» ghostlist.cgi β€” the manual, but make it make sense

okay so bestie, you found the GHOSTLIST.CGI(1) page and it's giving General Commands Manual energy, but lemme translate it into something your brain will actually hold onto πŸ’–


✨ NAME ✨

ghostlist.cgi β€” a CGI program to view ghost clients πŸ‘»


πŸŽ€ SYNOPSIS πŸŽ€

ghostlist.cgi

πŸ¦‹ DESCRIPTION πŸ¦‹

So ghostlist.cgi gets invoked as a CGI script, right? And it comes in through the ghostlist.sh CGI wrapper. That's the whole entrance situation, no cap.

What it does: it generates a listing of all the Xymon clients that have reported data to the Xymon server but are not listed in the hosts.cfg(5) file. Those mystery clients? They're called "ghosts" πŸ’€ and their data just gets ignored, because Xymon literally does not know which webpage to present the data on. It's giving "who are you and why are you in my house" 😭

The listing shows you three things, periodt:

  • the hostname that the client reports with
  • the IP-address where the report came from
  • how long ago the report arrived

Now for the tea on why hosts end up in here β€” by far the most common reason is that the client uses a hostname without a DNS domain, but the hosts.cfg file uses the hostname with the DNS domain. Or the other way around, vice versa, whichever. πŸ™ˆ

Good news though: you can use a CLIENT setting in the hosts.cfg file to match those two hostnames together and fix the whole vibe 🫢


πŸ’… OPTIONS πŸ’…

  • --env=FILENAME β€” loads the environment defined in FILENAME before executing the CGI script. Like, it gets the whole environment situation set up first, then runs. iconic.

🌈 SEE ALSO 🌈


fr fr, if your ghosts are haunting the listing, go check that CLIENT setting before you spiral πŸ’œ

This whole page is Xymon, Version 4.3.30: 4 Sep 2019, and that's the vibe check for today bestie β€” go slay your hostnames πŸ‘‘βœ¨

πŸ“¦ where this page comes from