Herramientas de usuario

Herramientas del sitio


unattended_installations:cli_command

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
unattended_installations:cli_command [2015/04/02 15:08] – [CLI command: Repository] machounattended_installations:cli_command [2022/11/02 17:58] (actual) – editor externo 127.0.0.1
Línea 181: Línea 181:
 ====== CLI command: Repository ====== ====== CLI command: Repository ======
 Provides the functionality to manage the Icinga 2 configuration repository in **/etc/icinga2/repository.d**. All changes are logged and must be committed or cleared after review. Provides the functionality to manage the Icinga 2 configuration repository in **/etc/icinga2/repository.d**. All changes are logged and must be committed or cleared after review.
 +
 **Note** **Note**
     The CLI command repository only supports basic configuration manipulation (add, remove) and a limited set of objects required for the [remote client] integration. Future versions will support more options (set, etc.).     The CLI command repository only supports basic configuration manipulation (add, remove) and a limited set of objects required for the [remote client] integration. Future versions will support more options (set, etc.).
  
 Please check the Icinga 2 development roadmap for updates. Please check the Icinga 2 development roadmap for updates.
 +    # icinga2 repository --help
 +    icinga2 - The Icinga 2 network monitoring daemon (version: v2.1.1-299-gf695275)
 +   Usage:
 +    icinga2 <command> [<arguments>]
 +   Supported commands:
 +    * repository clear-changes (clear uncommitted repository changes)
 +    * repository commit (commit repository changes)
 +    * repository endpoint add (adds a new Endpoint object)
 +    * repository endpoint list (lists all Endpoint objects)
 +    * repository endpoint remove (removes a Endpoint object)
 +    * repository host add (adds a new Host object)
 +    * repository host list (lists all Host objects)
 +    * repository host remove (removes a Host object)
 +    *  repository service add (adds a new Service object)
 +    * repository service list (lists all Service objects)
 +    * repository service remove (removes a Service object)
 +    * repository zone add (adds a new Zone object)
 +    * repository zone list (lists all Zone objects)
 +    * repository zone remove (removes a Zone object)
 +====== CLI command: Troubleshoot ======
 +Collects basic information like version, paths, log files and crash reports for troubleshooting purposes and prints them to a file or the console.
  
 +Its output defaults to a file named **troubleshooting-[TIMESTAMP].log** so it won't overwrite older troubleshooting files. 
 +
 +**Note**
 +   Keep in mind that this tool can not collect information from other icinga2 nodes, you will have to run it on each of one of you instances.
 +   This is only a tool to collect information to help others help you, it will not attempt to fix anything.
  
 +   # icinga2 troubleshoot --help
 +   icinga2 - The Icinga 2 network monitoring daemon (version: v2.2.0-551-g1d0f6ed)
 +  Usage:
 +   icinga2 troubleshoot [<arguments>]
 +  Command options:
 +   -c [ --console ]       print to console instead of file
 +   -o [ --output ] arg    path to output file
 +   --include-vars         print variables to separate file
 +   --inluce-objects       print object to separate file
 +====== CLI command: Variable ======
 +Lists all configured variables (constants) in a similar fasion like object list.
 +   # icinga2 variable --help
 +   icinga2 - The Icinga 2 network monitoring daemon (version: v2.1.1-299-gf695275)
 +  Usage:
 +   icinga2 <command> [<arguments>]
 +  Supported commands:
 +   * variable get (gets a variable)
 +   * variable list (lists all variables)
  
unattended_installations/cli_command.1427987303.txt.gz · Última modificación: 2022/11/02 17:58 (editor externo)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki