Hello ,
I want to get service group members xml for particular service in nagiosxi component, i have written code like ---
$request = array("cmd" => "getservicegroupmembers", "host_name" => $serverName, "service_description" => $service);
$xml = simplexml_load_string(get_xml_service_group_members($request));
but it's not working. basically, i want correct function name for fetching service group members from nagiosxi backend.
I have also tried using get_xml_service_status, but that's also not working correctly.
can someone please help ?
nagiosxi backend functions
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: nagiosxi backend functions
Code: Select all
$request = array("cmd" => "getservicegroupmembers", "host_name" => $serverName, "service_description" => $service);
$xml = simplexml_load_string(get_servicegroup_member_objects_xml_output($request));
Re: nagiosxi backend functions
Thanks @scottwilkerson
Now, it's working fine.
I have below document, but that doesn't contains all functions & commands.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
could you please give me document which contains all backend functions & commands ?
Now, it's working fine.
I have below document, but that doesn't contains all functions & commands.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
could you please give me document which contains all backend functions & commands ?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: nagiosxi backend functions
Unfortunately at this time I don't have another document that list other possibilities, I just looked up a function in the code that did what you are looking for.
Re: nagiosxi backend functions
It's also, fine if you enlist some (may be all ) functions like cheat sheet. that will be really helpful for me.
thanks in advance.
thanks in advance.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: nagiosxi backend functions
we are working to get more of this documented in the futuresac1472 wrote:It's also, fine if you enlist some (may be all ) functions like cheat sheet. that will be really helpful for me.
thanks in advance.