Hello, I have here Icinga 1.7.2 and have a problem with links in classic
UI when host is named in certain way. I allowed to use ">" char in Icinga
using "illegal_object_name_chars=`~!$%^&*|'"<?,()=" option in icinga.cfg
(just removed the ">" char).
Now I have host definition like this:
define host {
use generic-host
host_name Link from one place->to another
alias Link from one place->to another
address 10.0.1.2
parents
check_command check-host-alive
contact_groups g.mailALL,g.smsALL
max_check_attempts 3
notification_interval 60
notification_period 24x7
notification_options d,r
}
In the UI Icinga creates a link, that does not work and leads to
red message "Error: host not found" (or similar). This is the link itself:
https://our.server/icinga/cgi-bin/extinfo.cgi?type=1&host=Link+from+one+place-%3Eto+another
But IMHO it looks fine (the ">" is well converted to "%3E"), but I'm not a web
guru.
But when I remove the ">" from the host_name, it works. The working link
is here:
https://our.server/icinga/cgi-bin/extinfo.cgi?type=1&host=Link+from+one+place-to+another
I know, that these characters are not recommended for using, because of
some possible cmd line issues, but I'm pretty sure I can use it this way
in our environment, so there should be no problem with that.
Is that bug or feature? If it's bug - was this solved in some newer
version of Icinga? - I was unable find this in changelog.
Regards, Tomas
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users