Deprecated: Function create_function() is deprecated in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 106
Friday, September 18, 2020
Transférer les logs d’un programme vers une autre machine (Linux)
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 50
Deprecated: Function create_function() is deprecated in /home/vh/dotmg/www/dotmg.net/what-if/fp-includes/core/core.wp-formatting.php on line 106
Copier les logs vers un autre serveur.
Serveur source : 172.19.0.2
Serveur de destination : 172.19.0.1
Dans le serveur source :
Editer /etc/rsyslog.conf ou un des /etc/rsyslog.d/*
Remplacer la ligne commençant par mail par :
mail.* @@172.19.0.1:514
Tous les logs à propos de mail sont transférés dans le serveur source 172.19.0.1
Dans le serveur destination :
module(load=”imtcp”)
input(type=”imtcp” port=”514”)
Et voilà!