[Xymon] multiple class assignment in hosts.cfg

David Winterstein dw at compositiv.com
Fri May 19 13:11:28 CEST 2017


Hi everybody,

I didn't find something on this topic yet, so I thought I'd give it a
quick try at the mailing list:

Since the class assignment now works like a charm with analysis.cfg and
hosts.cfg (thanks a lot for that!) I wondered how I could possibly
assign multiple classes to a host.

Given an analysis.cfg containing something like this:

  CLASS=class1
    PROC sshd 1 1
  CLASS=class2
    PROC ntpd 1 1

A hosts.cfg like this only uses the first class provided - "class1" in
this case:

  1.2.3.4 srv.dom.tld # CLASS:class1 CLASS:class2

While a hosts.cfg like this seems to combine both class names to the
new, unhandled group "class1,class2":

  1.2.3.4 srv.dom.tld # CLASS:class1,class2

Is there a solution for this already or is it not possible to assign
multiple groups to a single host?

Thanks a lot in advance,
  David Winterstein

Compositiv GmbH
Hammer Deich 30
20537 Hamburg
Tel: 040 / 609 4349 0
Fax: 040 / 609 4349 40

Geschäftsführer Matthias Krawen
Amtsgericht Hamburg - HRB 122540

USt.-IdNr: DE282432834
Es gelten ausschließlich unsere AGB.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170519/ae387f81/attachment.sig>


More information about the Xymon mailing list