Receiving Japanese Language in Status Message

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Receiving Japanese Language in Status Message

Post by mrochelle »

If Nagios XI is setup using the Japanese language, and a service check response returns data in Japanese, will Nagios XI display the returned data in Japanese as received?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Receiving Japanese Language in Status Message

Post by benjaminsmith »

Hi,

That should work. I made a quick python plugin to test this with a headline from today's Asahi News.
japanese-output.png
The plugin does need to handle utf-8 and multilingual ouput.

Also, make sure you have the database encoding in /usr/local/nagiosxi/html/config.inc.php set to UTF8.

Code: Select all

        "dbtype" => 'mysql',
        "dbserver" => 'localhost',
        "user" => 'ndoutils',
        "pwd" => 'n@gweb',
        "db" => 'nagios',
        "charset" => "utf8",
        "dbmaint" => array( // variables affecting maintenance of ndoutils db
Let us know if you get it working.

--Benjamin
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Receiving Japanese Language in Status Message

Post by mrochelle »

Confirmed on my Nagios XI server. Thank You! Go ahead and close this out.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Receiving Japanese Language in Status Message

Post by benjaminsmith »

Confirmed on my Nagios XI server. Thank You! Go ahead and close this out.
Excellent! We'll close this out.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked