How to inquire WAN Status on TL-R600VPN programatically

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

How to inquire WAN Status on TL-R600VPN programatically

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
How to inquire WAN Status on TL-R600VPN programatically
How to inquire WAN Status on TL-R600VPN programatically
2020-05-30 04:40:45 - last edited 2021-04-18 10:42:09
Model: TL-R600VPN  
Hardware Version: V4
Firmware Version: 4.0.3 Build 20190227 Rel.48206

How can I find the status of the two WANs connected using a script?  I need to do it from a script to monitor their status, and send alerts if any is down.

 

  0      
  0      
#1
Options
2 Reply
Re:How to inquire WAN Status on TL-R600VPN programatically
2020-06-11 10:00:04 - last edited 2021-04-18 10:42:09

@double_teepee 

 

It seems that has not method to get the WAN status through a script. Maybe has system log related to WAN status. And it supports syslog protocol to collect system log.

  0  
  0  
#2
Options
Re:How to inquire WAN Status on TL-R600VPN programatically
2020-11-13 15:04:22 - last edited 2021-04-18 10:42:09

@Andone I will confess that I would love, in general terms, to get more information on the various syslog configurations that might be possible - as this would be a good option to use.

 

However - there should be two easier options.

 

1.  Provided that you can, programatically, obtain the WAN IP address - you could simply have your script ping the interface.  If the link is down, the interface will go down, and a ping will FAIL.

 

Additionally I am sure there are many number of pre-written pieces of code out there which can be fed a list of IP addresses and email you upon failure.

 

2.  The second is a little more complex to set up, as you may require some supporting code on the system running the monitor scripts.  This is to use SNMP to poll the interface status, and then report back to you when it goes DOWN.  SNMP is a UDP protocol primarily, which will be helpful to you in that programatically you get an UP/DOWN response back, not an error timeout which would occur through other methods.

 

These TP-Link devices are sold within their business/corporate line of devices so should support all standard methods of network management.  This is certainly the case for the pair of TP-LINK T1600G switches I own, which are several generations older than the R600.

 

I'm personally about to plunge for an R605vpn router now they're available.  Hopefully they've not dropped all the nice to have features just to go with the 'common denominator' option of the Omada SDN software.  I love the software, but I also want hardware which plays nice with other devices and software - such as logging to an ELK stack for example.

  0  
  0  
#3
Options

Information

Helpful: 0

Views: 837

Replies: 2

Related Articles