API "performance data" is shorten
API "performance data" is shorten
To support,
I have one pool stats check for a LTM-F5 devices that report the status of the pool statistics, we are using the API to get the data to display, but it is cut short and not showing all the data after a certain limit. Is there a modify to let it display all the data? or longer string?
Thanks
Hai
I have one pool stats check for a LTM-F5 devices that report the status of the pool statistics, we are using the API to get the data to display, but it is cut short and not showing all the data after a certain limit. Is there a modify to let it display all the data? or longer string?
Thanks
Hai
You do not have the required permissions to view the files attached to this post.
Re: API "performance data" is shorten
Igroschen,
This is the url for the API
This is the url for the API
Code: Select all
curl -XGET "http://ma209dlvmon836/nagiosxi/api/v1/objects/servicestatus?apikey=j3fo9ukh&pretty=1"Re: API "performance data" is shorten
Could you please attempt to access it once again, and then post these 4 log files for us to look at? My guess is you're hitting a limit somewhere.
Code: Select all
/var/log/httpd/error_log
/var/log/httpd/ssl_error_log
/var/log/httpd/access_log
/var/log/httpd/ssl_access_log
Former Nagios Employee
Re: API "performance data" is shorten
Also, how many characters do you have in the output?
Code: Select all
curl -XGET "http://ma209dlvmon836/nagiosxi/api/v1/objects/servicestatus?apikey=j3fo9ukh&pretty=1" | wc -mBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: API "performance data" is shorten
lmiltchev,
Code: Select all
[nagios@ma209dlvmon836 static]$ curl -XGET "http://ma209dlvmon836/nagiosxi/api/v1/objects/servicestatus?apikey=j3fo9ukh&pretty=1" | wc -m
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5549k 0 5549k 0 0 1014k 0 --:--:-- 0:00:05 --:--:-- 1242k
5682815
Re: API "performance data" is shorten
logs attached
You do not have the required permissions to view the files attached to this post.
Re: API "performance data" is shorten
You have about x5 number if characters compared to what I have in my test XI box but I don't believe that the number of characters in the output plays any role here... Can you send the output to a text file, and post it? I would like to see if the output is truncated.
Run:
then post the "output.txt" that was created in the "/tmp" directory.
What is the Nagios XI version that you are currently using? It is possible that this is a "version specific" issue. We will try to recreate it in house.
Run:
Code: Select all
curl -XGET "http://ma209dlvmon836/nagiosxi/api/v1/objects/servicestatus?apikey=j3fo9ukh&pretty=1" > /tmp/output.txtWhat is the Nagios XI version that you are currently using? It is possible that this is a "version specific" issue. We will try to recreate it in house.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: API "performance data" is shorten
lmiltchev,
output file attached
Thanks
output file attached
Thanks
You do not have the required permissions to view the files attached to this post.
Re: API "performance data" is shorten
I don't see an issue with this output (it doesn't look truncated), do you?
What is the Nagios XI version that you are currently using?
What is the Nagios XI version that you are currently using?
Be sure to check out our Knowledgebase for helpful articles and solutions!