Page 1 of 1
Question Reference Backend APIs
Posted: Thu Aug 01, 2013 8:13 am
by mrochelle
Is it possible to add command arguments in the return data from Hosts and Services backend URL data pulls? If yes, what would I need to do to add this enhancement?
Re: Question Reference Backend APIs
Posted: Thu Aug 01, 2013 9:31 am
by yancy
mrochelle,
The backend API does include check command arguments. In this case the check command argument is check_total_procs.
Code: Select all
<check_command>check_nrpe!check_total_procs!</check_command>
Is that what you were looking for?
-Yancy
Re: Question Reference Backend APIs
Posted: Thu Aug 01, 2013 9:45 am
by mrochelle
Let me clarify, when I issue the backend URLs
http://HOSTIP/nagiosxi/backend/?cmd=get ... name...etc, the returned data dose not include command args with threshold data. I have the same request with getservices URL also. I'm guessing I may be able to modify the script to add these fields?
Re: Question Reference Backend APIs
Posted: Thu Aug 01, 2013 10:46 am
by scottwilkerson
Re: Question Reference Backend APIs
Posted: Thu Aug 01, 2013 10:59 am
by mrochelle
Case closed! Thank You!!! That certainly has all the information needed.
