Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
zabbix [2024/07/31 16:29] kasandrazabbix [2024/07/31 16:56] (actual) kasandra
Línea 136: Línea 136:
 ====  5.  Borrar informacion vieja ==== ====  5.  Borrar informacion vieja ====
  
--- intervals in days +    -- intervals in days 
-SET @history_interval = 30; +    SET @history_interval = 30; SET @trends_interval = 180; 
-SET @trends_interval = 180; +     
- +    DELETE FROM alerts WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); 
-DELETE FROM alerts WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); +    DELETE FROM acknowledges WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); 
-DELETE FROM acknowledges WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); +    DELETE FROM events WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); 
-DELETE FROM events WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); +     
- +    DELETE FROM history WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); 
-DELETE FROM history WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); +    DELETE FROM history_uint WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); 
-DELETE FROM history_uint WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); +    DELETE FROM history_str WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); 
-DELETE FROM history_str WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); +    DELETE FROM history_text WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); 
-DELETE FROM history_text WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); +    DELETE FROM history_log WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60);
-DELETE FROM history_log WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@history_interval * 24 * 60 * 60); +
- +
-DELETE FROM trends WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@trends_interval * 24 * 60 * 60); +
-DELETE FROM trends_uint WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@trends_interval * 24 * 60 * 60); +
  
 +    DELETE FROM trends WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@trends_interval * 24 * 60 * 60);
 +    DELETE FROM trends_uint WHERE (UNIX_TIMESTAMP(NOW()) - clock) > (@trends_interval * 24 * 60 * 60);
  
 ==== 6. Cambiar contraseña en consola ==== ==== 6. Cambiar contraseña en consola ====
Línea 186: Línea 183:
 ==== 8. Cambiar a Español ==== ==== 8. Cambiar a Español ====
  
-[[sospedia.net/zabbix-en-espanol-cambiar-idioma/#:~:text=Zabbix%20%E2%80%93%20Cambiar%20idioma%20de%20tu%20servidor%20Zabbix,el%20archivo%20%2Finclude%2Flocales.inc.php%20...%203%203.%20Zabbix%20Frontend]] +[[sospedia.net/zabbix-en-espanol-cambiar-idioma/#:~:text=Zabbix%20%E2%80%93%20Cambiar%20idioma%20de%20tu%20servidor%20Zabbix,el%20archivo%20%2Finclude%2Flocales.inc.php%20...%203%203.%20Zabbix%20Frontend|Zabbix – Cambiar idioma de tu servidor Zabbix al español – sospedia]] 
-Zabbix – Cambiar idioma de tu servidor Zabbix al español – sospedia+
  
  
Línea 193: Línea 190:
 ==== 9 Multitenant ==== ==== 9 Multitenant ====
  
-\\ + 
-[[https://blog.zabbix.com/multi-tenant-monitoring-how-to-achieve-that-using-free-zabbix-open-source-monitoring-software/12024/|Multi-tenant monitoring: how to achieve that using free Zabbix open-source monitoring software - Zabbix Blog]]\\ +[[https://blog.zabbix.com/multi-tenant-monitoring-how-to-achieve-that-using-free-zabbix-open-source-monitoring-software/12024/|Multi-tenant monitoring: how to achieve that using free Zabbix open-source monitoring software - Zabbix Blog]] 
-\\ + 
-[[https://blog.zabbix.com/deploying-and-configuring-zabbix-5-4-in-a-multi-tenant-environment/15109/|Deploying and configuring Zabbix 5.4 in a multi-tenant environment - Zabbix Blog]]\\+[[https://blog.zabbix.com/deploying-and-configuring-zabbix-5-4-in-a-multi-tenant-environment/15109/|Deploying and configuring Zabbix 5.4 in a multi-tenant environment - Zabbix Blog]]
  
  
Línea 210: Línea 207:
 https:%%//%%itadminguide.com/create-port-monitoring-in-zabbix/\\ https:%%//%%itadminguide.com/create-port-monitoring-in-zabbix/\\
  
 +==== 12. Proxy ====
 +
 +https://www.server-world.info/en/note?os=Ubuntu_22.04&p=zabbix60&f=10
  
 =====  Referencias ===== =====  Referencias =====
Línea 218: Línea 218:
  
  
----- 
- 
-__**Advertencia**__ 
- 
-Este documento es privado y es de u so exclusivo de sus autores y de SKINA TECH. Cualquier uso sin una autorización escrita es contra la ley de derechos de autor y de propiedad intelectual, y será motivo de una acción legal. 
- 
- 
----- 
- 
-============================================================== 
- 
-15-Marzo-2006 J.E.Gomez v1.0 Primera version 
  
Volver arriba