Skip to content

AS213941 · Peering-20% on all VPS with code NVH20 · Delivered in 60 seconds

Linux VPSFrom 2,49 €/monthWindows VPSFrom 3,49 €/monthFiveM serverFrom 0,99 €/monthMinecraft serverFrom 1,99 €/month
VPS & Cloud

Ranges

Linux NVMe VPSRoot access, Debian, Ubuntu, Alma…Windows RDP VPSRemote desktop, licence includedDedicated serversIntel Xeon Gold, exclusive resourcesPterodactyl VPSGame panel preinstalled

Network and hosting

Anti-DDoSWeb hostingColocationIP transitVPN

Professionals

Reseller VPSReseller programme
Solutions

Bots and automation

AI agents VPSA server for your coding assistants and autonomous agentsTelegram bot VPSPython or Node.js, always reachableDiscord bot VPSMusic, moderation, tickets: no downtimen8n VPSWorkflows with no execution limitVPN VPSAn encrypted tunnel exiting in FranceWeb scraping VPSScheduled data collection, dedicated IP

Trading

Forex VPSYour robots manage positions overnightMetaTrader 4 VPSSeveral MT4 terminals on one machineMetaTrader 5 VPSForex, indices and stocks in MT5NinjaTrader VPSFutures and NinjaScript strategiesTrading bot VPSOpen-source crypto bots, protected API keys

Windows desktop

Windows 10 VPSFor software that requires Windows 10Windows 11 VPSA modern Windows desktop, reachable anywhereSEO VPSLarge-site crawls without tying up your PCStreaming VPSAn OBS studio streaming from the data centreWordPress VPSFast websites on NVMe disks
Marketplace

Intelligence artificielle

Claude CodeL'agent de code d'Anthropic, dans votre terminalCodex CLIL'agent de code d'OpenAI en ligne de commandeOllamaDes modèles de langage locaux, sans API externeOpen WebUIUne interface de discussion pour vos modèles Ollama

Automatisation

n8nVos automatisations, sans limite d'exécutions

Déploiement et conteneurs

DockerLe moteur de conteneurs et Docker ComposeCoolifyDéployez vos applications depuis Git, sur votre serveurPortainerGérez vos conteneurs Docker depuis le navigateur

Supervision

Uptime KumaSurveillez vos sites et serveurs, alertes comprises

Network and security

WireGuardVotre propre VPN chiffré, rapide et moderneVaultwardenUn gestionnaire de mots de passe auto-hébergé

Sites et cloud

NextcloudVotre cloud de fichiers, agenda et contactsWordPressLe CMS le plus utilisé, sur une pile Nginx rapide

Jeux

PterodactylLe panel pour héberger vos serveurs de jeux
Gaming

Game servers

FiveM servertxAdmin, ESX, QBCoreMinecraft serverJava, Bedrock, modpacksRust serverOxide, Carbon, wipesNova-Life serverNova-Life: Amboise RP

Protection and tools

FiveM Anti-DDoSFree tools
Resources

Learn

DocumentationBlog

Assistance

ContactSLA commitment
View plans Client area Peering · AS213941

Monitoring

Get a daily report of your VPS every morning with Logwatch

By the NVHCloud team · 2026-09-18 · 4 min read

Nobody reads a server's logs every day. Logwatch does it for you: every night it goes through the system logs and sends you a readable summary. SSH logins, service errors, disk space, addresses banned by Fail2ban, web server errors: two minutes of reading in the morning tell you whether anything unusual happened.

1. Why a daily report

Alerts, described in monitoring your VPS, warn you when a threshold is crossed. The daily report shows what does not trigger an alert but deserves your attention: a successful SSH login from an unexpected country, a service that restarts every night, PHP errors piling up, a disk slowly filling up.

2. Install Logwatch

apt update && apt install -y logwatch

Depending on your system, the installation may offer to install a mail server as well: if a Postfix configuration screen appears, choose No configuration for now. Sending email is covered in step 5.

3. Display a first report

Before configuring anything, display today's report in the terminal:

logwatch --detail med --range today --output stdout | less

The report is split by service: sshd, fail2ban, httpd for the web server, disk space, and so on. Only the services present on your server appear.

4. Configure the daily email

The installation already adds a daily job in /etc/cron.daily/00logwatch. You only need to tell it what to send and to whom. Create /etc/logwatch/conf/logwatch.conf:

Output = mail
Format = html
MailTo = [email protected]
MailFrom = [email protected]
Range = yesterday
Detail = Med
Service = All
  • Range = yesterday: the report sent in the morning covers the whole previous day.
  • Detail: Low for the essentials, Med for a good balance, High to see everything, which quickly becomes unreadable.
  • Service: to remove a service that is too verbose, add a line such as Service = "-http" below Service = All.

5. Make sure the emails go out

Logwatch hands the email over to the system's mail program. You therefore need one, correctly configured, otherwise reports vanish or land in spam. The most reliable method for a server that only sends notifications is to relay email through an SMTP provider, as described in configuring Postfix for sending only.

Then test an immediate send:

logwatch --detail low --range today --output mail --mailto [email protected]

If nothing arrives, check the mail logs with journalctl -u 'postfix*' -n 30. A report that lands in the spam folder points to an authentication problem with the sender domain: see configuring SPF, DKIM and DMARC.

6. Read the report in two minutes

Focus on these sections, in this order:

  1. sshd, successful logins: each line should match one of your own logins. A login you do not recognise is the most serious warning in the report.
  2. Disk Space: usage of each partition. Above 80 %, clean up.
  3. fail2ban: the number of banned addresses. A stable number is normal; a sudden explosion may come before a targeted attack.
  4. Service errors: services that fail at startup or keep restarting.

Failed SSH login attempts often number in the hundreds: that is the background noise of the Internet. If passwords are disabled, they are harmless. See securing SSH.

7. Go further with journalctl

When the report flags something, trace it back to the source with the system journal:

journalctl -p err --since yesterday          # all errors since yesterday
journalctl -u nginx --since "2 hours ago"    # one specific service
journalctl --disk-usage                      # space used by the logs
journalctl --vacuum-time=30d                 # keep only 30 days

To limit the size of the logs permanently, add SystemMaxUse=500M to /etc/systemd/journald.conf, then restart the service with systemctl restart systemd-journald.

Frequently asked questions

Does Logwatch work on Debian 12 without an auth.log file?

Debian 12 no longer installs rsyslog by default and writes logs only to the systemd journal. Logwatch mostly reads files: install rsyslog with apt install rsyslog to get /var/log/auth.log back and a complete report, or complement it with journalctl.

I do not receive the report. Why?

Almost always because the server cannot send email: no mail program configured, outbound port 25 blocked, or the message filed as spam. Test sending with logwatch --output mail and check the Postfix logs.

Can I receive the report on Discord instead of by email?

Logwatch does not send to Discord directly, but you can generate the report as text with --output stdout and send it as a file to a Discord webhook with curl. For urgent alerts, the script in our monitoring guide is better suited.

Does Logwatch use a lot of resources?

Very little: it only runs once a day, for a few seconds, to analyse the previous day's logs.

Linux NVMe VPS

Root access, Intel Xeon Gold and NVMe, delivered in 60 seconds. From 2,49 €/month.