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.

About The Author

3 thoughts on “Xymon – Remove Column From The Dashboard”

  1. Patrick Rynhart

    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”.

      1. I added the NOCOLUMNS:bbd to my hosts.cfg file as instructed above. It worked beautifully. What is the syntax for adding a second column to be removed from the dashboard? I tried NOCOLUMNS:bbd sslcert ftp but that didn’t work. I also tried with a colon in between names also. Thanks for any help you can provide. TY

Leave a Comment

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

Scroll to Top