Difference between revisions of "Nagios XI"
Line 75: | Line 75: | ||
* <code>outcome</code> - Outcome of the operation. Can be OK or FAIL | * <code>outcome</code> - Outcome of the operation. Can be OK or FAIL | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | |||
===Acknowledge Service Problem=== | ===Acknowledge Service Problem=== | ||
Line 103: | Line 102: | ||
* <code>outcome</code> - Outcome of the operation. Can be OK or FAIL | * <code>outcome</code> - Outcome of the operation. Can be OK or FAIL | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | |||
===Remove Host Acknowledgement=== | ===Remove Host Acknowledgement=== | ||
Line 125: | Line 123: | ||
* <code>outcome</code> - Outcome of the operation. Can be OK or FAIL | * <code>outcome</code> - Outcome of the operation. Can be OK or FAIL | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | |||
===Remove Service Acknowledgement=== | ===Remove Service Acknowledgement=== | ||
Line 149: | Line 146: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | </div> | + | </div></div> |
− | </div> | ||
− | |||
<div class="mw-collapsible mw-collapsed" data-collapsetext="Show Less" data-expandtext="Read More" style="width:1050px"> | <div class="mw-collapsible mw-collapsed" data-collapsetext="Show Less" data-expandtext="Read More" style="width:1050px"> | ||
===Checks=== | ===Checks=== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
− | ===Disable Host Checks=== | + | ====Disable Host Checks==== |
Disables checking on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=54 Nagios XI Documentation] for more information on the action and input parameters. | Disables checking on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=54 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 176: | Line 171: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Disable Host Service Checks==== | |
− | ===Disable Host Service Checks=== | ||
Disables checking of all Services on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=34 Nagios XI Documentation] for more information on the action and input parameters. | Disables checking of all Services on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=34 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 198: | Line 192: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Disable Service Checks==== | |
− | ===Disable Service Checks=== | ||
Disables checking of a specific Service on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=6 Nagios XI Documentation] for more information on the action and input parameters. | Disables checking of a specific Service on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=6 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 221: | Line 214: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Enable Host Chesks==== | |
− | ===Enable Host Chesks=== | ||
Enables checking on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=53 Nagios XI Documentation] for more information on the action and input parameters. | Enables checking on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=53 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 243: | Line 235: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Enable Host Service Checks==== | |
− | ===Enable Host Service Checks=== | ||
Enables checking of all Services on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=33 Nagios XI Documentation] for more information on the action and input parameters. | Enables checking of all Services on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=33 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 265: | Line 256: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Enable Service Checks==== | |
− | ===Enable Service Checks=== | ||
Enables checking of a specific Service on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=5 Nagios XI Documentation] for more information on the action and input parameters. | Enables checking of a specific Service on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=5 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 288: | Line 278: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Process Service Check Results==== | |
− | ===Process Service Check Results=== | ||
This is used to submit a passive check result for a particular service. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=114 Nagios XI Documentation] for more information on the action and input parameters. | This is used to submit a passive check result for a particular service. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=114 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 317: | Line 306: | ||
===Comments=== | ===Comments=== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
− | ===Add Host Comment=== | + | ====Add Host Comment==== |
This operation can be used to add a Comment to a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=1 Nagios XI Documentation] for more information on the action and input parameters. | This operation can be used to add a Comment to a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=1 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 341: | Line 330: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Add Service Comment==== | |
− | ===Add Service Comment=== | ||
This operation can be used to add a Comment to a Service on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=2 Nagios XI Documentation] for more information on the action and input parameters. | This operation can be used to add a Comment to a Service on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=2 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 371: | Line 359: | ||
===Notifications=== | ===Notifications=== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
− | + | ====Disable Notifications==== | |
− | ===Disable Notifications=== | ||
Disables Host and Service notifications on a program-wide basis. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=7 Nagios XI Documentation] for more information on the action and input parameters. | Disables Host and Service notifications on a program-wide basis. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=7 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 393: | Line 380: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Disable Host Notifications==== | |
− | ===Disable Host Notifications=== | ||
Disables notifications for a particular Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=16 Nagios XI Documentation] for more information on the action and input parameters. | Disables notifications for a particular Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=16 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 415: | Line 401: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Disable Host Service Notifications==== | |
− | ===Disable Host Service Notifications=== | ||
Disables notifications for all Services on a particular Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=16 Nagios XI Documentation] for more information on the action and input parameters. | Disables notifications for all Services on a particular Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=16 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 437: | Line 422: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Disable Service Notifications==== | |
− | ===Disable Service Notifications=== | ||
Disables notifications for a particular Service on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=12 Nagios XI Documentation] for more information on the action and input parameters. | Disables notifications for a particular Service on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=12 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 460: | Line 444: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Enable Notifications==== | |
− | ===Enable Notifications=== | ||
Enables Host and Service notifications on a program-wide basis. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=8 Nagios XI Documentation] for more information on the action and input parameters. | Enables Host and Service notifications on a program-wide basis. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=8 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 482: | Line 465: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Enable Host Notifications==== | |
− | ===Enable Host Notifications=== | ||
Enables notifications for a particular Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=15 Nagios XI Documentation] for more information on the action and input parameters. | Enables notifications for a particular Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=15 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 504: | Line 486: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Enable Host Service Notifications==== | |
− | ===Enable Host Service Notifications=== | ||
Enables notifications for all Services on the specified Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=35 Nagios XI Documentation] for more information on the action and input parameters. | Enables notifications for all Services on the specified Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=35 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 526: | Line 507: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Enable Service Notifications==== | |
− | ===Enable Service Notifications=== | ||
Enables notifications for a particular Service on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=11 Nagios XI Documentation] for more information on the action and input parameters. | Enables notifications for a particular Service on a Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=11 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 553: | Line 533: | ||
===Schedules=== | ===Schedules=== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
− | ===Schedule and Propagate Host Downtime=== | + | ====Schedule and Propagate Host Downtime==== |
Schedules downtime for a specified Host and all of its children (Hosts). See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=28 Nagios XI Documentation] for more information on the action and input parameters. | Schedules downtime for a specified Host and all of its children (Hosts). See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=28 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 581: | Line 561: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule and Propagate Triggered Host Downtime==== | |
− | ===Schedule and Propagate Triggered Host Downtime=== | ||
Schedules downtime for a specified Host and all of its children (Hosts). See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=27 Nagios XI Documentation] for more information on the action and input parameters. | Schedules downtime for a specified Host and all of its children (Hosts). See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=27 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 610: | Line 589: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule Forced Host Check==== | |
− | ===Schedule Forced Host Check=== | ||
Schedules a forced active check of a particular Host at CheckTime. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=128 Nagios XI Documentation] for more information on the action and input parameters. | Schedules a forced active check of a particular Host at CheckTime. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=128 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 633: | Line 611: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule Forced Host Service Checks==== | |
− | ===Schedule Forced Host Service Checks=== | ||
Schedules a forced active check of all Services on a particular Host at CheckTime. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=130 Nagios XI Documentation] for more information on the action and input parameters. | Schedules a forced active check of all Services on a particular Host at CheckTime. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=130 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 656: | Line 633: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule Forced Service Check==== | |
− | ===Schedule Forced Service Check=== | ||
Schedules a forced active check of a specific Service on a particular Host at CheckTime. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=129 Nagios XI Documentation] for more information on the action and input parameters. | Schedules a forced active check of a specific Service on a particular Host at CheckTime. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=129 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 680: | Line 656: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule HostGroup Hosts Downtime==== | |
− | ===Schedule HostGroup Hosts Downtime=== | ||
Schedules downtime for all Hosts in the specified HostGroup. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=123 Nagios XI Documentation] for more information on the action and input parameters. | Schedules downtime for all Hosts in the specified HostGroup. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=123 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 709: | Line 684: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule HostGroup Services Downtime==== | |
− | ===Schedule HostGroup Services Downtime=== | ||
Schedules downtime for all Services on Hosts in the specified HostGroup. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=124 Nagios XI Documentation] for more information on the action and input parameters. | Schedules downtime for all Services on Hosts in the specified HostGroup. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=124 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 738: | Line 712: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule Host Check==== | |
− | ===Schedule Host Check=== | ||
Schedules the next active check of a particular Host at CheckTime. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=127 Nagios XI Documentation] for more information on the action and input parameters. | Schedules the next active check of a particular Host at CheckTime. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=127 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 761: | Line 734: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule Host Downtime==== | |
− | ===Schedule Host Downtime=== | ||
Schedules downtime for a specified Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=118 Nagios XI Documentation] for more information on the action and input parameters. | Schedules downtime for a specified Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=118 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 790: | Line 762: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule Host Services Checks==== | |
− | ===Schedule Host Services Checks=== | ||
Schedules the next active check of all Services on a particular Host at CheckTime. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=30 Nagios XI Documentation] for more information on the action and input parameters. | Schedules the next active check of all Services on a particular Host at CheckTime. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=30 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 813: | Line 784: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule Host Services Downtime==== | |
− | ===Schedule Host Services Downtime=== | ||
Schedules downtime for all Services on a specified Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=122 Nagios XI Documentation] for more information on the action and input parameters. | Schedules downtime for all Services on a specified Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=122 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 842: | Line 812: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule ServiceGroup Hosts Downtime==== | |
− | ===Schedule ServiceGroup Hosts Downtime=== | ||
Schedules downtime for all Hosts that have Services in a specified ServiceGroup. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=121 Nagios XI Documentation] for more information on the action and input parameters. | Schedules downtime for all Hosts that have Services in a specified ServiceGroup. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=121 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 871: | Line 840: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule ServiceGroup Services Downtime==== | |
− | ===Schedule ServiceGroup Services Downtime=== | ||
Schedules downtime for all Services in a specified ServiceGroup. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=120 Nagios XI Documentation] for more information on the action and input parameters. | Schedules downtime for all Services in a specified ServiceGroup. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=120 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 900: | Line 868: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule Service Check==== | |
− | ===Schedule Service Check=== | ||
Schedules the next active check of a specific Service on a particular Host at CheckTime. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=129 Nagios XI Documentation] for more information on the action and input parameters. | Schedules the next active check of a specific Service on a particular Host at CheckTime. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=129 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 924: | Line 891: | ||
* <code>success</code> - the value of the success response from the Nagios operation | * <code>success</code> - the value of the success response from the Nagios operation | ||
− | + | ====Schedule Service Downtime==== | |
− | ===Schedule Service Downtime=== | ||
Schedules downtime for a specific Service on a specified Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=119 Nagios XI Documentation] for more information on the action and input parameters. | Schedules downtime for a specific Service on a specified Host. See the [https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=119 Nagios XI Documentation] for more information on the action and input parameters. | ||
Line 958: | Line 924: | ||
===Status=== | ===Status=== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
− | ===Get Host Status=== | + | ====Get Host Status==== |
Retrieves the Status of a Host. | Retrieves the Status of a Host. | ||
Line 982: | Line 948: | ||
* <code>lastStateChange</code> - The DateTime when the state last changed | * <code>lastStateChange</code> - The DateTime when the state last changed | ||
− | + | ====Get Service Status==== | |
− | ===Get Service Status=== | ||
Retrieves the Status of a Service on a Host. | Retrieves the Status of a Service on a Host. |
Revision as of 19:20, 18 March 2020
Home > Administration > IT Operations Management > ITOM Package Library > Nagios XI | Index |
IntroductionThe Nagios XI package for Hornbill's IT Operations Management (ITOM) contains a administrative operations that allows you to manage your Nagios XI deployment. |
|
Target Environment Requirements
Script Execution Machine Requirements
- If the script execution policy on the machine executing these operations is set to Restricted, then this will need to be updated to something less restrictive. See the PowerShell Documentation for more information.
KeySafe Configuration
When creating SIS jobs for operations contained within this package, they need to be run on the target machine as a user who has the correct privileges within your environment, and will require an additional KeySafe Key to hold the account credentials to connect to your Nagios XI deployment.
To configure your Target Machine account authentication in KeySafe:
- In the Admin console, navigate to: System > Security > KeySafe;
- Click on + then select
Username + Password
; - Give the KeySafe Key a Title (this is the name/identifier for the target machine account as you will see it when creating an IT Automation Job, or adding an IT Automation node to a Business Process or Runbook);
- Optionally add a description;
- Populate the Username field with the domain/local account username for the account being used on the target machine;
- Populate the Password field with the password for the above account;
- Select Create Key to save.
To configure your Nagios XI account authentication in KeySafe:
- In the Admin console, navigate to: System > Security > KeySafe;
- In the Type field, select
API Key
- Give the API Key a title (this is the name/identifier for the Dynatrace account as you will see it when using the Integration Call node in your business process);
- Optionally add a description;
- API Key - this should be populated with an API Key that has the rights to perform the operations contained within this package
- API Endpoint - this should be populated with the API Endpoint for your Nagios XI instance. For example: https://yournagiosxiserver/nagiosxi/api/v1
- Click Create Key to save
See screenshots to the right for examples.
Package Operations
The Nagios XI package contains the following operations, than can be used to create ITOM Jobs directly, or included in your Business Processes and/or IT Operations Management Rubooks.
Acknowledgements
Acknowledge Host Problem
This operation can be used to Acknowledge a Host Problem. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onSticky
(MANDATORY)Notify
(MANDATORY)Persistent
(MANDATORY)Author
(MANDATORY)Comment
(MANDATORY)
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Acknowledge Service Problem
This operation can be used to Acknowledge a Service Problem on a Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onServiceName
(MANDATORY) - The name of the Service on the above Host which you want to perform the action onSticky
(MANDATORY)Notify
(MANDATORY)Persistent
(MANDATORY)Author
(MANDATORY)Comment
(MANDATORY)
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Remove Host Acknowledgement
This operation can be used to Remove an Acknowledgement from a Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Remove Service Acknowledgement
This operation can be used to Remove an Acknowledgement from a Service on a Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onServiceName
(MANDATORY) - The name of the Service on the above Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Checks
Disable Host Checks
Disables checking on a Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Disable Host Service Checks
Disables checking of all Services on a Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Disable Service Checks
Disables checking of a specific Service on a Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onServiceName
(MANDATORY) - The name of the Service on the above Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Enable Host Chesks
Enables checking on a Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Enable Host Service Checks
Enables checking of all Services on a Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Enable Service Checks
Enables checking of a specific Service on a Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onServiceName
(MANDATORY) - The name of the Service on the above Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Process Service Check Results
This is used to submit a passive check result for a particular service. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onServiceName
(MANDATORY) - The name of the Service on the above Host which you want to perform the action onReturnCode
(MANDATORY) - Any errors returned by the operationPluginOutput
(MANDATORY) - Any errors returned by the operation
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Comments
Add Host Comment
This operation can be used to add a Comment to a Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onPersistent
(MANDATORY)Author
(MANDATORY)Comment
(MANDATORY)
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Add Service Comment
This operation can be used to add a Comment to a Service on a Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onServiceName
(MANDATORY) - The name of the Service on the above Host which you want to perform the action onPersistent
(MANDATORY)Author
(MANDATORY)Comment
(MANDATORY)
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Notifications
Disable Notifications
Disables Host and Service notifications on a program-wide basis. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
This operation has no input parameters.
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Disable Host Notifications
Disables notifications for a particular Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Disable Host Service Notifications
Disables notifications for all Services on a particular Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Disable Service Notifications
Disables notifications for a particular Service on a Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onServiceName
(MANDATORY) - The name of the Service on the above Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Enable Notifications
Enables Host and Service notifications on a program-wide basis. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
This operation has no input parameters.
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Enable Host Notifications
Enables notifications for a particular Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Enable Host Service Notifications
Enables notifications for all Services on the specified Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Enable Service Notifications
Enables notifications for a particular Service on a Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onServiceName
(MANDATORY) - The name of the Service on the above Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedules
Schedule and Propagate Host Downtime
Schedules downtime for a specified Host and all of its children (Hosts). See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onStartTime
(MANDATORY) - In the format 2019-12-31 09:00:00EndTime
(MANDATORY) - In the format 2019-12-31 09:00:00Fixed
(MANDATORY)TriggerID
(MANDATORY)Duration
(MANDATORY)Author
(MANDATORY)Comment
(MANDATORY)
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule and Propagate Triggered Host Downtime
Schedules downtime for a specified Host and all of its children (Hosts). See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onStartTime
(MANDATORY) - In the format 2019-12-31 09:00:00EndTime
(MANDATORY) - In the format 2019-12-31 09:00:00Fixed
(MANDATORY)TriggerID
(MANDATORY)Duration
(MANDATORY)Author
(MANDATORY)Comment
(MANDATORY)
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule Forced Host Check
Schedules a forced active check of a particular Host at CheckTime. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onCheckTime
(MANDATORY) - In the format 2019-12-31 09:00:00
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule Forced Host Service Checks
Schedules a forced active check of all Services on a particular Host at CheckTime. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onCheckTime
(MANDATORY) - In the format 2019-12-31 09:00:00
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule Forced Service Check
Schedules a forced active check of a specific Service on a particular Host at CheckTime. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onServiceName
(MANDATORY) - The name of the Service on the above Host which you want to perform the action onCheckTime
(MANDATORY) - In the format 2019-12-31 09:00:00
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule HostGroup Hosts Downtime
Schedules downtime for all Hosts in the specified HostGroup. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostGroupName
(MANDATORY) - The HostGroupName which you want to perform the action onStartTime
(MANDATORY) - In the format 2019-12-31 09:00:00EndTime
(MANDATORY) - In the format 2019-12-31 09:00:00Fixed
(MANDATORY)TriggerID
(MANDATORY)Duration
(MANDATORY)Author
(MANDATORY)Comment
(MANDATORY)
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule HostGroup Services Downtime
Schedules downtime for all Services on Hosts in the specified HostGroup. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostGroupName
(MANDATORY) - The HostGroupName which you want to perform the action onStartTime
(MANDATORY) - In the format 2019-12-31 09:00:00EndTime
(MANDATORY) - In the format 2019-12-31 09:00:00Fixed
(MANDATORY)TriggerID
(MANDATORY)Duration
(MANDATORY)Author
(MANDATORY)Comment
(MANDATORY)
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule Host Check
Schedules the next active check of a particular Host at CheckTime. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onCheckTime
(MANDATORY) - In the format 2019-12-31 09:00:00
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule Host Downtime
Schedules downtime for a specified Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onStartTime
(MANDATORY) - In the format 2019-12-31 09:00:00EndTime
(MANDATORY) - In the format 2019-12-31 09:00:00Fixed
(MANDATORY)TriggerID
(MANDATORY)Duration
(MANDATORY)Author
(MANDATORY)Comment
(MANDATORY)
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule Host Services Checks
Schedules the next active check of all Services on a particular Host at CheckTime. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onCheckTime
(MANDATORY) - In the format 2019-12-31 09:00:00
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule Host Services Downtime
Schedules downtime for all Services on a specified Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onStartTime
(MANDATORY) - In the format 2019-12-31 09:00:00EndTime
(MANDATORY) - In the format 2019-12-31 09:00:00Fixed
(MANDATORY)TriggerID
(MANDATORY)Duration
(MANDATORY)Author
(MANDATORY)Comment
(MANDATORY)
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule ServiceGroup Hosts Downtime
Schedules downtime for all Hosts that have Services in a specified ServiceGroup. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
ServiceGroupName
(MANDATORY) - The ServiceGroupName which you want to perform the action onStartTime
(MANDATORY) - In the format 2019-12-31 09:00:00EndTime
(MANDATORY) - In the format 2019-12-31 09:00:00Fixed
(MANDATORY)TriggerID
(MANDATORY)Duration
(MANDATORY)Author
(MANDATORY)Comment
(MANDATORY)
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule ServiceGroup Services Downtime
Schedules downtime for all Services in a specified ServiceGroup. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
ServiceGroupName
(MANDATORY) - The ServiceGroupName which you want to perform the action onStartTime
(MANDATORY) - In the format 2019-12-31 09:00:00EndTime
(MANDATORY) - In the format 2019-12-31 09:00:00Fixed
(MANDATORY)TriggerID
(MANDATORY)Duration
(MANDATORY)Author
(MANDATORY)Comment
(MANDATORY)
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule Service Check
Schedules the next active check of a specific Service on a particular Host at CheckTime. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onServiceName
(MANDATORY) - The name of the Service on the above Host which you want to perform the action onCheckTime
(MANDATORY) - In the format 2019-12-31 09:00:00
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Schedule Service Downtime
Schedules downtime for a specific Service on a specified Host. See the Nagios XI Documentation for more information on the action and input parameters.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onServiceName
(MANDATORY) - The name of the Service on the above Host which you want to perform the action onStartTime
(MANDATORY) - In the format 2019-12-31 09:00:00EndTime
(MANDATORY) - In the format 2019-12-31 09:00:00Fixed
(MANDATORY)TriggerID
(MANDATORY)Duration
(MANDATORY)Author
(MANDATORY)Comment
(MANDATORY)
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILsuccess
- the value of the success response from the Nagios operation
Status
Get Host Status
Retrieves the Status of a Host.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILstatusUpdateTime
- The DateTime the Status was updatedstatusText
- The status descriptioncurrentState
- The state codelastStateChange
- The DateTime when the state last changed
Get Service Status
Retrieves the Status of a Service on a Host.
Extra Credentials
This operation requires an extra credential to be provided:
- Credential Reference:
credential1
- Credential Keysafe Key Type:
API Key
Input Parameters
HostName
(MANDATORY) - The hostname or IP Address of the Host which you want to perform the action onServiceName
(MANDATORY) - The name of the Service on the above Host which you want to perform the action on
Output Parameters
errors
- Any errors returned by the operationoutcome
- Outcome of the operation. Can be OK or FAILstatusUpdateTime
- The DateTime the Status was updatedstatusText
- The status descriptioncurrentState
- The state codelastStateChange
- The DateTime when the state last changed