Page 2 of 2
Re: API "performance data" is shorten
Posted: Tue Oct 11, 2016 3:56 pm
by haile711
lmitlchev,
It is truncated for me, I have a ASM devices that im checking, and it's stopped at the pool "fcc_sns"
but i still have 11 more pool after that
Re: API "performance data" is shorten
Posted: Tue Oct 11, 2016 4:36 pm
by Box293
lmiltchev wrote:What is the Nagios XI version that you are currently using?
Re: API "performance data" is shorten
Posted: Wed Oct 12, 2016 7:57 am
by haile711
current version
Code: Select all
Latest Available Version:
Installed Version: 5.2.0
Last Update Check: 2016-10-12 08:56:02
Re: API "performance data" is shorten
Posted: Wed Oct 12, 2016 12:58 pm
by lmiltchev
5.2.0 is not the "current version". It's 5.3.0. I expect to see 5.3.1 out soon. I would recommend upgrading your Nagios XI server as soon as 5.3.1 is released.
It's possible that this is a json encoding issue. What is the OS/architecture of the system you are running Nagios XI on? Try viewing the XML output in the "depricated" "Backend API URL" component:
Admin->Manage Components->Backend API URL->Edit Settings->Select User->Apply Settings->Use the "Current Service Status" URL. Is perfdata sill "shortened"?
Re: API "performance data" is shorten
Posted: Wed Oct 12, 2016 2:23 pm
by haile711
lmiltchev,
Yea that's the normal way i access the API and it's still shortened.
Re: API "performance data" is shorten
Posted: Wed Oct 12, 2016 3:05 pm
by lmiltchev
What is the OS/architecture of the system you are running Nagios XI on?
Re: API "performance data" is shorten
Posted: Wed Oct 12, 2016 3:36 pm
by haile711
[root@ma209dlvmon835 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Re: API "performance data" is shorten
Posted: Wed Oct 12, 2016 4:23 pm
by ssax
You can edit this file:
Code: Select all
/usr/local/nagiosxi/html/includes/utilsx.inc.php
And around line 76 change this code:
Code: Select all
$max = ($length > 4000) ? 4000 : $length; //set max length to 4k.
To something like this:
Code: Select all
$max = ($length > 8000) ? 8000 : $length; //set max length to 8k.
That should do it for you, let us know the results.
Thank you
Re: API "performance data" is shorten
Posted: Fri Oct 14, 2016 12:50 pm
by haile711
ssax,
That did it, thanks you so much for ur help
Re: API "performance data" is shorten
Posted: Fri Oct 14, 2016 1:03 pm
by dwhitfield
Glad to hear it is resolved. I am going to lock the thread. Please feel free to post again if you have you another issue. Thank you for using the Nagios forums!