[Xymon] xymon "hostinfo" does not honour tags set by `.default.`
Thomas Eckert
thomas.eckert at it-eckert.de
Sun Oct 29 19:08:14 CET 2017
Brothers,
I found that the information returned by `xymon 127.0.0.1 "hostinfo"` does not honour tags by `.default.`.
Steps to reproduce:
root at pi3:/etc/xymon# egrep -i 'default|pi3' hosts.cfg
0.0.0.0 .default. # nosslcert
127.0.0.1 pi3 # bbd http://pi3/
root at pi3:/etc/xymon# xymon 127.0.0.1:1984 "hostinfo host=^pi3"
pi3|127.0.0.1|bbd|http://pi3/
(note the missing `nosslcert`-tag)
Not using `.default.` the correct set of tags is returned:
root at pi3:/etc/xymon# egrep -i 'default|pi3' hosts.cfg
127.0.0.1 pi3 # bbd http://pi3/ nosslcert
root at pi3:/etc/xymon# xymon 127.0.0.1:1984 "hostinfo host=^pi3"
pi3|127.0.0.1|bbd|http://pi3/|nosslcert
This makes `hostinfo` not a usable source for getting the monitoring configuration for hosts or prevents the use of `.default.`.
All the best
Thomas
More information about the Xymon
mailing list