Skip to main content
Kinetic Community

Nagios XI Create Hostgroup

This handler creates a new Nagios XI hostgroup object.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

nagios_xi_create_config_hostgroup_v1.zip

Detailed Description

This handler creates a new hostgroup object. API Documentation

Parameters

Name Description
error handling Determine what to return if an error is encountered.
return response true or false. Determines if Kinetic Task returns the Nagios response output.
hostgroup name New hostgroup name to create.
alias Alias to apply to hostgroup.
apply config 1 or 0 for true or false. 1 will restart the Nagios Core service and apply the change.

Sample Configuration

Parameter Example Configuration
error handling Raise Error
return response yes
hostgroup name testapihostgroup
alias 127.0.0.1
apply config 0

Results

Name Description
Handler Error Message Error message if set to return - blank if no errors.
Nagios XI Response Nagios response if set to return.

Change Log

Version Date Description
1 2017-11-26 * Initial version. See README for details.