Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

Monitoriza tu sitio web con Uptime Kuma

Tiempo de lectura: 2 minutos

Hoy os traigo este servicio integrado en un docker llamado Uptime Kuma.

Uptime Kuma es un potente monitor de webs qué nos permitirá saber el estado de nuestra web. Nos permite configurar alertas para avisarnos de cuándo se caiga nuestra web o incluso de cuándo vaya a caducar el certificado SSL.

Ejecutarlo es muy sencillo, primero tendremos que tener instalado Docker en nuestra máquina (Instalar Docker en Ubuntu y desplegar servidor web Apache con PHP utilizando Docker Compose)

Una vez instalado, para descargar y ejecutar la imagen sobre el puerto 3001 ponemos el siguiente comando:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1 

Si queremos utilizar Docker Compose:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
version: '3.3'
services:
uptime_kuma:
restart: always
ports:
- '3001:3001'
volumes:
- './config/uptime_kuma:/app/data'
container_name: uptime_kuma
image: 'louislam/uptime-kuma:latest'
networks:
- docker-network
networks:
docker-network:
driver: bridge
external: true
version: '3.3' services: uptime_kuma: restart: always ports: - '3001:3001' volumes: - './config/uptime_kuma:/app/data' container_name: uptime_kuma image: 'louislam/uptime-kuma:latest' networks: - docker-network networks: docker-network: driver: bridge external: true
version: '3.3'
services:
  uptime_kuma:
    restart: always
    ports:
      - '3001:3001'
    volumes:
      - './config/uptime_kuma:/app/data'
    container_name: uptime_kuma
    image: 'louislam/uptime-kuma:latest'
    networks:
      - docker-network
networks:
  docker-network:
    driver: bridge
    external: true

Esto nos desplegará el servicio, ahora solo tenemos que abrir el puerto 3001 (Cómo abrir un puerto o puertos en Ubuntu (Linux) por defecto utilizando ip-tables) de nuestra máquina y podremos acceder al servicio poniendo localhost:3001 o ip:3001.

Una vez instalado, vamos a establecer un usuario y contraseña que solicitará cada vez que accedamos al servicio.

Para configurar la monitorización de un sitio web tendremos que pulsar en Añadir nuevo monitor:

Ahora rellenamos los datos que se solicitan:

Ponemos el nombre del servicio, añadimos la url y el tiempo de escaneo (por defecto 60 segundos).

Se puede elegir si queremos que nos avise de caducidad de certificado SSL:

También permite generar alertas cuándo el sitio web se caiga, para ello pulsamos en Configurar notificación.

Se pueden elegir un monto de servicios, por ejemplo Discord.

Una vez configurado, ya podemos ver las estadísticas de latencia del sitio y veces que ha estado desconectado.

0

Deja un comentario