29 Oct
2017
29 Oct
'17
6:08 p.m.
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