API "performance data" is shorten
Re: API "performance data" is shorten
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
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
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: API "performance data" is shorten
lmiltchev wrote:What is the Nagios XI version that you are currently using?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: API "performance data" is shorten
current version
Code: Select all
Latest Available Version:
Installed Version: 5.2.0
Last Update Check: 2016-10-12 08:56:02Re: API "performance data" is shorten
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"?
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"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: API "performance data" is shorten
lmiltchev,
Yea that's the normal way i access the API and it's still shortened.
Yea that's the normal way i access the API and it's still shortened.
Re: API "performance data" is shorten
What is the OS/architecture of the system you are running Nagios XI on?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: API "performance data" is shorten
[root@ma209dlvmon835 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Re: API "performance data" is shorten
You can edit this file:
And around line 76 change this code:
To something like this:
That should do it for you, let us know the results.
Thank you
Code: Select all
/usr/local/nagiosxi/html/includes/utilsx.inc.phpCode: Select all
$max = ($length > 4000) ? 4000 : $length; //set max length to 4k.Code: Select all
$max = ($length > 8000) ? 8000 : $length; //set max length to 8k.Thank you
Re: API "performance data" is shorten
ssax,
That did it, thanks you so much for ur help
That did it, thanks you so much for ur help
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: API "performance data" is shorten
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!