findhost.c / cgi behaviour
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
participants (1)
-
cami@hack.co.za