Skip to main content

Parameters

ParámetrosParameters

  • -c <ruta_a_fichero_confpath_file_conf> o --conf <ruta_a_fichero_confpath_file_conf>
RutaPath alto archivo de configuración delthe plugin queconfiguration contienefile loscontaining parámetrosthe configurados.configured parameters.
  • --as_discovery_plugin <1|0>
EjecutarRun elthe plugin enin mododiscovery discovery,mode, esteit mostraráwill informaciónshow sobreinformation laabout ejecución,the comoexecution, elsuch numeroas dethe maquinas.number of machines.

EnIn elthe ficheroconfiguration de configuraciónfile (.conf) indicaremoswe loswill siguientesindicate parámetros:the following parameters:

[CONF]
xen_server_ip = <ip_del_servidorserver_ip>
user = <usuariouser>
password = <contraseñapassword>
temporaltemporary = <directoriotemporary defiles archivos temporalesdirectory>

[PANDORA]
group = <grupogroup enin elwhich quethe seagents meteránwill losbe agentesplaced>
logfile = <rutapath delof archivothe log creadofile porcreated elby the plugin>
interval = <intervalointerval enin segundosseconds enat el que se crean los agentes delwhich plugin agents are created>
transfer_mode = <modoexecution demode, ejecución,the lastwo dospossible opcionesoptions posibles sonare local oor tentacle>
tentacle_ip = <ip deof tentacle, introducirenter elthat deof la máquina dethe Pandora enmachine lain quewhich seyou quierenwant visualizarto losview agentesthe agents>
tentacle_client = <comandotentacle_client delsystem sistemacommand, tentacle_client,default por defecto esis tentacle_client>
tentacle_port = <puertotentacle deport, tentacle,default por defecto esis 41121>
tentacle_opts = <opcionesadditional adicionalesoptions parafor latransferring transferenciafiles deto ficherosthe al servidor deindicated Tentacle indicadoserver>
data_dir = <rutapath deof lathe carpetafolder dondewhere sethe crearan losagent XML dewill losbe agentescreated para el modo de transferenciafor local transfer mode (transfer_mode = local)>

[TUNNING]TUNING]
time_adjustment = <ReajusteTime deadjustment, tiempo,enter introducirin en segundosseconds>
scan_vm_ip = <ActivarEnable conwith 1 parato chequearcheck la ip de la maquinathe virtual machine IP>
scan_all_vm = <ActivarEnable conwith 1 parato habilitarenable elscanning escaneoof deall todasvirtual las máquinas virtualesmachines>
scan_all_sr = <ActivarEnable conwith 1 parato habilitarenable elscanning escaneoof de todos los agentesall SR agents>
scan_all_hosts = <ActivarEnable conwith 1 parato habilitarenable elscanning escaneoof de todos losall hosts>

[REJECT]
<nombrename deof lathe maquinavirtual virtual,machine, sr oor host queyou quiereswant desactivarto disable> = 1

[RENAME]RENAME ME]
<nombrename deof lathe maquinavirtual virtual,machine, sr oor host quethat quieresyou renombrarwant to rename> = <nombrename quethat leyou quiereswant ponerto put>

UnAn ejemploexample deconfiguration archivo de configuración:file:

[CONF]
xen_server_ip=192.168.80.17
user=root
password=S4ToBh!
temporal=/tmp

[PANDORA]
group=Unknown
logfile=/tmp/pandora_xenserver.log
interval=300
transfer_mode=tentacle
tentacle_ip=172.42.42.101
tentacle_client=tentacle_client
tentacle_port=41121
tentacle_opts=
data_dir=/tmp/data_in

[TUNNING]
time_adjustment=10
scan_vm_ip=1
scan_all_vm=1
scan_all_sr=1
scan_all_host=1

[REJECT]
vm_test_env=1
sr_additional=1

[RENAME]
vm_env_prod_157=Prod157
vm_env_dev_157=Dev157

HayIt quemust tenerbe entaken cuentainto queaccount elthat intervalothe queinterval definimosthat enwe estedefine archivoin dethis configuración,configuration quefile, seráwhich elwill intervalobe dethe losinterval agentesof quethe seagents generenthat cuandoare segenerated ejecutewhen elthe plugin,plugin tieneis queexecuted, serhas igualto albe intervaloequal deto ejecuciónthe delexecution interval of the plugin. SiIf nothis esis asínot losthe móduloscase, dethe losmodules agentesof generadosthe segenerated pondránagents enwill “desconocido”be enset losto momentos"unknown" enin losthe quemoments losin agenteswhich intententhe recogeragents lostry datosto perocollect elthe data but the plugin aúnhas nonot seyet hayabeen ejecutado.executed.