NagiosXI GraphQL
Posted: Thu Apr 22, 2021 5:14 am
Hi,
We have an API which is querying to MongoDB with GraphQL. We want to capture the output of the GraphQL query to NagiosXI and publish it on report. Is this feature available?
If not, is there any workaround to fetch the data from NagioSQL DB?
I am passing like this:
The output is:
The desired output is:
Regards,
Amitabh
We have an API which is querying to MongoDB with GraphQL. We want to capture the output of the GraphQL query to NagiosXI and publish it on report. Is this feature available?
If not, is there any workaround to fetch the data from NagioSQL DB?
I am passing like this:
Code: Select all
./check_http -H MYURL -u '/PATH?query=query%20getProjects%28%24orderDirection%3AOrderingOptions%2C%24filters%3A%5BFilters%5D%29%7Bprojects%28orderDirection%3A%24orderDirection%2Cfilters%3A%24filters%29%7BprojectId%7D%7D'
Code: Select all
HTTP OK: HTTP/1.1 200 OK - 263 bytes in 0.036 second response time |time=0.035916s;;;0.000000 size=263B;;;0
Code: Select all
{
"data": {
"projects": [
{
"projectId": "84z9zk"
}
]
}
}
Amitabh