-
Download and unzip to
1) portalert_host.txt for host and ports
setup 2)
portalert_setup.txt for account setup to receive SMS
and Email
alert 3)
portalert_email.txt - Optional
setup alternative SMTP to send mail alert
4) portalert program
- TCP Services such as
FTP using port 21,
SSH(22), SMTP(25), DNS(53), Httpd(80),MSSQL(1433),
MYSQL(3306).. or self defined port #.
TCP Ports are numerical identifiers in host to host communications.
Monitoring TCP ports connection is monitoring the Server's TCP services
-
Alert you once only when normal -> consecutive connection timeout
-> normal status changed - No
continue sending you alerts
when
it remains TCP ports connection timeout.
Let you know when it is
abnormal and when it is back exactly.
-
Write any TCP port connection timeout record to log file with timestamp
and mail you the log file everyday to let you check from email inbox
directly
-
Run
portalert
directly and you can run it in background with
silent mode by running portalert -s & when
it has been tested OK.
-
SMS and Email alerts send out from our server and has option to
setup alternative SMTP to send email alert
via
Local/Free SMTP
or
SendGrid
SMTP relay service (API key for password, no security concern,
100/day for free)
to ensure you can receive alerts.
-
I am Alive mail notification - Mail you today's log at midnight everyday to let you check the daily
log from mail directly and you also can know program is
up and running
-
Register to get free SMS to test
-
Below is alert text example for SMS and Email.
Description +
Host/IP + Port + Timeout Start time
+ End Time
-
2019-08-25 13:59:12 NY MYSQL
Server 192.168.1.1:3306
TCP connect 5 timeout from
2019-08-25 13:57:56 to 2019-08-25
13:59:12
-
2019-08-25 14:01:18 Back to
normal for
NY MYSQL Server 192.168.1.1:3306
|
|