Search found 8 matches

by parthiv39731
Thu Mar 03, 2016 1:11 am
Forum: Nagios XI
Topic: Full Disk Metrics - Text Getting Truncated
Replies: 1
Views: 394

Full Disk Metrics - Text Getting Truncated

Hi, we are using one of the community plugins ( https://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows-NRPE/Check-All-Logical-Disks/details) for getting the “Full Disk Usage” metric . The data from the plugin is being pulled using the api url ( http://XX.XX.XX.XX/nagiosxi/backend/?c...
by parthiv39731
Mon Jan 18, 2016 11:39 pm
Forum: Nagios XI
Topic: How to add a Host to a service Group using NagiosXI rest API
Replies: 8
Views: 2089

Re: How to add a Host to a service Group using NagiosXI rest

I was mostly looking for some CLI commands or scripts which can be run on the server to add the host to the host group. The link posted refers to something else.
by parthiv39731
Fri Jan 15, 2016 9:15 am
Forum: Nagios XI
Topic: How to add a Host to a service Group using NagiosXI rest API
Replies: 8
Views: 2089

Re: How to add a Host to a service Group using NagiosXI rest

can it be done through any command line which can be executed on the Nagios Server.
by parthiv39731
Wed Jan 13, 2016 11:41 am
Forum: Nagios XI
Topic: How to add a Host to a service Group using NagiosXI rest API
Replies: 8
Views: 2089

Re: How to add a Host to a service Group using NagiosXI rest

my apologies, I got your point after going through the functionality on the portal. My goal is to register a set of standard services on a Host instead of adding the services one by one every time a server is provisioned. Based up your inputs I believe services can be added in to Host group and henc...
by parthiv39731
Tue Jan 12, 2016 5:15 am
Forum: Nagios XI
Topic: How to add a Host to a service Group using NagiosXI rest API
Replies: 8
Views: 2089

How to add a Host to a service Group using NagiosXI rest API

Hi,

I have the rest API to add a host to a single service but would like to know if there is any API available which can add a host to a service group?

thanks
Parthiv
by parthiv39731
Wed Jan 06, 2016 6:45 am
Forum: Nagios XI
Topic: Nagios XI rest API for adding services
Replies: 6
Views: 2737

Re: Nagios XI rest API for adding services

we are using Nagios XI 5.2.1.

got the URLs!! thanks :D
by parthiv39731
Tue Jan 05, 2016 1:28 am
Forum: Nagios XI
Topic: Nagios XI rest API for adding services
Replies: 6
Views: 2737

Re: Nagios XI rest API for adding services

thanks Jonam. I would try the suggestion. To be absolutely sure that all the services have been subscribed at the end do we have any API which would return all the services for a host? This way we can raise an exception if the services are not subscribed and take necessary action on it in our program.
by parthiv39731
Thu Dec 31, 2015 5:09 am
Forum: Nagios XI
Topic: Nagios XI rest API for adding services
Replies: 6
Views: 2737

Nagios XI rest API for adding services

Is there any Rest API to add multiple services to a host in one call. I could get the following API which adds services one by one - https://192.168.18.151/nagios/nagiosxi/api/v1/config/service?apikey=xxxxx&pretty=1&host_name=XXXXXXXXXDBP04&max_check_attempts=null&check_interval=null...