elastic / elastic/integrations
Nagios XI Integration appends a comma at the end of API calls.
- Dominant language
- Handlebars
- Stars
- 333
- Forks
- 647
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 209
Description
### Integration Name
Nagios XI [nagios_xi]
### Dataset Name
stream.yml.hbs
### Integration Version
9.4.0
### Agent Version
1.8.0
### Agent Output Type
elasticsearch
### Elasticsearch Version
9.4.0
### OS Version and Architecture
Redhat
### Software/API Version
Nagios XI 2024R2
### Error Message
"failed to collect first response: failed to execute http GET:
Get ""[https://deedcnagios02d:443/nagiosxi/api/v1/objects/servicestatus?apikey=2QBNpPD3atDPC6KjWrZteR2ihWqV7UH6kWuQDoaD929dDmhaUHRNSvZrXjonQT0h&display_name=in%3ACurrent+Load%2CCurrent+Users%2CHttp%2CPing%2CRoot+Partition%2CSSH%2CSwap+Usage%2CTotal+Processes%2C](https://deedcnagios02d/nagiosxi/api/v1/objects/servicestatus?apikey=2QBNpPD3atDPC6KjWrZteR2ihWqV7UH6kWuQDoaD929dDmhaUHRNSvZrXjonQT0h&display_name=in%3ACurrent+Load%2CCurrent+Users%2CHttp%2CPing%2CRoot+Partition%2CSSH%2CSwap+Usage%2CTotal+Processes%2C)"":
### Event Original
If we remove the trailing comma and issue the API from the command line of the Nagios server, the API call is returned successfully.
### What did you do?
Installed the Nagios integration via Fleet server onto a Redhat host running the Nagios service.
### What did you see?
"failed to collect first response: failed to execute http GET:
Get ""[https://deedcnagios02d:443/nagiosxi/api/v1/objects/servicestatus?apikey=2QBNpPD3atDPC6KjWrZteR2ihWqV7UH6kWuQDoaD929dDmhaUHRNSvZrXjonQT0h&display_name=in%3ACurrent+Load%2CCurrent+Users%2CHttp%2CPing%2CRoot+Partition%2CSSH%2CSwap+Usage%2CTotal+Processes%2C](https://deedcnagios02d/nagiosxi/api/v1/objects/servicestatus?apikey=2QBNpPD3atDPC6KjWrZteR2ihWqV7UH6kWuQDoaD929dDmhaUHRNSvZrXjonQT0h&display_name=in%3ACurrent+Load%2CCurrent+Users%2CHttp%2CPing%2CRoot+Partition%2CSSH%2CSwap+Usage%2CTotal+Processes%2C)"":
### What did you expect to see?
I should have seen a successful 200 ok with the information from the API returned.
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.