Search found 6 matches

by pmishra
Tue Oct 27, 2015 7:13 am
Forum: Nagios XI
Topic: REST API is not having command end point.
Replies: 13
Views: 3994

Re: REST API is not having command end point.

Any update on patch review ?

Thanks,
by pmishra
Fri Oct 23, 2015 1:19 pm
Forum: Nagios XI
Topic: REST API is not having command end point.
Replies: 13
Views: 3994

Re: REST API is not having command end point.

You welcome, am looking forward to hear from you and developer team.

Do let me know if you or the team need any fix or found any issue on the current patch.

Thanks,
Pradeep
by pmishra
Fri Oct 23, 2015 11:50 am
Forum: Nagios XI
Topic: REST API is not having command end point.
Replies: 13
Views: 3994

Re: REST API is not having command end point.

Thanks for the response. I have applied a patch on "utils-api.inc.php" to expose only disable and enable service notification with comment support. Example:- curl -XPOST "http://192.168.x.x/nagiosxi/api/v1/objects/alert?apikey=evk5jn6r6ehmgf" -d "host_name=node01&service...
by pmishra
Thu Oct 22, 2015 6:00 pm
Forum: Nagios XI
Topic: REST API is not having command end point.
Replies: 13
Views: 3994

Re: REST API is not having command end point.

Thanks for the response, but the POST request you have mention will disable and enable notification of all service under host. Sorry am not clear enough in my pervious response, what i meant was it will disable all notification of localhost. curl -XPOST "http://x.x.x.x/nagiosxi/api/v1/config/s...
by pmishra
Thu Oct 22, 2015 3:43 pm
Forum: Nagios XI
Topic: REST API is not having command end point.
Replies: 13
Views: 3994

Re: REST API is not having command end point.

Hi, Thanks for the response, but the POST request you have mention will disable and enable notification of all service under host. Sometime we need to disable notification of single service under particular host e.g. http or ntp etc. So is there any plan to support the above ? am looking something l...
by pmishra
Wed Oct 21, 2015 2:18 pm
Forum: Nagios XI
Topic: REST API is not having command end point.
Replies: 13
Views: 3994

REST API is not having command end point.

Am looking into the REST API implementation and it seems endpoint for running nagios command was not present or missing for e.g. disable/enable service or host notification, adding comment etc. is it something planed for future release or the endpoints are not exposed due to some reason ? Thanks, Pr...