Overview | |||
Commands are configuration elements used to describe plugins usage. It tells Shinken Enterprise where to find plugins, how to use it, what arguments are necessary, and how to substitute arguments by Data. For example, check_ping is a plugin used to ping a host, and get informations about network connectivity with host : | |||
Plugin help tells that to use the command, we need to pass, as argument the following :
The corresponding commands should be :
In this way, Shinken Enterprise will able to replace arguments by the corresponding value, depending of HOSTADDRESS and arguments given to command. | |||
Accessing Commands configuration | |||
Commands Configuration can be accessed by the Main Menu "Commands". | |||
When accessing the Commands Configuration Page, a Command Table is displayed, listing all Commands objects. On the top of the table, A tool bar let Administrators the ability to :
| |||
![]() | |||
This table contains the following informations :
This page also provides, on the left, an action Menu, used to :
| |||
Create a new Command | |||
To create a new Command, use the button "Add new [Command]" located in the Action Menu | |||
Command creation form will be displayed. This form is composed of tabs, corresponding to categories of properties :
| |||
The left menu give to Administrators the ability to :
| |||
| For each category, a corresponding form is displayed. | |||
Generic | |||
Generic properties contains the minimum properties requiered to create a Command :
| ![]() | ||
Advanced | |||
Advanced properties are used to define Advanced features like :
| ![]() | ||
Modify a command | |||
To modify properties of a command, first go on the Commands page, from the Main menu, then click on the command name you want to modify. |
| ||
The form displayed is the same as the form used to create a new Command. All fields are filled with Command properties.
| |||
Once changes have been made, configuration of the Command must be saved by clicking the Validate button available on the left menu. Cancel button revert all changes to previous configuration. | |||
Delete a command | |||
| To delete a command, you can use the form of the command, or delete it directly from the list page. | |||
From the Form page First go to the Commands page, from the Main menu, then click on the command name you want to delete. Once in the page displaying the form, click on the Delete button available on the left menu. A confirmation popup will be displayed. | |||
From the Main page First go to the Commands page, from the Main menu, then click on the check box placed on the first column of the table. Use the Action menu on the top to select Delete, and click to the Launch Button. A confirmation popup will be displayed. Using the Main page gives Administrators ability to Delete many Commands at once. | ![]() | ||
Duplicate a command | |||
| Duplication operation is very useful when similar Commands must be added. | |||
To duplicate a command, first go on the Main page listing all commands, then select a comand by clicking on the check box placed on the first column. | ![]() | ||
Once selected, the command can be duplicated by selecting Duplicate in the select Action of the tool bar. Duplication is executed by clicking the Launch button. | ![]() | ||
| The name of command duplicated is suffixed by "(copy)" | ![]() | ||
Using the Main page gives Administrators ability to Duplicate many Commands at once. All properties are kept when duplicating operation, as well as data.
| |||