How to use dial-up line when working with IPNetwork alerts? I want to check Internet connectivity problems.
Q: Is there any way to connect over a typical modem to get an alert out in case internet connectivity is lost?
A: The IPNetwork itself can not establish modem connection, but you can use an “Execute program” alert to invoke the external script which would connect over modem, send email and disconnect. To check Internet connection you would need to create a monitor for any external host (for example HTTP monitor that say check the google.com) and configure IPNetwork to use new alert if this monitor goes down.
The script may be a simple command file with the following commands:
-------------- rasdial.exe "Your modem connection" c:\Program Files\IPNetwork Monitor\sendemail.exe -t admin@mycompany.com -s "The internet connectivity is lost" rasdial.exe "Your modem connection" /disconnect --------------
See more details on the rasdial.exe utility at Microsoft site.
See more details on the “Execute program” alert at Help: Alerting and Actions.
The sendemail.exe utility sends email using IPNetwork email settings. Contact us to download it and unpack into IPNetwork Monitor installation directory.
The utility accepts the following options:
-t To: email address
-a Cc: email address
-s Email Subject:
-c Email body
Related topics
How to monitor network devices with dynamic IPs?
Check out our Knowledge Base where we answer questions regarding various topics. No. Use an Execute program alert to run an external script that connects the modem, sends the notification, and disconnects afterward. Create a monitor for an external host or service, such as an HTTP monitor, and configure the modem alert to run when that monitor goes Down. rasdial.exe can connect to the named modem connection and can disconnect it after the alert email has been sent.
Frequently Asked Questions
Can IPNetwork Monitor establish a modem connection by itself?
How can Internet connectivity loss trigger the modem script?
Which Windows utility can start and stop the dial-up connection?