[Xymon] findhost.c / cgi behaviour

Cami Sardinha cami at hack.co.za
Wed Dec 5 20:32:05 CET 2012


Hi,

This is mainly an issue i ran into when having duplicate names for
locations, which allows us to keep locations looking consistent with one
another,  eg:

hosts.cfg:
..
page CPT CPT
subparent CPT monitoring monitoring
subparent monitoring xymon xymon
group-compress <h3><i>xymon</i></h3>
64.71.152.161  cpt.hack.co.za

page JHB JHB
subparent JHB monitoring monitoring
subparent monitoring xymon xymon
group-compress <h3><i>xymon</i></h3>
64.71.152.162 jhb.hack.co.za
..

Xymon will display that type of thing as you would expect it to when
looking at the menus.

The issue comes when trying to use findhost to see on which page "
jhb.hack.co.za" exists. What currently happens is that findhost finds a
match, but the match would be "CPT/monitoring/xymon" instead of
"JHB/monitoring/xymon".

Regards,
Cami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121205/7e8344ab/attachment.html>


More information about the Xymon mailing list