Nagios XI Delete Service logo

Nagios XI Delete Service Version 1

This handler deletes a service 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 the service is associated with.
service description Service name to remove.
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 Raise Error
return response yes
host name testapihost
service description PING
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.

Changelog

Nagios XI Delete Service v1 (2017-11-26)

  • Initial version. See README for details.


Related Handlers

Nagios XI Apply Config
This handler runs the apply config command which triggers a Nagios Core restart.
Nagios XI Create Host
This handler creates a new Nagios XI host object.
Nagios XI Retrieve Users
This handler retrieves user records from the Nagios XI system.
Nagios XI Delete Host
This handler deletes a Nagios XI host object.
Nagios XI Retrieve System Status
This handler retrieves the Nagios Core system status.
Nagios XI Create Hostgroup
This handler creates a new Nagios XI hostgroup object.
Nagios XI Import Config
This handler runs the import command which imports all configuration files into the CCM. Nagios Core is *not* restarted.
Nagios XI Delete User
This handler deletes a Nagios XI user object.
Nagios XI Retrieve Objects
This handler retrieves object records from the Nagios XI system.
Nagios XI Create Service
This handler creates a new Nagios XI service object.
Nagios XI Create User
This handler creates a new Nagios XI user object.