Ticket #40 (closed enhancement: Fixed)

Opened 5 months ago

Last modified 4 months ago

Export CFG

Reported by: kmizole Owned by: jmathis
Priority: minor Milestone: Centreon-2.1
Component: Centreon Version: beta4
Keywords: Cc:

Description

ce serait bien d'avoir en export de centreon 1.4 (et dans le 2.x aussi du coup) un ligne dans services.cfg qui indique les exemples d'arguments

sous une forme comme ci dessous :
define command{

command_name check_apache_charge
command_line $USER1$/check_apache_status.pl -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
;COMMAND_EXAMPLE !80!90

}

de la même manière que ce qui est fait pour les liens host templates/ services templates.

Change History

Changed 5 months ago by kmizole

in english : it would be great if the CFG exporter could include the command line example (for 1.4 and 2.x)

As it's done for the templates links (host/services)

sample of what could be done :

define command{

command_name check_apache_charge
command_line $USER1$/check_apache_status.pl -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
;COMMAND_EXAMPLE !80!90

}

Changed 5 months ago by jmathis

  • milestone changed from Centreon-2.0 to Centreon-2.1

Changed 4 months ago by jmathis

what's the goal ?

Changed 4 months ago by jmathis

  • owner set to jmathis
  • status changed from new to assigned

Changed 4 months ago by jmathis

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.