Nagios XI Create Host Version 1

This handler creates a new host 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.
host name Host name to apply to the new host.
ip address IP address of the new host.
max check attempts Max number of attempts to try adding the host.
check period Time period name for when checks take place for this host.
contacts Nagios usernames to notify for alerts with this host. Comma seperated. Use this parameter *or* the contact groups parameter.
contact groups Nagios group names to notify for alerts with this host. Comma seperated. Use this parameter *or* the contacts parameter.
notification interval Interval check period in minutes for alert notifications on this host.
notification period Notification time period name. Determines the time period that notifications take place in.
apply config 1 or 0 for true or false. 1 will restart the Nagios Core service and apply the change.

Sample Configuration

Name Description
error handling
return response
host name
ip address
max check attempts
check period
contacts
contact groups
notification interval
notification period
apply config

Results

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

Changelog

Nagios Xi Create Config Host V1 (2017-11-26)

  • Initial version. See README for details.


Related Handlers