LinuxUncategorized

Xymon – Remove Column From The Dashboard

Might be embarrassing but it took me way to long to figure out how to remove 2 columns I accidently created via the hosts.cfg file.

So the fix? Navigate and edit your xymon hosts.cfg file on your server. In my screenshot above you’ll notice the column “web” is only associated with “print” server. So in the hosts.cfg file find the server match and add the following to the end of it:

NOCOLUMS:<column name here>

For me, the host name was:

163.xxx.xxx.xxx    print   # httpstatus=http;https://print:9192/admin;200 NOCOLUMNS:web

That’s it! It’s now gone without having to restart the service.

Show More

Cory Fiala

Technology and outdoor enthusiast. Currently the sole systems administrator for a local K-12 school district with 800+ staff and 5,500+ students. I support windows servers (2012R2-2022), Linux systems (FreeBSD and Ubuntu), along with vSphere (4 node cluster). Total is almost 60 virtual machines and 8 physical servers. This doesn't include my personal homelab.

2 Comments

  1. Glad to see someone using this great monitoring tool in 2021. This was really helpful when I managed to get a “raid” column in by accident. Not sure how to delete the underlying data – but this is a good workaround to stop a “red” dashboard.

    1. My predecessor used it, and over the years I’ve fallen in love.

      I think these commands might be useful for you from: https://xymon.sourceforge.io/xymon/help/xymon-tips.html

      **I accidentally added an ‘ftp’ check. Now I cannot get it off the webpage!**
      Use the command

      ~/server/bin/xymon 127.0.0.1 “drop HOSTNAME ftp”
      to permanenly remove all traces of a test. Note that you need the quotes around the “drop HOSTNAME ftp”.

      **So how do I get rid of an entire host in Xymon?**
      First, remove the host from the ~/server/etc/hosts.cfg file. Then use the command

      ~/server/bin/xymon 127.0.0.1 “drop HOSTNAME”
      to permanenly remove all traces of a host. Note that you need the quotes around the “drop HOSTNAME”.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button