manuales:nagios
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| manuales:nagios [2015/03/13 18:45] – [Estrategias] cayu | manuales:nagios [2015/09/15 17:47] (actual) – [Sitios de consultas] cayu | ||
|---|---|---|---|
| Línea 1515: | Línea 1515: | ||
| En el siguiente gráfico detalla la organización recomendada de la configuración de Nagios. | En el siguiente gráfico detalla la organización recomendada de la configuración de Nagios. | ||
| - | {{manuales: | + | {{ :manuales: |
| - | {{: | + | {{ : |
| Línea 2871: | Línea 2871: | ||
| < | < | ||
| define hostgroup { | define hostgroup { | ||
| - | hostgroup_name | + | hostgroup_name |
| - | alias | + | alias |
| - | members | + | members |
| } | } | ||
| </ | </ | ||
| Línea 2901: | Línea 2901: | ||
| Host que son miembros del grupo, debemos ingresar el host_name de cada uno separado por comas "," | Host que son miembros del grupo, debemos ingresar el host_name de cada uno separado por comas "," | ||
| - | |||
| //Se deberá crear el archivo {nagios-dir}/ | //Se deberá crear el archivo {nagios-dir}/ | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| ==== Agregando Hosts ==== | ==== Agregando Hosts ==== | ||
| Línea 5110: | Línea 5100: | ||
| _SAPID | _SAPID | ||
| </ | </ | ||
| + | |||
| + | **check_sap** version netways | ||
| + | |||
| + | Esta versión es mas actualizada que la anterior y tiene mejor mantenimiento. Deberemos tener el paquete nwrfcsdk, para proceder a su compilación | ||
| + | < | ||
| + | check_sap | ||
| + | </ | ||
| + | https:// | ||
| **Tivoli Storage Manager - TSM** | **Tivoli Storage Manager - TSM** | ||
| Línea 6358: | Línea 6356: | ||
| } | } | ||
| ?> | ?> | ||
| + | </ | ||
| + | |||
| + | En Python | ||
| + | <file python check_xml_afip.php> | ||
| + | # | ||
| + | import errno, sys, urllib2 | ||
| + | from xml.etree.ElementTree import XML | ||
| + | |||
| + | response = urllib2.urlopen(' | ||
| + | xml_afip = XML(response.read()) | ||
| + | |||
| + | dummy_afip = {} | ||
| + | contador = 0 | ||
| + | |||
| + | for elem in xml_afip: | ||
| + | dummy_afip[elem.tag]=elem.text | ||
| + | if elem.text != ' | ||
| + | if contador <= 0: | ||
| + | contador = 1 | ||
| + | else: | ||
| + | contador = 1 | ||
| + | |||
| + | if contador != 1: | ||
| + | print "OK - ", | ||
| + | sys.exit(0) | ||
| + | else: | ||
| + | print " | ||
| + | sys.exit(1) | ||
| </ | </ | ||
| Línea 6363: | Línea 6389: | ||
| En Brasil se utiliza la Nota Fiscal eletrônica, | En Brasil se utiliza la Nota Fiscal eletrônica, | ||
| + | |||
| + | **Referencias útiles de NFE** | ||
| + | |||
| + | * Portal Principal | ||
| + | * http:// | ||
| + | |||
| + | * Mapa de disponibilidad de servicio | ||
| + | * http:// | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| == check_heartbeat == | == check_heartbeat == | ||
| Línea 6641: | Línea 6680: | ||
| </ | </ | ||
| + | En perl | ||
| + | <file perl check_microstrategy.pl> | ||
| + | # | ||
| + | |||
| + | open SSH, ("ssh " | ||
| + | |||
| + | while ( defined( my $line = <SSH> ) ) { | ||
| + | chomp($line); | ||
| + | if ($line eq " | ||
| + | print "OK - Proceso MicroStrategy corriendo (" | ||
| + | exit 0; | ||
| + | } else { | ||
| + | print " | ||
| + | exit 2; | ||
| + | } | ||
| + | } | ||
| + | close SSH; | ||
| + | </ | ||
| **count_archlogs.pl** | **count_archlogs.pl** | ||
| Línea 6854: | Línea 6911: | ||
| http:// | http:// | ||
| https:// | https:// | ||
| + | |||
| + | |||
| + | TRABAJO DE GRADO PREVIO A LA OBTENCIÓN DEL TÍTULO DE INGENIERÍA EN ELECTRÓNICA Y REDES DE COMUNICACIÓN \\ | ||
| + | OPTIMIZACIÓN DE LA ADMINISTRACIÓN EN LA RED DE DATOS DE LA UNIVERSIDAD TÉCNICA DEL NORTE IMPLEMENTANDO UN SISTEMA DE MONITOREO DE EQUIPOS Y SERVICIOS UTILIZANDO SOFTWARE LIBRE \\ | ||
| + | |||
| + | http:// | ||
| + | http:// | ||
manuales/nagios.1426272339.txt.gz · Última modificación: 2015/03/13 18:45 por cayu
