Outils pour utilisateurs

Outils du site


logwatch

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
logwatch [2020/11/05 21:27] – [/etc/logwatch/conf/logwatch.conf] pascallogwatch [2023/07/04 10:55] (Version actuelle) – modification externe 127.0.0.1
Ligne 170: Ligne 170:
 #AppendCWDToLogDirs = 0 #AppendCWDToLogDirs = 0
 </file> </file>
 +=== Modifications ===
 +<file>
 +Output = mail       | Output = stdout
 +MailFrom = root       | MailFrom = Logwatch
 +</file>
 +
 ===== Commandes ===== ===== Commandes =====
-==== Gestion du daemon ====+==== Test de logwatch ====
 <code> <code>
-root@mazarini:~# /etc/init.d/ntp stop +root@mazarini:~# /usr/sbin/logwatch --output mail 
-root@mazarini:~# /etc/init.d/ntp start +root@mazarini:~# 
-root@mazarini:~# /etc/init.d/ntp restart +
-</code> +
-==== Interrogation ==== +
-<code> +
-# ntpq -p +
-     remote           refid      st t when poll reach   delay   offset  jitter +
-============================================================================== +
- gw-01.darksky.i 213.251.128.249  2 u   48   64    1    4.463    2.915   0.000 +
- ns0.luns.net.uk 158.43.192.66    2 u   47   64    1   22.373   -0.584   0.000 +
- 62-210-28-176.r 84.255.209.79    4 u   46   64    1    0.452   -0.475   0.000 +
- ntp-2.arkena.ne 193.190.230.65   2 u   45   64    1    0.916    0.336   0.000 +
- ntp1.online.net 145.238.203.14   2 u   44   64    1    0.293    2.246   0.000 +
-#+
 </code> </code>
 +Commande trouvée dans /etc/cron.daily/00logwatch
 +
 ===== Références ===== ===== Références =====
-  * Choix du pool de serveurs 
-    * [[http://documentation.online.net/fr/serveur-dedie/reseau/information-parametres-reseau-dedibox#serveurs_ntp|Documentation online.net]] 
-    * [[http://www.pool.ntp.org/fr/|NTP pool project]] 
  
      
logwatch.1604611629.txt.gz · Dernière modification : 2023/07/04 10:55 (modification externe)