PortAlert Personal

TCP port monitoring software for Windows/Linux. PortAlert Personal checks your important services automatically, sends Email and Telegram alerts when a port is down, and sends a recovery message when the service returns to normal. No installation required. Edit configuration files and run it in ONE minute.

Overview

Offline License Email Alert Telegram Alert Recovery Notice IamAlive

PortAlert Personal is designed for simple and reliable monitoring of websites, servers, network devices, database ports, VPN endpoints, and internal services.

Recommended use cases: website monitoring, firewall rule monitoring, database port check, internal DNS / mail / VPN service monitoring, and small office server alerting.

Files Included

FileDescription
portalertMain monitoring program.
license.datYour offline license file.
portalert_host.txtHost and port monitoring settings.
portalert_email.txtSMTP and Telegram settings.
portalert_log.txtRuntime log file created by the program.

Quick Start

  1. Unzip and copy all files into one folder.
  2. Edit portalert_host.txt to define the hosts and ports you want to monitor.
  3. Edit portalert_email.txt to define your SMTP and Telegram settings.
  4. Run portalert -check first to validate config format, then run portalert -test to confirm Email and Telegram delivery before enabling background mode.
  5. Place your valid license.dat in the same folder.
  6. Open Command Prompt in this folder and run portalert.
portalert
portalert -check
portalert -test
portalert -start
portalert -status
portalert -stop
portalert -licenseinfo
portalert -probe
Configuration format: key : "value"
Use : as separator. = is not supported by the recommended config standard.

Host Configuration

Edit portalert_host.txt.

interval : "15"
fast_retry_interval : "4"

host : "smartbooth.com"
port : "80"
description : "smartbooth web"
timeoutsec : "7"
alertcount : "3"

host : "590915.xyz"
port : "443"
description : "main website https"
timeoutsec : "7"
alertcount : "3"

Parameter Description

ParameterDescription
intervalNormal check interval in seconds.
fast_retry_intervalShorter retry interval used when one or more monitored ports are in failure state.
hostHost name or IP address to monitor.
portTCP port number to check.
descriptionYour note for this target.
timeoutsecTCP connect timeout for each check.
alertcountNumber of consecutive failures before sending a DOWN alert.

Email and Telegram Configuration

Edit portalert_email.txt.

server : "smtp://smtp.gmail.com:587"
email : "your@gmail.com"
password : "your_app_password"
from : "your@gmail.com"
to : "admin1@hotmail.com,admin2@yahoo.com"
iamalive : "admin1@hotmail.com"
token : "your telegram bot token"
chat_id : "-123456789"

Parameter Description

ParameterDescription
serverSMTP server and port. Example: smtp://smtp.gmail.com:587
emailSMTP login account.
passwordSMTP password or app password. The program can auto-convert it to encrypted format.
fromSender email address.
toMain alert recipients.
iamaliveDaily keep-alive recipient. Email to let you know program is up and running at midnight.
tokenTelegram bot token.
chat_idTelegram chat ID or group ID.
Gmail with App Password is recommended because it is easy to set up, fast, and reliable for sending alert emails.

License

PortAlert Personal uses an offline local license file named license.dat.

portalert -probe > probe.txt

Send the generated probe.txt to us. A matching license.dat will be issued for your machine.

portalert -licenseinfo

This command displays current license mode, customer, expire date, and machine matching result.

Alert Behavior

  • When a monitored port fails continuously and reaches alertcount, a DOWN alert is sent.
  • After a DOWN alert is sent, the internal failure counter is reset.
  • Before the service recovers, repeated DOWN alerts are not sent again and again.
  • When the service comes back, a RECOVERY alert is sent.
  • Daily IamAlive can be sent to confirm the program is still running at midnight.
  • When ports time out, additional 3 PING host response results are included in the alert text (helps identify network vs application issues)

Trial Mode Limits

ItemTrial Limit
Email alerts2 per day
Telegram alerts2 per day
IamAlive1 per day
Monitoring targetsMaximum 2 hosts
Licensed mode removes the above Trial limits.

Command Reference

CommandDescription
portalertRun in foreground mode.
portalert -startStart in background mode.
portalert -stopStop background process.
portalert -statusCheck whether the monitor is running.
portalert -checkValidate config file format. Use this first to catch = and missing keys.
portalert -testSend a test Email and Telegram alert to verify configuration.
portalert -probePrint machine probe information.
portalert -licenseinfoShow current license status.
portalert -sSilent mode.
portalert -h / portalert --helpShow command help and usage summary.

Recommended command flow: edit config, run portalert -check and portalert -test, then use portalert -start for background monitoring.

Recommended Deployment

  • Install in a fixed folder such as PortAlert.
  • Keep portalert, license.dat, and config files in the same folder.
  • Use a stable SMTP account.
  • Test one invalid port first to verify Email and Telegram alerts are working correctly.

Troubleshooting

No Email Alert

  • Check SMTP server, account, password, and firewall rules.
  • Review portalert_log.txt.

No Telegram Alert

  • Check token and chat_id.
  • Ensure the bot has permission to message the target chat or group.

Still in Trial Mode

  • Confirm license.dat is in the same folder as portalert.
  • Run portalert -licenseinfo to check the reason.

Purchase

To purchase or renew your license, please visit:
https://www.smartbooth.com/purchase_lic.htm
To download
Windows Version Linux Version