Guys,
When I use the "Backend API URL"
and I get a list of error hosts: "/nagiosxi/backend/?cmd=gethoststatus..."
and a list of error services: "/nagiosxi/backend/?cmd=getservicestatus..."
and a list of servicegroups: "/nagiosxi/backend/?cmd=getservicegroups..."
I don't see how I can connect the service issue
with the service group.
What am I missing?
Thanks in advance,
GKH
Need service to servicegroup link
Re: Need service to servicegroup link
You can try: "/nagiosxi/backend/?cmd=getservicegroupmembers...". I'm not sure if this is what you are looking for.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Need service to servicegroup link
I gotcha. Use a 2 level lookup.
Get the "getservicestatus", get the service that is failing and then
check it against "getservicegroupmembers".
That should work.
Thank you!
Get the "getservicestatus", get the service that is failing and then
check it against "getservicegroupmembers".
That should work.
Thank you!
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Need service to servicegroup link
Glad it should work for you! If you have further troubles let us know, otherwise letting us know its all set would be appreciated too!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Need service to servicegroup link
We can close this ticket. I was able to get the info from both URLs.
Thank you!
Thank you!