manuales:nagios:capacitacion:anexo_-_comandos_externos
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previa | |||
| manuales:nagios:capacitacion:anexo_-_comandos_externos [2015/10/16 15:02] – cayu | manuales:nagios:capacitacion:anexo_-_comandos_externos [2015/10/16 15:05] (actual) – cayu | ||
|---|---|---|---|
| Línea 36: | Línea 36: | ||
| /bin/printf "[%lu] ACKNOWLEDGE_SVC_PROBLEM; | /bin/printf "[%lu] ACKNOWLEDGE_SVC_PROBLEM; | ||
| + | </ | ||
| + | ==== ADD_HOST_COMMENT ==== | ||
| + | Command Format: | ||
| + | ADD_HOST_COMMENT;< | ||
| + | |||
| + | Description: | ||
| + | Adds a comment to a particular host. If the " | ||
| + | |||
| + | |||
| + | Shell Script Usage Example: | ||
| + | <code bash> | ||
| + | #!/bin/sh | ||
| + | # This is a sample shell script showing how you can submit the ADD_HOST_COMMENT command | ||
| + | # to Nagios. | ||
| + | |||
| + | now=`date +%s` | ||
| + | commandfile='/ | ||
| + | |||
| + | /bin/printf "[%lu] ADD_HOST_COMMENT; | ||
| + | </ | ||
| + | |||
| + | ==== ADD_SVC_COMMENT ==== | ||
| + | |||
| + | Command Format: | ||
| + | ADD_SVC_COMMENT;< | ||
| + | |||
| + | Description: | ||
| + | Adds a comment to a particular service. If the " | ||
| + | |||
| + | |||
| + | Shell Script Usage Example: | ||
| + | <code bash> | ||
| + | #!/bin/sh | ||
| + | # This is a sample shell script showing how you can submit the ADD_SVC_COMMENT command | ||
| + | # to Nagios. | ||
| + | |||
| + | now=`date +%s` | ||
| + | commandfile='/ | ||
| + | |||
| + | /bin/printf "[%lu] ADD_SVC_COMMENT; | ||
| </ | </ | ||
| ===== Referencias ===== | ===== Referencias ===== | ||
| https:// | https:// | ||
manuales/nagios/capacitacion/anexo_-_comandos_externos.1445007776.txt.gz · Última modificación: 2015/10/16 15:02 por cayu
