Commit 04c3df1f authored by Till Brehm's avatar Till Brehm

Merge branch '4594-le-log' into 'develop'

Make LE log viewable in UI (#4594)

Closes #4594

See merge request ispconfig/ispconfig3!1169
parents c4b64ad3 a3829be0
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'Show Mail Error-Log';
$wb['Show System-Log'] = 'Show System-Log';
$wb['Show ISPC Cron-Log'] = 'Show ISPC Cron-Log';
$wb['Show Freshclam-Log'] = 'Show Freshclam-Log';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Show Clamav-Log';
$wb['Show ISPConfig-Log'] = 'Show ISPConfig-Log';
$wb['Show RKHunter-Log'] = 'Show RKHunter-Log';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Mail-Warn - Log';
$wb['monitor_logs_mailerr_txt'] = 'Mail-Error - Log';
$wb['monitor_logs_messages_txt'] = 'System Messages - Log';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Cron - Log';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - Log';
$wb['monitor_logs_clamav_txt'] = 'ClamAV - Log';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - Log';
......
......@@ -36,6 +36,7 @@ $wb['Show Mail warn-Log'] = 'Статус Mail warn-Log';
$wb['Show Mail err-Log'] = 'Покажи Mail err-Log';
$wb['Show System-Log'] = 'Покажи System-Log';
$wb['Show Freshclam-Log'] = 'Покажи Freshclam-Log';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Покажи Clamav-Log';
$wb['Show ISPConfig-Log'] = 'Покажи ISPConfig-Log';
$wb['Show RKHunter-Log'] = 'Покажи RKHunter-Log';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Mail-Warn - лог';
$wb['monitor_logs_mailerr_txt'] = 'Mail-Error - лог';
$wb['monitor_logs_messages_txt'] = 'System Messages - Log';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Cron - Log';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - Log';
$wb['monitor_logs_clamav_txt'] = 'Clamav - Log';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - Log';
......
......@@ -43,6 +43,7 @@ $wb['Show Mail err-Log'] = 'Exibir log de erros de e-mail';
$wb['Show System-Log'] = 'Exibir log do sistema';
$wb['Show ISPC Cron-Log'] = 'Exibir log do cron';
$wb['Show Freshclam-Log'] = 'Exibir log do freshclam';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Exibir log do clamav';
$wb['Show ISPConfig-Log'] = 'Exibir log do ISPConfig';
$wb['Show RKHunter-Log'] = 'Exibir log do rkhunter';
......@@ -70,6 +71,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Log - Alertas de e-mail';
$wb['monitor_logs_mailerr_txt'] = 'Log - Erros de e-mail';
$wb['monitor_logs_messages_txt'] = 'Log - Mensagens do sistema';
$wb['monitor_logs_ispccron_txt'] = 'Log - Tarefas no cron';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Log - freshclam';
$wb['monitor_logs_clamav_txt'] = 'Log - clamav';
$wb['monitor_logs_ispc_txt'] = 'Log - ISPConfig';
......
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'Voir les logs mails d\'erreur';
$wb['Show System-Log'] = 'Voir les logs système';
$wb['Show ISPC Cron-Log'] = 'Voir les logs des crons ISPC';
$wb['Show Freshclam-Log'] = 'Voir les logs de Freshclam';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Voir les logs de Clamav';
$wb['Show ISPConfig-Log'] = 'Voir les logs dISPConfig';
$wb['Show RKHunter-Log'] = 'Voir les logs de RKHunter';
......@@ -62,6 +63,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Avertissements Mail - Log';
$wb['monitor_logs_mailerr_txt'] = 'Erreurs Mail - Log';
$wb['monitor_logs_messages_txt'] = 'Messages Système - Log';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Cron - Log';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - Log';
$wb['monitor_logs_clamav_txt'] = 'Clamav - Log';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - Log';
......
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'Zobrazit e-mailový log chyb';
$wb['Show System-Log'] = 'Zobrazit systémový log';
$wb['Show ISPC Cron-Log'] = 'Zobrazit ISPConfig cron log';
$wb['Show Freshclam-Log'] = 'Zobrazit Freshclam log';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Zobrazit Clamav log';
$wb['Show ISPConfig-Log'] = 'Zobrazit ISPConfig log';
$wb['Show RKHunter-Log'] = 'Zobrazit RKHunter log';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'E-mail - Varování - Log';
$wb['monitor_logs_mailerr_txt'] = 'E-mail - Chyby - Log';
$wb['monitor_logs_messages_txt'] = 'Systénové zprávy - Log';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig cron - Log';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - Log';
$wb['monitor_logs_clamav_txt'] = 'ClamAV - Log';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - Log';
......
......@@ -36,6 +36,7 @@ $wb['Show Mail warn-Log'] = 'E-Mail Warn Protokoll anzeigen';
$wb['Show Mail err-Log'] = 'E-Mail Fehler Protokoll anzeigen';
$wb['Show System-Log'] = 'System Protokoll anzeigen';
$wb['Show Freshclam-Log'] = 'Freshclam Protokoll anzeigen';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'ClamAV Protokoll anzeigen';
$wb['Show ISPConfig-Log'] = 'ISPConfig Protokoll anzeigen';
$wb['Show RKHunter-Log'] = 'RKHunter Protokoll anzeigen';
......@@ -60,6 +61,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'E-Mail Warnung Protokoll';
$wb['monitor_logs_mailerr_txt'] = 'E-Mail Fehler Protokoll';
$wb['monitor_logs_messages_txt'] = 'Systemmeldungen Protokoll';
$wb['monitor_logs_ispccron_txt'] = 'Cron Protokoll';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam Protokoll';
$wb['monitor_logs_clamav_txt'] = 'ClamAV Protokoll';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig Protokoll';
......
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'Vis Mail Fejl-Log';
$wb['Show System-Log'] = 'Vis System-Log';
$wb['Show ISPC Cron-Log'] = 'Vis ISPC Cron-Log';
$wb['Show Freshclam-Log'] = 'Vis Freshclam-Log';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Vis Clamav-Log';
$wb['Show ISPConfig-Log'] = 'Vis ISPConfig-Log';
$wb['Show RKHunter-Log'] = 'Vis RKHunter-Log';
......@@ -62,6 +63,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Mail-Advarsel - Log';
$wb['monitor_logs_mailerr_txt'] = 'Mail-Fejl - Log';
$wb['monitor_logs_messages_txt'] = 'System Meddelelser - Log';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Cron - Log';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - Log';
$wb['monitor_logs_clamav_txt'] = 'ClamAV - Log';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - Log';
......
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'Αρχείο σφαλμάτων mail';
$wb['Show System-Log'] = 'Αρχείο καταγραφής συστήματος';
$wb['Show ISPC Cron-Log'] = 'Αρχείο καταγραφής ISPC Cron';
$wb['Show Freshclam-Log'] = 'Αρχείο καταγραφής Freshclam';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Αρχείο καταγραφής Clamav';
$wb['Show ISPConfig-Log'] = 'Αρχείο καταγραφής ISPConfig';
$wb['Show RKHunter-Log'] = 'Αρχείο καταγραφής RKHunter';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Αρχείο καταγραφής Mail-Warn
$wb['monitor_logs_mailerr_txt'] = 'Αρχείο καταγραφής Mail-Error';
$wb['monitor_logs_messages_txt'] = 'Αρχείο καταγραφής μηνυμάτων συστήματος';
$wb['monitor_logs_ispccron_txt'] = 'Αρχείο καταγραφής ISPConfig Cron';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Αρχείο καταγραφής Freshclam';
$wb['monitor_logs_clamav_txt'] = 'Αρχείο καταγραφής ClamAV';
$wb['monitor_logs_ispc_txt'] = 'Αρχείο καταγραφής ISPConfig';
......
......@@ -42,6 +42,7 @@ $wb['Show Mail err-Log'] = 'Show Mail Error-Log';
$wb['Show System-Log'] = 'Show System-Log';
$wb['Show ISPC Cron-Log'] = 'Show ISPC Cron-Log';
$wb['Show Freshclam-Log'] = 'Show Freshclam-Log';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Show Clamav-Log';
$wb['Show ISPConfig-Log'] = 'Show ISPConfig-Log';
$wb['Show RKHunter-Log'] = 'Show RKHunter-Log';
......@@ -69,6 +70,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Mail-Warn - Log';
$wb['monitor_logs_mailerr_txt'] = 'Mail-Error - Log';
$wb['monitor_logs_messages_txt'] = 'System Messages - Log';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Cron - Log';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - Log';
$wb['monitor_logs_clamav_txt'] = 'ClamAV - Log';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - Log';
......
......@@ -19,6 +19,7 @@ $wb['monitor_diskusage_used_txt'] = 'Usado';
$wb['monitor_general_serverstate_txt'] = 'Estado del Servidor';
$wb['monitor_general_systemstate_txt'] = 'Estado del Sistema';
$wb['monitor_logs_clamav_txt'] = 'Registros de ClamAV';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Registros de Freshclam ';
$wb['monitor_logs_ispc_txt'] = 'Registros de ISPConfig';
$wb['monitor_logs_ispccron_txt'] = 'Registros de las tareas programadas de ISPConfig (Cron)';
......@@ -130,6 +131,7 @@ $wb['Server Load'] = 'Carga del servidor';
$wb['Server online since'] = 'Servidor en línea desde';
$wb['Server State'] = 'Estado del servidor';
$wb['Server to Monitor'] = 'Servidor a supervisar';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Mostrar el registro de ClamAV';
$wb['Show CPU info'] = 'Mostrar información de la CPU';
$wb['Show Disk usage'] = 'Mostrar el uso del disco';
......
......@@ -40,6 +40,7 @@ $wb['Show Mail warn-Log'] = 'Näytä postipalvelimen varoitusloki';
$wb['Show Mail err-Log'] = 'Näytä postipalvelimen virheloki';
$wb['Show System-Log'] = 'Näytä järjestelmäloki';
$wb['Show Freshclam-Log'] = 'Näytä Freshclam-Loki';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Näytä Clamav-Loki';
$wb['Show ISPConfig-Log'] = 'Näytä ISPConfig-Loki';
$wb['Show ISPC Cron-Log'] = 'Näytä ISPC Cron-Loki';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Postipalvelimen varoitusloki';
$wb['monitor_logs_mailerr_txt'] = 'Postipalvelimen virheloki';
$wb['monitor_logs_messages_txt'] = 'Järjestelmän viestiloki';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig-ajastusloki';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam-päivitysloki';
$wb['monitor_logs_clamav_txt'] = 'Clamav-päivitysloki';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig-pääloki';
......
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'Voir les logs mails d’erreur';
$wb['Show System-Log'] = 'Voir les logs système';
$wb['Show ISPC Cron-Log'] = 'Voir les logs des crons ISPC';
$wb['Show Freshclam-Log'] = 'Voir les logs de Freshclam';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Voir les logs de Clamav';
$wb['Show ISPConfig-Log'] = 'Voir les logs dISPConfig';
$wb['Show RKHunter-Log'] = 'Voir les logs de RKHunter';
......@@ -62,6 +63,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Avertissements Mail - Log';
$wb['monitor_logs_mailerr_txt'] = 'Erreurs Mail - Log';
$wb['monitor_logs_messages_txt'] = 'Messages Système - Log';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Cron - Log';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - Log';
$wb['monitor_logs_clamav_txt'] = 'Clamav - Log';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - Log';
......
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'Prikaži mail log (greške)';
$wb['Show System-Log'] = 'Prikaži sistemski log';
$wb['Show ISPC Cron-Log'] = 'Prikaži control panel cron log';
$wb['Show Freshclam-Log'] = 'Prikaži freshclam log';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Prikaži clamav log';
$wb['Show ISPConfig-Log'] = 'Prikaži control panel log';
$wb['Show RKHunter-Log'] = 'Prikaži RKHunter log';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Mail log upozorenja';
$wb['monitor_logs_mailerr_txt'] = 'Mail log greške';
$wb['monitor_logs_messages_txt'] = 'Sistemski log-ovi';
$wb['monitor_logs_ispccron_txt'] = 'Control panel cron log-ovi';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam log-ovi';
$wb['monitor_logs_clamav_txt'] = 'ClamAV log-ovi';
$wb['monitor_logs_ispc_txt'] = 'Control panel log-ovi';
......
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'Show Mail err-Log';
$wb['Show System-Log'] = 'Show System-Log';
$wb['Show ISPC Cron-Log'] = 'Show ISPC Cron-Log';
$wb['Show Freshclam-Log'] = 'Show Freshclam-Log';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Show Clamav-Log';
$wb['Show ISPConfig-Log'] = 'Show ISPConfig-Log';
$wb['Show RKHunter-Log'] = 'Show RKHunter-Log';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Mail-Warn - Napló';
$wb['monitor_logs_mailerr_txt'] = 'Mail-Error - Napló';
$wb['monitor_logs_messages_txt'] = 'System Messages - Log';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Cron - Log';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - Log';
$wb['monitor_logs_clamav_txt'] = 'Clamav - Log';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - Log';
......
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'Tampilkan Log Kesalahan Mail';
$wb['Show System-Log'] = 'Tampilkan Log Sistem';
$wb['Show ISPC Cron-Log'] = 'Tampilkan Log Cron ISPC';
$wb['Show Freshclam-Log'] = 'Tampilkan Log Freshclam';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Tampilkan Log Clamav';
$wb['Show ISPConfig-Log'] = 'Tampilkan Log ISPConfig';
$wb['Show RKHunter-Log'] = 'Tampilkan Log RKHunter';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Log - Mail-Warn';
$wb['monitor_logs_mailerr_txt'] = 'Log - Mail-Error';
$wb['monitor_logs_messages_txt'] = 'Log - Pesan Sistem';
$wb['monitor_logs_ispccron_txt'] = 'Log - Cron ISPConfig';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Log - Freshclam';
$wb['monitor_logs_clamav_txt'] = 'Log - ClamAV';
$wb['monitor_logs_ispc_txt'] = 'Log - ISPConfig';
......
......@@ -35,6 +35,7 @@ $wb['Show Mail-Log'] = 'Mostra log mail';
$wb['Show Mail warn-Log'] = 'Mostra log avvisi mail';
$wb['Show Mail err-Log'] = 'Mostra log errori mail';
$wb['Show Freshclam-Log'] = 'Mostra log Freshclam';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Mostra log Clamav';
$wb['Show ISPConfig-Log'] = 'Mostra log ISPConfig';
$wb['Show System-Log'] = 'Mostra log di sistema';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Mail-Warn - Log';
$wb['monitor_logs_mailerr_txt'] = 'Mail-Error - Log';
$wb['monitor_logs_messages_txt'] = 'System Messages - Log';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Cron - Log';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - Log';
$wb['monitor_logs_clamav_txt'] = 'Clamav - Log';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - Log';
......
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'メールエラーログを見る';
$wb['Show System-Log'] = 'システムログを見る';
$wb['Show ISPC Cron-Log'] = 'ISPConfigのcronログを見る';
$wb['Show Freshclam-Log'] = 'Freshclam のログを見る';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Clamav のログを見る';
$wb['Show ISPConfig-Log'] = 'ISPConfigのログを見る';
$wb['Show RKHunter-Log'] = 'RKHunterのログを見る';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'メール警告 - ログ';
$wb['monitor_logs_mailerr_txt'] = 'メールエラー - ログ';
$wb['monitor_logs_messages_txt'] = 'システムメッセージ - ログ';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Cron - ログ';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - ログ';
$wb['monitor_logs_clamav_txt'] = 'Clamav - ログ';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - ログ';
......
......@@ -36,6 +36,7 @@ $wb['Show Mail warn-Log'] = 'E-Mail warn-log';
$wb['Show Mail err-Log'] = 'E-Mail mail-err-log';
$wb['Show System-Log'] = 'Systeem logboek';
$wb['Show Freshclam-Log'] = 'Freshclam-log';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Clamav-Log';
$wb['Show ISPConfig-Log'] = 'ISPConfig-log';
$wb['Show RKHunter-Log'] = 'Rootkit Hunter-log';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Mail-Warn - Log';
$wb['monitor_logs_mailerr_txt'] = 'Mail-Error - Log';
$wb['monitor_logs_messages_txt'] = 'Systemberichten - Log';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Cron - Log';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - Log';
$wb['monitor_logs_clamav_txt'] = 'Clamav - Log';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - Log';
......
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'Pokaż Log błędów Mail';
$wb['Show System-Log'] = 'Pokaż Log systemowy';
$wb['Show ISPC Cron-Log'] = 'Pokaż Log ISPC Crone';
$wb['Show Freshclam-Log'] = 'Pokaż Log Freshclam';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Pokaż Log Clamav';
$wb['Show ISPConfig-Log'] = 'Pokaż Log ISPConfig';
$wb['Show RKHunter-Log'] = 'Pokaż Log RKHunter';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Log ostrzeżeń Mail';
$wb['monitor_logs_mailerr_txt'] = 'Log błędów Mail';
$wb['monitor_logs_messages_txt'] = 'Log wiadomości systemu';
$wb['monitor_logs_ispccron_txt'] = 'Log ISPConfig Cron';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Log Freshclam';
$wb['monitor_logs_clamav_txt'] = 'Log Clamav';
$wb['monitor_logs_ispc_txt'] = 'Log ISPConfig';
......
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'Exibir Log de Erros de Correio';
$wb['Show System-Log'] = 'Exibir Log de Sistema';
$wb['Show ISPC Cron-Log'] = 'Exibir ISPC Log do Cron';
$wb['Show Freshclam-Log'] = 'Exibir Log do Freshclam';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Exibir Log do Clamav';
$wb['Show ISPConfig-Log'] = 'Exibir Log do ISPConfig';
$wb['Show RKHunter-Log'] = 'Exibir Log do RKHunter';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Log de Avisos';
$wb['monitor_logs_mailerr_txt'] = 'Log de Erros';
$wb['monitor_logs_messages_txt'] = 'Log de Sistema';
$wb['monitor_logs_ispccron_txt'] = 'Log do ISPConfig Cron';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Logo do Freshclam';
$wb['monitor_logs_clamav_txt'] = 'Log do Clamav ';
$wb['monitor_logs_ispc_txt'] = 'Log do ISPConfig';
......
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'Show Mail Error-Log';
$wb['Show System-Log'] = 'Show System-Log';
$wb['Show ISPC Cron-Log'] = 'Show ISPC Cron-Log';
$wb['Show Freshclam-Log'] = 'Show Freshclam-Log';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Show Clamav-Log';
$wb['Show ISPConfig-Log'] = 'Show ISPConfig-Log';
$wb['Show RKHunter-Log'] = 'Show RKHunter-Log';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Mail-Warn - Log';
$wb['monitor_logs_mailerr_txt'] = 'Mail-Error - Log';
$wb['monitor_logs_messages_txt'] = 'System Messages - Log';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Cron - Log';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - Log';
$wb['monitor_logs_clamav_txt'] = 'ClamAV - Log';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - Log';
......
......@@ -36,6 +36,7 @@ $wb['Show Mail warn-Log'] = 'Показать журнал предупрежд
$wb['Show Mail err-Log'] = 'Показать журнал ошибок почты';
$wb['Show System-Log'] = 'Показать системный журнал';
$wb['Show Freshclam-Log'] = 'Показать журнал Freshclam';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Показать журнал Clamav';
$wb['Show ISPConfig-Log'] = 'Показать журнал ISPConfig';
$wb['Show RKHunter-Log'] = 'Показать журнал RKHunter';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Предупреждения почты - ж
$wb['monitor_logs_mailerr_txt'] = 'Ошибки почты - журнал';
$wb['monitor_logs_messages_txt'] = 'Системные сообщения - журнал';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig планировщик - журнал';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - журнал';
$wb['monitor_logs_clamav_txt'] = 'Clamav - журнал';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - журнал';
......
......@@ -36,6 +36,7 @@ $wb['Show Mail warn-Log'] = 'Visa varningslogg epost';
$wb['Show Mail err-Log'] = 'Visa felloggg epost';
$wb['Show System-Log'] = 'Visa systemlogg';
$wb['Show Freshclam-Log'] = 'Visa Freshclam-logg';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Visa Clamav-logg';
$wb['Show ISPConfig-Log'] = 'Visa ISPConfig-logg';
$wb['Show RKHunter-Log'] = 'Visa RKHunter-logg';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Varningslogg epost';
$wb['monitor_logs_mailerr_txt'] = 'Fellogg epost';
$wb['monitor_logs_messages_txt'] = 'Systemmeddelandelogg';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Cron - logg';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam -logg';
$wb['monitor_logs_clamav_txt'] = 'Clamav - logg';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - logg';
......
......@@ -41,6 +41,7 @@ $wb['Show Mail err-Log'] = 'Show Mail err-Log';
$wb['Show System-Log'] = 'Show System-Log';
$wb['Show ISPC Cron-Log'] = 'Show ISPC Cron-Log';
$wb['Show Freshclam-Log'] = 'Show Freshclam-Log';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Show Clamav-Log';
$wb['Show ISPConfig-Log'] = 'Show ISPConfig-Log';
$wb['Show RKHunter-Log'] = 'Show RKHunter-Log';
......@@ -59,6 +60,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'Mail-Warn - Log';
$wb['monitor_logs_mailerr_txt'] = 'Mail-Error - Log';
$wb['monitor_logs_messages_txt'] = 'System Messages - Log';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Cron - Log';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam - Log';
$wb['monitor_logs_clamav_txt'] = 'Clamav - Log';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig - Log';
......
......@@ -42,6 +42,7 @@ $wb['Show Mail err-Log'] = 'E-posta Hata Günlüğü';
$wb['Show System-Log'] = 'Sistem Günlüğü';
$wb['Show ISPC Cron-Log'] = 'Zamanlı Görev Günlüğü';
$wb['Show Freshclam-Log'] = 'Freshclam Günlüğü';
$wb['Let\'s Encrypt log'] = 'Let\'s Encrypt log';
$wb['Show Clamav-Log'] = 'Clamav Günlüğü';
$wb['Show ISPConfig-Log'] = 'ISPConfig Günlüğü';
$wb['Show RKHunter-Log'] = 'RKHunter Günlüğü';
......@@ -68,6 +69,7 @@ $wb['monitor_logs_mailwarn_txt'] = 'E-posta Uyarı Günlüğü';
$wb['monitor_logs_mailerr_txt'] = 'E-posta Hata Günlüğü';
$wb['monitor_logs_messages_txt'] = 'Sistem İletileri Günlüğü';
$wb['monitor_logs_ispccron_txt'] = 'ISPConfig Zamanlı Görev Günlüğü';
$wb['monitor_logs_letsencrypt_txt'] = 'Let\'s Encrypt - Log';
$wb['monitor_logs_freshclam_txt'] = 'Freshclam GÜnlüğü';
$wb['monitor_logs_clamav_txt'] = 'Clamav Günlüğü';
$wb['monitor_logs_ispc_txt'] = 'ISPConfig Günlüğü';
......
......@@ -181,6 +181,11 @@ $items[] = array( 'title' => "Show ISPC Cron-Log",
'link' => 'monitor/show_log.php?log=log_ispc_cron',
'html_id' => 'log_ispc_cron');
$items[] = array( 'title' => "Let's Encrypt log",
'target' => 'content',
'link' => 'monitor/show_log.php?log=log_letsencrypt',
'html_id' => 'log_letsencrypt');
$items[] = array( 'title' => "Show Freshclam-Log",
'target' => 'content',
'link' => 'monitor/show_log.php?log=log_freshclam',
......
......@@ -79,6 +79,11 @@ case 'log_ispc_cron':
$title = $app->lng("monitor_logs_ispccron_txt").' ('. $monTransSrv .' : ' . $_SESSION['monitor']['server_name'] . ')';
$description = '';
break;
case 'log_letsencrypt':
$logId = 'log_letsencrypt';
$title = $app->lng("monitor_logs_letsencrypt_txt").' ('. $monTransSrv .' : ' . $_SESSION['monitor']['server_name'] . ')';
$description = '';
break;
case 'log_freshclam':
$logId = 'log_freshclam';
$title = $app->lng("monitor_logs_freshclam_txt").' ('. $monTransSrv .' : ' . $_SESSION['monitor']['server_name'] . ')';
......@@ -127,7 +132,7 @@ if(isset($record['data'])) {
$logData = explode("\n", htmlspecialchars($data));
$logDataHtml = '';
/* set css class for each line of log, depending on key words in each line */
foreach($logData as $line => $val) {
if (strpos($val, 'ERROR') !== FALSE) {
......
......@@ -223,12 +223,12 @@ function _getServerState($serverId, $serverName) {
/*
* Info of a VE inside a OpenVz-Host
*/
$alert_class = 'alert-info';
if($serverState == 'ok') $alert_class = 'alert-success';
if($serverState == 'warning') $alert_class = 'alert-warning';
if($serverState == 'critical' || $serverState == 'error') $alert_class = 'alert-danger';
//$html_ve = '<div class="systemmonitor-ve state-' . $serverState . '-ve os-' . $osData['name'] . '">';
//$html_ve = '<div class="systemmonitor state-' . $serverState . ' os-' . $osData['name'] . '">';
$html_server = '<div class="alert '.$alert_class.'" role="alert">';
......@@ -254,7 +254,7 @@ function _getServerState($serverId, $serverName) {
* Info of a "normal" Server or a OpenVz-Host
*/
//$html_server = '<div class="systemmonitor-server state-' . $serverState . ' os-' . $osData['name'] . '">';
/*
switch ($oldState) {
case 'no_state': $oldInt = 0;
......@@ -276,7 +276,7 @@ function _getServerState($serverId, $serverName) {
if($serverState == 'ok') $alert_class = 'alert-success';
if($serverState == 'warning') $alert_class = 'alert-warning';
if($serverState == 'critical' || $serverState == 'error') $alert_class = 'alert-danger';
$html_server = '<div class="alert '.$alert_class.'" role="alert">';
if ($osData != null) {
//$html_server .= '<div class="icoDevice"><p class="status"></p></div>';
......@@ -615,6 +615,9 @@ function _processDbState($type, $serverId, $serverState, $messages) {
if ($type == 'log_messages') {
/* this type has no state */
}
if ($type == 'log_letsencrypt') {
/* this type has no state */
}
if ($type == 'rkhunter') {
/* this type has no state */
}
......
<?php
/*
Copyright (c) 2013, Marius Cramer, pixcept KG
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of ISPConfig nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
class cronjob_monitor_letsencrypt_log extends cronjob {
// job schedule
protected $_schedule = '*/5 * * * *';
protected $_run_at_new = true;
private $_tools = null;
/* this function is optional if it contains no custom code */
public function onPrepare() {
global $app;
parent::onPrepare();
}
/* this function is optional if it contains no custom code */
public function onBeforeRun() {
global $app;
return parent::onBeforeRun();
}
public function onRunJob() {
global $app, $conf;
/* used for all monitor cronjobs */
$app->load('monitor_tools');
$this->_tools = new monitor_tools();
/* end global section for monitor cronjobs */
/* the id of the server as int */
$server_id = intval($conf['server_id']);
/** The type of the data */
$type = 'log_letsencrypt';
/* Get the data of the log */
$data = $this->_tools->_getLogData($type);
/*
* actually this info has no state.
* maybe someone knows better...???...
*/
$state = 'no_state';
/*
* Return the Result
*/
$res = array();
$res['server_id'] = $server_id;
$res['type'] = $type;
$res['data'] = $data;
$res['state'] = $state;
/*
* Insert the data into the database
*/
$sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' .
'VALUES (?, ?, UNIX_TIMESTAMP(), ?, ?)';
$app->dbmaster->query($sql, $res['server_id'], $res['type'], serialize($res['data']), $res['state']);
/* The new data is written, now we can delete the old one */
$this->_tools->delOldRecords($res['type'], $res['server_id']);
parent::onRunJob();
}
/* this function is optional if it contains no custom code */
public function onAfterRun() {
global $app;
parent::onAfterRun();
}
}
?>