Control de errores
ElThe plugin funcionaworks modularmente,modularly, porso loif quefor sisome porreason algúnit motivofails fallato alsend enviarthe losdata, datos, mediante comandos porthrough terminal podemoscommands verwe encan quesee partewhere estait fallando.is Podremosfailing. verWe quewill partebe delable entornoto quesee estamosthat sacandopart losof datosthe estaenvironment teniendothat problemaswe paraare enviargetting losthe datosdata is having problems to send the data (pods, nodos,nodes, deployments, etc).
ConWith elthe parámetroparameter as_server_plugin delof the conf ato 0
EjecutandoExecuting elthe plugin porby terminal, siif fallaany algunapart partefails alwhen enviarsending losthe datosdata imprimiráit unwill móduloprint ya enmodule laand descripciónin veremosthe quedescription agentewe eswill elsee quewhich falla.
is the one that fails.
<path pandora_openshift.pl> <path pandora_openshift.conf>
EnIn estethis ejemploexample quewe sehave hapainted pintadoa unmodule módulo enin xml porby terminal quethat nostells diceus enin lathe descripcióndescription quethat hait tenidohas problemashad conproblems elwith agentethe pod_stats.pod_stats agent.
ConWith elthe parámetroparameter as_server_plugin delof the conf ato 1
SiIf ejecutamoswe porexecute manually the plugin by terminal manualmentewith elthe option as_server_plugin to 1, this will paint by terminal a number, this number indicates in which part the plugin conhas la opción as_server_plugin a 1, este pintara por terminal un número, este número indica en que parte ha fallado el plugin.failed.
9 | |
8 | |
7 | |
6 | |
5 | |
4 | |
3 | |
2 | |
1 | |
0 |