How to use CLASS in alerts.cfg

Ribeiro, Glauber glauber.ribeiro at
Wed Mar 11 17:14:30 CET 2020

Hello, Xymon f(r)iends! It's been too long.

I'm trying to configure a new setup of xymon server 4.3.30, and I planned to use "CLASS" to group alerts. So I have stuff like this in hosts.cfg (notice I'm using both CLASS and NAME) (IP addresses and host names changed to protect the guilty):

------------------- # noconn NAME:USAEA1PWBUAS036 CLASS:apache ssh;!!MfzFaTml5A!xO0EWP8P5epy-9PStA2mV2-DAvMAEKQBR9MIp_ukw0RZDhPVMrf_uMPT019aMel5IEsz-g$<;!!MfzFaTml5A!xO0EWP8P5epy-9PStA2mV2-DAvMAEKQBR9MIp_ukw0RZDhPVMrf_uMPT019aMel5IEsz-g$> # noconn NAME:USAEA1PAPUAS035 CLASS:resin ssh;!!MfzFaTml5A!xO0EWP8P5epy-9PStA2mV2-DAvMAEKQBR9MIp_ukw0RZDhPVMrf_uMPT019aMenOu6kImg$<;!!MfzFaTml5A!xO0EWP8P5epy-9PStA2mV2-DAvMAEKQBR9MIp_ukw0RZDhPVMrf_uMPT019aMenOu6kImg$>


The class shows up correctly on the info page (at the bottom, under "Other tags"). It also works correctly for filtering in the "enable/disable" (enadis) page. But I haven't figured out how to use it in alerts.cfg.

I tried:


    MAIL yadayada

HOST=%.*  CLASS=apache

    MAIL yadayada


    MAIL yadayada  CLASS=apache

Nothing seems to work. Is there something I need to do to enable class in alerts?

Or am I getting the syntax wrong?

Is this a bug?

When I say it doesn't seem to work, I mean that I don't see the alert in the "info" page for that host if I try to select by class.

Another detail: I am using include files in hosts.cfg. For example:

group Apache

include /opt/xymon/server/etc/hosts.d/apache.cfg

Any ideas are welcome.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Xymon mailing list