The CloudBees CD/RO Nagios plugin interacts with the Nagios’s command-line tool and the Nagios utility allows you to perform different actions with the same results that you would get from the web-based interface.
The Nagios plugin implements the most important actions to manipulate hosts and host groups and allows the enabling and disabling of hosts and host groups.
CloudBees CD/RO itself provides some advantages like parameter checking, easy functionality selection using only checkboxes, combo buttons, historical log reports, procedure duration statistics, simple credentials attachment, and real-time analysis of the log been generated, among others.
CloudBees CD/RO is unable to retrieve historical log reports and all the actions associated with this because of the way Nagios works. Due to this, you must be careful when specifying the parameters, because there is no way to determine if the procedure will be successful. |
More information can be found at the Nagios site.
Plugin Version 1.1.0.2024010205
Create Nagios plugin procedures
Plugin procedures can be used in procedure steps, process steps, and pipeline tasks, allowing you to orchestrate third-party tools at the appropriate time in your component, application process, or pipeline.
Depending on your plugin configuration and how you run procedures, the Differences in plugin UI behavior. field may behave differently in the CloudBees CD/RO UI. For more information, refer to |
DisableHostNotifications
Disables notifications for a particular host. The command to be executed is:
printf "[$TimeStamp] DISABLE_HOST_NOTIFICATIONS;$Host\n" > $commandFileLocation
Parameter | Description |
---|---|
Host |
Required. Host to disable. |
Command File Location |
Location of the command file with the |
EnableHostNotifications
Enables notifications for a particular host. The command to be executed is:
printf "[$TimeStamp] ENABLE_HOST_NOTIFICATIONS;$Host\n" > $commandFileLocation
Parameter | Description |
---|---|
Host |
Required. Host to disable. |
Command File Location |
Location of the command file with the |
DisableHostGroupNotifications
Disables notifications for all hosts in a particular host group. The command to be executed is:
printf "[$TimeStamp] DISABLE_HOSTGROUP_HOST_NOTIFICATIONS;$hostGroup\n" > $commandFileLocation
Parameter | Description |
---|---|
Host Group |
Required. Host group to disable. |
Command File Location |
Required. Location of the command file with the |
EnableHostGroupNotifications
Enables notifications for all hosts in a particular host group. The command to be executed is:
printf "[$TimeStamp] ENABLE_HOSTGROUP_HOST_NOTIFICATIONS;$hostGroup\n" > $commandFileLocation
Parameter | Description |
---|---|
Host Group |
Required. Host group to disable. |
Command File Location |
Required. Location of the command file with the |