Search found 11 matches
- Tue Nov 08, 2016 11:36 am
- Forum: Nagios XI
- Topic: Get stats programmatically
- Replies: 18
- Views: 2231
Re: Get stats programmatically
Thank you.
- Tue Nov 08, 2016 11:28 am
- Forum: Nagios XI
- Topic: Get stats programmatically
- Replies: 18
- Views: 2231
Re: Get stats programmatically
You can lock it. If anyone has any specific questions how I did this they can message me right?
- Mon Nov 07, 2016 4:19 pm
- Forum: Nagios XI
- Topic: Get stats programmatically
- Replies: 18
- Views: 2231
Re: Get stats programmatically
So I just decided to pull the availability date and read it with HTML Agility Pack and then pull the Performance data from the Backend API. I can then compare the names and match up the data. Not ideal but it will work. I am pushing for the upgrade but I am not sure when we will be able to get to it...
- Fri Nov 04, 2016 2:49 pm
- Forum: Nagios XI
- Topic: Get stats programmatically
- Replies: 18
- Views: 2231
Re: Get stats programmatically
yeah sorry about that. So I am not sure when we will upgrade to the newest version. I am forced to use the backend API at the moment. I have used the getservicestatus command from the backend API to get all of performance data for my services. It is in XML but I can parse that out or convert it to J...
- Fri Nov 04, 2016 11:21 am
- Forum: Nagios XI
- Topic: Get stats programmatically
- Replies: 18
- Views: 2231
Re: Get stats programmatically
Can this not be done with the backend API?
- Fri Nov 04, 2016 11:01 am
- Forum: Nagios XI
- Topic: Get stats programmatically
- Replies: 18
- Views: 2231
Re: Get stats programmatically
Thank you for the reply. I do not see the Custom API Endpoints in the Help screen from our portal. Is there another way to access this?
- Fri Nov 04, 2016 9:03 am
- Forum: Nagios XI
- Topic: Get stats programmatically
- Replies: 18
- Views: 2231
Re: Get stats programmatically
It looks like that gives the same type of information. It is good as it contains execution time, latency, performance data, etc. but I was hoping to find something with availability percentage of the services. We have it set up with a host and several services under that host which we can then pull ...
- Thu Nov 03, 2016 4:49 pm
- Forum: Nagios XI
- Topic: Get stats programmatically
- Replies: 18
- Views: 2231
Re: Get stats programmatically
I noticed that the version was really old as well. I have brought this up but I am not sure when we will upgrade it. The OS is 6.3. Not sure why Nagios wasn't updated when the OS was. I will continue to try getting it updated so I can use the REST API but until then, is there anything that I can do ...
- Thu Nov 03, 2016 4:02 pm
- Forum: Nagios XI
- Topic: Get stats programmatically
- Replies: 18
- Views: 2231
Re: Get stats programmatically
One more thing. I see everything I need except for availability. Can this be pulled from a different URL?
- Thu Nov 03, 2016 3:54 pm
- Forum: Nagios XI
- Topic: Get stats programmatically
- Replies: 18
- Views: 2231
Re: Get stats programmatically
So I found this when looking at the backend API.
http://<nagios server>/nagiosxi/backend/?cmd=getservicestatus&username=user&ticket=number
The results are in XML but it gives me every service. This there a way to pass different parameters to the backend API?
http://<nagios server>/nagiosxi/backend/?cmd=getservicestatus&username=user&ticket=number
The results are in XML but it gives me every service. This there a way to pass different parameters to the backend API?