$Hostname$ not support unicode

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

$Hostname$ not support unicode

Postby Chien_San » Sat Nov 11, 2017 9:16 pm

Good Sunday,
I used Nagios Core 4.0.4 and really like the map, but i want to use host name with some name like this: "Chiến" or "Mới"...but after create png map the hostname display wrong font.

And, sometime i need hostname length > 20 characters -> result on map(Balance Tree): the name overlap -> can i display name with two lines?

Thanks you !
Chien_San
 
Posts: 6
Joined: Sat Nov 11, 2017 8:59 pm

Re: $Hostname$ not support unicode

Postby dwhitfield » Mon Nov 13, 2017 4:49 pm

Can you attach a screenshot of where you are seeing that the name is incorrect?

Does Nagios work otherwise with those hostnames? I know for a fact 4.2.4 and newer will work with those hostnames, but there are a bunch of different maps, so I want to be sure I am looking at the same thing.

Also, are the two issues on the same map? If not, can you split this into two threads?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
dwhitfield
The Doctor
 
Posts: 3956
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC

Re: $Hostname$ not support unicode

Postby Chien_San » Wed Nov 15, 2017 3:48 am

Thanks for your reply,
Please check the attached picture for details.
Attachments
upload.jpg
The result
Chien_San
 
Posts: 6
Joined: Sat Nov 11, 2017 8:59 pm

Re: $Hostname$ not support unicode

Postby npolovenko » Wed Nov 15, 2017 5:11 pm

@Chien_San, Unfortunately, it's impossible split the hostname over two lines. Special characters are not supported as of right now. And all the configs for the Nagios map reside in precompiled cgi files.
User avatar
npolovenko
 
Posts: 367
Joined: Mon May 15, 2017 5:00 pm

Re: $Hostname$ not support unicode

Postby Chien_San » Thu Nov 16, 2017 7:09 pm

Thanks npolovenko .
Chien_San
 
Posts: 6
Joined: Sat Nov 11, 2017 8:59 pm

Re: $Hostname$ not support unicode

Postby npolovenko » Fri Nov 17, 2017 11:49 am

@Chien_San, No problem. I'll close this thread but if you have any other questions feel free to create a new one.
User avatar
npolovenko
 
Posts: 367
Joined: Mon May 15, 2017 5:00 pm


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 7 guests