Nagvis Error PHP ajax request handler (SOLVED)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
oslec
Posts: 55
Joined: Mon Jan 14, 2013 5:19 pm

Nagvis Error PHP ajax request handler (SOLVED)

Post by oslec »

Hi,
I have an error when add a host in a Map in Nagvis.

PHP error in ajax request handler: Error: (2) json_encode():
INVALID UTF-8 SEQUENCE IN ARGUMENT
(/usr/local/nagvis/share/server/core/classess/GlobalMap.php:85)

Can you help me ?

Regards!
Sergio
Last edited by oslec on Mon Dec 16, 2013 4:59 pm, edited 1 time in total.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagvis Error PHP ajax request handler

Post by lmiltchev »

Can you describe in details all of the steps you took to add a host to the map in NagVis? Run the following command and show the output:

Code: Select all

locale
Be sure to check out our Knowledgebase for helpful articles and solutions!
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Nagvis Error PHP ajax request handler

Post by sreinhardt »

Also, what version of nagvis are you presently on? I notice the version I have, only list 58 lines on globalmap.php.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
oslec
Posts: 55
Joined: Mon Jan 14, 2013 5:19 pm

Re: Nagvis Error PHP ajax request handler

Post by oslec »

Hi,

I see the error, one of the service output have a illegal character .. like "ºC" ..the problem was the symbol "º".

Thanks!
Regards!
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Nagvis Error PHP ajax request handler (SOLVED)

Post by sreinhardt »

Cool good to hear, locking up.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked