Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk11 min

How to Send Email Alerts for Server Monitoring on a Linux VPS

Set up Linux VPS monitoring emails with Monit or Uptime Kuma. This guide covers authenticated SMTP, TLS ports, process and endpoint checks, filtering, retry queues, security, testing, and common delivery failures.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use a local agent such as Monit when you need alerts about processes, filesystems, ports, protocols, and resource conditions on the VPS itself. Use Uptime Kuma when you want a browser dashboard, status pages, endpoint checks, and SMTP notifications in one place. Both paths send through an authenticated SMTP relay; the reliable setup also filters noisy events, protects credentials, queues failed deliveries, and verifies the alert path with a real test.

Choose the monitoring path that fits the failure you need to detect

Email delivery is only one part of server monitoring. First decide where the check should run and what it must observe.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose Monit for host-level and process-level failures

Monit runs on the VPS and evaluates local conditions. Its documented checks cover services, processes, filesystems, ports, protocols, and resource usage. It can alert globally for all monitored services or locally for one service. This makes it suitable for questions such as:

  • Is a web process still running and associated with its expected PID file?
  • Does a local HTTP service answer on a specific port and protocol?
  • Has a filesystem, memory, CPU, or other resource condition crossed a configured threshold?
  • Has a process disappeared, stopped responding, or lost a required connection?

The configuration-file workflow is compact and works well on a VPS where you want monitoring to remain close to the service. The trade-off is that you must edit and validate configuration files rather than managing checks in a browser.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones | IPX5 Waterproof,2 Mics for AI Calls,Immersive Premium Sound Bass Headset with Charging Case,32 EQ via App Black
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.

Choose Uptime Kuma for endpoint checks and a dashboard

Uptime Kuma is a self-hosted monitoring tool with a web interface. Its documented monitor types include HTTP(S), TCP, ping, DNS, Docker, database, and other checks, and its notification channels include Email (SMTP). It fits a setup where you want a central dashboard, status pages, or one place to manage several kinds of endpoint checks.

Because a self-hosted dashboard normally runs on the same VPS unless you deliberately place it elsewhere, consider the vantage point. A local monitor can report that a process is alive even when the VPS is unreachable from the internet. An endpoint monitor can check public reachability, but if the monitoring application shares the same host and network path as the service, a single outage can affect both the service and the alerting system. For important services, place an additional check outside the VPS or use a second monitoring location.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Prepare an SMTP relay before configuring alerts

Neither Monit nor Uptime Kuma should attempt to deliver mail directly to every recipient domain. Configure an SMTP relay that accepts authenticated submissions from the VPS and forwards them to the target mailbox.

Collect the relay details

Before opening either monitoring interface, obtain these values from the relay provider:

  • SMTP hostname.
  • Submission port.
  • Encryption mode: implicit SSL, explicit TLS/STARTTLS, or another mode the relay documents.
  • Username and password, if authentication is required.
  • Sender address permitted by the relay.
  • Recipient address or distribution list for operational alerts.
  • Any source-IP allowlist, sender verification, or domain policy the relay enforces.

Monit documents port 465 for SSL and port 25 for TLS or non-secure connections as defaults, but relay services can require different ports and policies. The example below uses port 587 as a template. Confirm the current port, TLS behavior, certificate requirements, and authentication method with the relay before deploying.

Create a dedicated monitoring identity

Use a sender account created for monitoring rather than a personal mailbox. Limit its permissions and recipients to what alerting needs. This separates operational mail from human correspondence and makes rotation or revocation less disruptive. Keep the credential out of shell history, tickets, screenshots, world-readable files, and unencrypted backups. Store the configuration with ownership and permissions that prevent untrusted users from reading it, and rotate the password according to the relay’s current policy.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
  • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
  • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
  • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
  • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
  • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.

Configure Monit email alerts

Monit’s official guidance uses a global set alert statement for all services or an alert statement inside a service entry for one service. The mail server is defined separately with set mailserver.

1. Define the SMTP server and recipient

Start with a global mail server and a global alert target. This conceptual configuration shows authenticated TLS and an event filter:

set mailserver smtp.example.net port 587 username "ALERT_USER" password "ALERT_PASSWORD" using TLS
set alert [email protected] only on { timeout, nonexist, connection, resource }

Adapt the syntax to the Monit version installed on the VPS. The hostname, account, password, sender behavior, and encryption mode are relay-specific. If the relay expects implicit SSL rather than explicit TLS, use the corresponding Monit options documented for that version instead of copying the example unchanged.

2. Add a process and service check

A process check identifies the service and can define how Monit starts or stops it. A protocol check then tests the service from the VPS:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
check process webapp with pidfile /run/webapp.pid
  start program = "/usr/local/bin/webapp-start"
  stop program = "/usr/local/bin/webapp-stop"
  if failed host 127.0.0.1 port 8080 protocol http then alert

The PID-file path, start command, stop command, host, port, and protocol must match the application on your VPS. A wrong PID path can make a healthy service appear absent; a wrong port or protocol can generate a false outage. Verify each value against the service’s actual runtime configuration before enabling notifications.

3. Use local alerts when only one service needs mail

If a check should notify a different recipient or event set, place an alert statement in that service’s entry instead of changing the global rule. This is useful when a low-priority development process should not page the same mailbox as a production endpoint. Keep the global rule for common events and use per-service rules for exceptions.

Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by

4. Reduce noise with event filters

Monit supports event allowlists with only on { ... } and denylists with but not on { ... }. Start with events that represent a meaningful failure, such as timeout, nonexistence, connection failure, or a resource condition. Add recovery notifications only when the recipient needs to know that service has returned; otherwise repeated state changes can bury the initial failure in the mailbox.

5. Protect delivery during a relay outage

Monit can use multiple mail servers for failover. It can also persist events in an event queue when configured, then retry delivery after the mail server recovers. A conceptual queue declaration is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
set eventqueue basedir /var/lib/monit/events

Choose a directory that exists, is writable by Monit, and is protected from unprivileged users. Confirm the exact queue syntax and permissions for the installed version. Without a persistent queue or equivalent retry mechanism, a temporary SMTP outage can leave you with no copy of an alert that occurred while delivery was unavailable.

6. Validate the configuration and run a real alert test

  1. Check the configuration with the validation command and method documented by your installed Monit package before reloading it.
  2. Reload or restart Monit using the service manager on your distribution.
  3. Confirm that Monit can reach the relay hostname and submission port through the VPS firewall and network policy.
  4. Trigger a controlled event, such as stopping a non-critical test service or temporarily changing a test port, and verify that the message arrives.
  5. Restore the service and check whether the recovery event is sent or intentionally filtered.
  6. Inspect Monit’s logs and the relay’s delivery logs if the message does not appear.

Monit documents an SMTP test capability. Use it during deployment and after changing credentials, TLS settings, or relay endpoints. A successful connection test proves only that Monit can submit to the relay; it does not guarantee that the recipient mailbox will accept or display the message.

Set up Uptime Kuma SMTP notifications

Uptime Kuma is configured through its web interface rather than a Monit-style service file. The labels can change between releases, so use the field names shown by the version installed on your VPS.

1. Open the notification settings

  1. Sign in to the Uptime Kuma dashboard with an administrative account.
  2. Open the notification management area and add an Email (SMTP) notification.
  3. Enter the relay hostname, submission port, encryption mode, username, and password.
  4. Set the permitted sender address and the recipient mailbox or list.
  5. Save the notification and use the interface’s test action if your release provides one.

Do not assume that a port number implies a particular encryption mode. Select the mode the relay documents, and ensure the certificate name matches the hostname when certificate verification is enabled.

Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.

2. Create monitors for the failure modes that matter

Add monitors for the endpoints and dependencies your users rely on. Uptime Kuma documents HTTP(S), TCP, ping, DNS, Docker, database, and other monitor types. For an HTTP check, use the public URL and an expected response behavior appropriate to the application. For a TCP check, specify the externally reachable host and port. A ping monitor tests network reachability, not whether an application is serving valid content.

3. Attach the SMTP notification to each monitor

For every monitor, enable the email notification and choose whether to send messages on failure, recovery, or both. Avoid attaching every event to every recipient by default. A service owner may need detailed state changes, while an operations mailbox may need only sustained failures and recoveries.

4. Decide where Uptime Kuma should run

Running the dashboard on the monitored VPS is simple, but it creates a shared failure domain. If the VPS loses power, networking, storage, or its host kernel, the dashboard may be unable to send an alert. For an external availability check, deploy Uptime Kuma on a separate host or retain an independent monitor that can reach the VPS from another network.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

5. Test both failure and recovery

Use a harmless test endpoint or a maintenance window. Force one monitor to fail, confirm the email, restore the endpoint, and confirm the recovery notification if enabled. Record the test date, recipient, and observed delay in your operations notes so a future configuration change can be compared with a known-good result.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Monit and Uptime Kuma compared

Decision point Monit Uptime Kuma
Primary focus Local processes, filesystems, ports, protocols, and resource conditions Endpoint and service availability through HTTP(S), TCP, ping, DNS, Docker, database, and other monitors
Management style Configuration files and service entries Browser-based dashboard
SMTP notifications Global or per-service alert targets; authenticated mail servers; event filtering; optional queue and failover Email (SMTP) notification channel configured in the interface; exact fields depend on the installed release
Vantage point Normally the VPS itself Normally the host running Uptime Kuma; place it separately for an independent view
Best fit Fast local reaction to a crashed process or exhausted resource Dashboard visibility, status pages, and multiple endpoint check types
Main operational concern Syntax, file permissions, credential protection, and alert noise Dashboard exposure, account security, shared failure domains, and release-specific UI changes

The two tools can complement one another. Monit can restart or flag a local process, while Uptime Kuma checks whether the public endpoint is actually reachable. If both send email, use distinct subjects or recipients so duplicate alerts remain understandable.

Make the alert path reliable and secure

  • Use authenticated TLS: Submit through an SMTP relay with authentication and TLS when the provider supports it. Confirm certificate validation and the relay’s current port policy.
  • Separate sender and recipient roles: A dedicated sender account limits blast radius. Use a recipient list that is maintained independently of the monitored service.
  • Filter before delivery: Alert only on conditions that require action. Excessive state-change mail trains people to ignore the mailbox.
  • Queue temporary failures: Enable Monit’s persistent event queue or an equivalent retry mechanism so relay downtime does not erase events.
  • Protect the monitoring interface: Restrict Uptime Kuma administration to trusted networks or a protected access path, enforce strong authentication, and keep the dashboard software updated.
  • Protect configuration files: Limit read access to Monit’s configuration and any file containing SMTP credentials. Check backups and deployment artifacts for accidental copies.
  • Monitor the monitor: Keep a scheduled test alert or a synthetic check that confirms the mailbox receives messages. A monitor that silently loses SMTP access is not a dependable monitor.
  • Document ownership: Record who receives alerts, which events are considered urgent, where credentials are stored, and how to disable notifications during planned maintenance.

Troubleshoot missing or misleading alerts

No email arrives after a deliberate failure

  • Confirm the event actually occurred from the service log, process table, or endpoint check history.
  • Check that the event is not excluded by Monit’s only on or but not on filter, or by Uptime Kuma’s notification settings.
  • Verify the relay hostname resolves from the VPS and that outbound traffic to the selected port is permitted.
  • Recheck the username, password, sender address, and encryption mode. A TLS/SSL mismatch commonly prevents authentication.
  • Inspect Monit or Uptime Kuma logs for connection, certificate, authentication, or recipient errors.
  • Look in the recipient’s spam, quarantine, and mail-flow logs before changing the monitoring configuration.

Authentication or TLS errors appear

Confirm whether the relay expects implicit SSL, explicit TLS/STARTTLS, or a non-encrypted connection on a restricted internal network. Use the relay hostname that matches its certificate, not an unrelated IP address. Re-enter the credential without trailing spaces and verify that the account is permitted to send from the configured address.

Alerts arrive late or in a burst

A temporary relay outage, DNS failure, or event queue can explain delayed delivery. Check the queue directory and retry logs, then inspect the relay’s timestamps. If many recovery and state-change messages arrive together, narrow the event filters and decide whether recovery notifications are necessary.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Healthy services generate failure alerts

Validate the PID-file location, start and stop commands, host, port, and protocol in the Monit entry. For Uptime Kuma, verify that the monitor uses the same hostname, URL path, DNS name, and externally reachable port that users use. A localhost check can pass while the public interface is broken, and a public check can fail because of firewall or DNS policy even when the application itself is healthy.

The monitoring dashboard disappears with the service

If Uptime Kuma runs on the same VPS, a host outage can remove both the monitored endpoint and the notification engine. Move the dashboard to a separate host or add an independent external check. Monit remains useful for local process failures, but it cannot report through the same failed network path unless another delivery route remains available.

Operate the system after the first successful test

Review alert recipients and filters after every service migration, firewall change, relay-password rotation, or monitoring upgrade. Repeat a controlled failure test after changing SMTP settings. Keep the relay account’s permissions narrow, remove old recipients, and verify that queue directories, logs, and configuration backups do not expose credentials. Treat the mailbox as an operational system: assign ownership, define escalation for an unacknowledged failure, and periodically confirm that test messages are still delivered.

For a single Linux VPS where the immediate requirement is an email when a process, port, or resource fails, Monit is the smaller implementation. For a dashboard that combines public endpoint checks and several notification channels, Uptime Kuma is the broader interface. In either case, authenticated SMTP, deliberate event filtering, protected credentials, retry handling, and a tested alert path determine whether the email is useful when the VPS actually has a problem.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.